Reference Guide

Border Gateway Protocol | 345
Command
History
show ip bgp neighbors
c e s z
Enables you to view the information exchanged by BGP neighbors.
Syntax
show ip bgp [ipv4 unicast] neighbors [ip-address [advertised-routes | dampened-routes | detail
| flap-statistics | routes | {received-routes [network [network-mask]]} | {denied-routes
[network [network-mask]]}]
Parameters
Table 8-8. show ip bgp inconsistent-as Command Example Fields
Fields Description
Network Displays the destination network prefix of each BGP route.
Next Hop Displays the next hop address of the BGP router.
If 0.0.0.0 is listed in this column, then local routes exist in the routing
table.
Metric Displays the BGP route’s metric, if assigned.
LocPrf Displays the BGP LOCAL_PREF attribute for the route.
Weight Displays the route’s weight
Path Lists all the ASs the route passed through to reach the destination network.
Version 8.3.11.1 Introduced on the Z9000.
Version 7.8.1.0 Introduced support on S-Series
Version 7.7.1.0 Introduced support on C-Series
ipv4 unicast
(OPTIONAL) Enter the
ipv4 unicast keywords to view information only
related to ipv4 unicast routes.
ip-address
(OPTIONAL) Enter the IP address of the neighbor to view only BGP information
exchanged with that neighbor.
advertised-routes (OPTIONAL) Enter the keywords advertised-routes to view only the routes
the neighbor sent.
dampened-routes (OPTIONAL) Enter the keyword dampened-routes to view information on
dampened routes from the BGP neighbor.
detail (OPTIONAL) Enter the keyword detail to view neighbor-specific internal
information for the IPv4 Unicast address family.
flap-statistics (OPTIONAL) Enter the keyword flap-statistics to view flap statistics on the
neighbors routes.
routes (OPTIONAL) Enter the keywords routes to view only the neighbors feasible
routes.
received-routes
[network
[
network-mask]
(OPTIONAL) Enter the keywords received-routes followed by either the
network address (in dotted decimal format) or the network mask (in slash prefix
format) to view all information received from neighbors.
Note: neighbor soft-reconfiguration inbound must be configured prior to viewing
all the information received from the neighbors.