Specifications
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-67
Cisco IOS XR Routing Configuration Guide
Step 7
show bgp [ipv4 {unicast | multicast | 
labeled-unicast | all} | ipv6 {unicast | 
multicast | all | labeled-unicast} | all 
{unicast | multicast | all | labeled-unicast} | 
vpnv4 unicast [rd 
rd-address
] | vrf {
vrf-name
 | 
all} [ipv4 {unicast | labeled-unicast} | ipv6 
unicast] | vpnv6 unicast [rd 
rd-address
]] 
flap-statistics regexp 
regular-expression
Example:
RP/0/RP0/CPU0:router# show bgp flap-statistics 
regexp _1$
Displays BGP flap statistics for all paths that match the 
regular expression.
Step 8
show bgp [ipv4 {unicast | multicast | 
labeled-unicast | all} | ipv6 {unicast | 
multicast | all | labeled-unicast} | all 
{unicast | multicast | all | labeled-unicast} | 
vpnv4 unicast [rd 
rd-address
] | vrf {
vrf-name
 | 
all} [ipv4 {unicast | labeled-unicast} | ipv6 
unicast] | vpnv6 unicast [rd 
rd-address
]] 
flap-statistics route-policy 
route-policy-name
Example:
RP/0/RP0/CPU0:router(config)# show bgp 
flap-statistics route-policy policy_A
Displays BGP flap statistics for the specified route policy.
Step 9
show bgp [ipv4 {unicast | multicast | 
labeled-unicast | all} | ipv6 {unicast | 
multicast | all | labeled-unicast} | all 
{unicast | multicast | all | labeled-unicast} | 
vpnv4 unicast [rd 
rd-address
] | vrf {
vrf-name
 | 
all} [ipv4 {unicast | labeled-unicast} | ipv6 
unicast] | vpnv6 unicast [rd 
rd-address
]] 
flap-statistics {
ip-address
 {
mask
 | 
/prefix-length
}} 
Example:
RP/0/RP0/CPU0:router# show bgp flap-statistics 
172.20.1.1
Displays BGP flap for the specified prefix.
Step 10
show bgp [ipv4 {unicast | multicast | 
labeled-unicast | all} | ipv6 {unicast | 
multicast | all | labeled-unicast} | all 
{unicast | multicast | all | labeled-unicast} | 
vpnv4 unicast [rd 
rd-address
] | vrf {
vrf-name
 | 
all} [ipv4 {unicast | labeled-unicast] | ipv6 
unicast] | vpnv6 unicast [rd 
rd-address
]] 
flap-statistics {
ip-address
 [{
mask
 | 
/prefix-length
} [longer-prefixes]]} 
Example:
RP/0/RP0/CPU0:router# show bgp flap-statistics 
172.20.1.1 longer-prefixes
Displays BGP flap statistics for more specific entries for the 
specified IP address.
Command or Action Purpose










