Users Guide
show ip bgp
View the current BGP IPv4 routing table for the system.
Syntax
show ip bgp [vrf vrf-name] [ipv4 {unicast | multicast} | ipv6 {unicast}]
[network [network-mask] [longer-prefixes]] [cluster-list cluster-id]
[community community-number] [community-list community-list-name]
[dampened-paths] [extcommunity-list list name] [filter-list as-path-name]
[flap-statistics [ip-address [mask]]] [neighbors [all {received-routes}]
[network[network-mask]]] [next-hop] [paths] [peer-group peer-group-name]
[regexp regular-expression] [summary]
Parameters
ipv4 unicast (OPTIONAL) Enter the keywords ipv4 unicast to view information only related
to ipv4 unicast routes.
ipv4 multicast (OPTIONAL) Enter the keywords ipv4 multicast to view information only
related to ipv4 multicast routes.
ipv6 unicast (OPTIONAL) Enter the keywords ipv6 unicast to view information only related
to ipv6 unicast routes.
network
(OPTIONAL) Enter the network address (in dotted decimal format) of the BGP
network to view information only on that network.
network-mask
(OPTIONAL) Enter the network mask (in slash prefix format) of the BGP network
address.
longer-prefixes (OPTIONAL) Enter the keywords longer-prefixes to view all routes with a
common prefix.
cluster-list
cluster-id
(OPTIONAL) Enter the keyword cluster-list then the cluster-ID to display the
routes matching the cluster.
community
community-
number
(OPTIONAL) Enter the keyword community then the community–number to
display the routes matching the communities.
community-list
community-list-
name
(OPTIONAL) Enter the keyword community-list then the community–list–
name to display the routes matching the community–list.
dampened-paths (OPTIONAL) Enter the keyword dampened-paths to display the paths
suppressed due to dampening.
extcommunity-
list
list name
(OPTIONAL) Enter the keyword extcommunity-list then the list name to
display the routes matching the extended community-list.
filter-list
as-
path-name
(OPTIONAL) Enter the keyword filter-list then the as-path-name to display
the routes conforming to the filter–list.
flap–statistics (OPTIONAL) Enter the keyword flap-statistics to display flap statistics of
the routes.
neighbors (OPTIONAL) Enter the keyword neighbors to display the detailed information on
TCP and BGP neighbor connections.
neighbors [all
{received-
routes}]
(OPTIONAL) Enter the keyword neighbors [all {received-routes}] to
display all the received routes both accepted and rejected from all the IPv4 or IPv6
neighbors.
next-hop (OPTIONAL) Enter the keyword next-hop to view all the next-hop information on
the learnt routes.
paths (OPTIONAL) Enter the keyword paths to view the BGP path attributes in the
BGP database.
peer-group
peer-
group-name
(OPTIONAL) Enter the keyword peer-group then the peer–group–name to view
the information on the BGP peers in a peer group.
regexp
regular-
expression
(OPTIONAL) Enter the keyword regexp then the regular expressions to display
BGP information based on a regular expression.
416 Border Gateway Protocol