Reference Guide
Border Gateway Protocol IPv4 (BGPv4) | 379
Command
History
show ip bgp neighbors
c e s
Displays routing information exchanged by BGP neighbors.
Syntax
show ip bgp [ipv4 unicast] neighbors [ipv4-neighbor-addr | ipv6-neighbor-addr]
[advertised-routes | dampened-routes | detail | flap-statistics | routes | {received-routes
[network [network-mask]] | {denied-routes [network [network-mask]]}]
Parameters
Table 12-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 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.
ipv4-neighbor-addr |
ipv6-neighbor-addr
(OPTIONAL) Enter the IP address of the neighbor to view only BGP route
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
neighbor’s routes.
routes (OPTIONAL) Enter the keywords routes to view only the neighbor’s 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.
denied-routes
[network
[
network-mask]
(OPTIONAL) Enter the keywords denied-routes followed by either the
network address (in dotted decimal format) or the network mask (in slash prefix
format) to view all information on routes denied via neighbor inbound filters.