DETAILED STEPS
PurposeCommand or Action
Displays routes with nonnatural network masks (classless
interdomain routing [CIDR]) routes.
show bgp cidr-only
Example:
Step 1
RP/0/RP0/CPU0:router# show bgp cidr-only
Displays routes that match the specified BGP community.
show bgp community community-list [ exact-match ]
Example:
Step 2
RP/0/RP0/CPU0:router# show bgp community 1081:5
exact-match
Displays routes that match the specified autonomous system
path regular expression.
show bgp regexp regular-expression
Example:
Step 3
RP/0/RP0/CPU0:router# show bgp regexp "^3 "
Displays entries in the BGP routing table.show bgp
Example:
Step 4
RP/0/RP0/CPU0:router# show bgp
Displays information about the BGP connection to the
specified neighbor.
show bgp neighbors ip-address [ advertised-routes |
dampened-routes | flap-statistics |
Step 5
performance-statistics | received prefix-filter | routes
]
• The advertised-routes keyword displays all routes
the router advertised to the neighbor.
Example:
• The dampened-routes keyword displays the
dampened routes that are learned from the neighbor.
RP/0/RP0/CPU0:router# show bgp neighbors 10.0.101.1
• The flap-statistics keyword displays flap statistics
of the routes learned from the neighbor.
• The performance-statistics keyword displays
performance statistics relating to work done by the
BGP process for this neighbor.
• The received prefix-filter keyword and argument
display the received prefix list filter.
• The routes keyword displays routes learned from the
neighbor.
Displays all BGP paths in the database.show bgp paths
Example:
Step 6
RP/0/RP0/CPU0:router# show bgp paths
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
81
Implementing BGP
Displaying System and Network Statistics