Implementing BGP on Cisco IOS XR Software
How to Implement BGP on CiscoIOS XR Software
RC-124
Cisco IOS XR Routing Configuration Guide
OL-14356-01
DETAILED STEPS
Command or Action Purpose
Step1 show bgp cidr-only
Example:
RP/0/RP0/CPU0:router# show bgp cidr-only
Displays routes with nonnatural network masks (classless
interdomain routing [CIDR]) routes.
Step2 show bgp community community-list [exact-match]
Example:
RP/0/RP0/CPU0:router# show bgp community 1081:5
exact-match
Displays routes that match the specified BGP community.
Step3 show bgp regexp regular-expression
Example:
RP/0/RP0/CPU0:router# show bgp regexp "^3 "
Displays routes that match the specified autonomous
system path regular expression.
Step4 show bgp
Example:
RP/0/RP0/CPU0:router# show bgp
Displays entries in the BGP routing table.
Step5 show bgp neighbors ip-address
[advertised-routes | dampened-routes |
flap-statistics | performance-statistics |
received prefix-filter | routes]
Example:
RP/0/RP0/CPU0:router# show bgp neighbors
10.0.101.1
Displays information about the BGP connection to the
specified neighbor.
The advertised-routes keyword displays all routes the
router advertised to the neighbor.
The dampened-routes keyword displays the dampened
routes that are learned from the neighbor.
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.
Step6 show bgp paths
Example:
RP/0/RP0/CPU0:router# show bgp paths
Displays all BGP paths in the database.