Configuration Guide Vol. 3


13.6.7 Checking BGP4 advertised route generation

<Structure of this section>

(1) List of operation commands

The following tables list the operation commands for generating BGP4 advertised routes.

Table 13-31: List of operation commands

Command name

Description

show ip bgp

Shows information related to the BGP4 protocol.

show ip route

Displays routing information stored in the routing table.

(2) Checking BGP4 advertised routes

(a) Displaying generated advertised routes

To display generated BGP4 advertised routes, use the show ip bgp operation command. In the following example, 173.16/16 and 192.169.10/24 are generated BGP4 advertised routes.

Figure 13-45: Result of executing show ip bgp command
> show ip bgp
Date 20XX/10/20 22:43:26 UTC
Local AS: 65531, Local Router ID: 192.168.1.100
Status Codes: d dampened, * valid, > active, S Stale, r RIB failure
Origin Codes: i - IGP, e - EGP, ? - incomplete
   Network             Next Hop        MED    LocalPref Weight Path
*  173.16/16           ----            -      100       0      i
*  192.169.10/24       ----            -      100       0      i

(b) Displaying advertised routes

To check whether a generated BGP4 advertised route has been advertised, use the show ip bgp operation command with the advertised-routes parameter specified.

Figure 13-46: Result of executing show ip bgp command (specifying advertised-routes parameter)
> show ip bgp advertised-routes 173.16/16
Date 20XX/10/20 22:44:54 UTC
BGP Peer: 172.16.2.2    , Remote AS: 65532
Local AS: 65531, Local Router ID: 192.168.1.100
Status Codes: d dampened, * valid, > active, S Stale, r RIB failure
Route 173.16/16
*  Next Hop ----
     MED: -, LocalPref: -, Type: Internal route 
     Origin: IGP
     Path: 65531
     Next Hop Attribute: 172.16.2.1 
 
> show ip bgp advertised-routes 192.169.10/24
Date 20XX/10/18 22:44:58 UTC
BGP Peer: 172.16.2.2     , Remote AS: 65532
Local AS: 65531, Local Router ID: 192.168.1.100
Status Codes: d dampened, * valid, > active, S Stale, r RIB failure
Route 192.169.10/24
*  Next Hop ----
     MED: -, LocalPref: -, Type: Internal route 
     Origin: IGP
     Path: 65531
     Next Hop Attribute: 172.16.2.1