Reference Guide

Border Gateway Protocol IPv4 (BGPv4) | 381
Example 2
Figure 12-17. Command Example: show ip bgp neighbors advertised-routes
Example 3
Figure 12-18. Command Example: show ip bgp neighbors received-routes
Example 4
Figure 12-19. Command Example: show ip bgp neighbors denied-routes
>show ip bgp neighbors 192.14.1.5 advertised-routes
BGP table version is 74103, local router ID is 33.33.33.33
Status codes: s suppressed, S stale, d damped, h history, * valid, > best
Path source: I - internal, a - aggregate, c - confed-external, r - redistributed,
n - network
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*>r 1.10.1.0/24 0.0.0.0 5000 32768 ?
*>r 1.11.0.0/16 0.0.0.0 5000 32768 ?
.....
.....
*>I 223.94.249.0/24 223.100.4.249 0 100 0 ?
*>I 223.94.250.0/24 223.100.4.250 0 100 0 ?
*>I 223.100.0.0/16 223.100.255.254 0 100 0 ?
Total number of prefixes: 74102
#show ip bgp neighbors 100.10.10.2 received-routes
BGP table version is 13, local router ID is 120.10.10.1
Status codes: s suppressed, S stale, d damped, h history, * valid, > best
Path source: I - internal, a - aggregate, c - confed-external, r - redistributed
n - network, D - denied, S - stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
D 70.70.21.0/24 100.10.10.2 0 0 100 200 ?
D 70.70.22.0/24 100.10.10.2 0 0 100 200 ?
D 70.70.23.0/24 100.10.10.2 0 0 100 200 ?
D 70.70.24.0/24 100.10.10.2 0 0 100 200 ?
*> 70.70.25.0/24 100.10.10.2 0 0 100 200 ?
*> 70.70.26.0/24 100.10.10.2 0 0 0 100 200 ?
*> 70.70.27.0/24 100.10.10.2 0 0 0 100 200 ?
*> 70.70.28.0/24 100.10.10.2 0 0 0 100 200 ?
*> 70.70.29.0/24 100.10.10.2 0 0 0 100 200 ?
#
Table 12-9. Command Example fields: show ip bgp neighbors
Lines beginning with Description
BGP neighbor Displays the BGP neighbor address and its AS number. The last
phrase in the line indicates whether the link between the BGP router
and its neighbor is an external or internal one. If they are located in the
same AS, then the link is internal; otherwise the link is external.
BGP version Displays the BGP version (always version 4) and the remote router
ID.
#show ip bgp neighbors 100.10.10.2 denied-routes
4 denied paths using 205 bytes of memory
BGP table version is 34, local router ID is 100.10.10.2
Status codes: s suppressed, S stale, d damped, h history, * valid, > best
Path source: I - internal, a - aggregate, c - confed-external, r - redistributed
n - network, D - denied, S - stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
D 70.70.21.0/24 100.10.10.2 0 0 100 200 ?
D 70.70.22.0/24 100.10.10.2 0 0 100 200 ?
D 70.70.23.0/24 100.10.10.2 0 0 100 200 ?
D 70.70.24.0/24 100.10.10.2 0 0 100 200 ?
#