Cisco Systems OL-14356-01 Network Router User Manual


 
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-69
Cisco IOS XR Routing Configuration Guide
OL-14356-01
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.
Step 11
clear bgp {ipv4 {unicast | multicast |
labeled-unicast | all} | ipv6 {unicast |
multicast | all | labeled-unicast} | all
{unicast | multicast | all | labeled-unicast} |
vpnv4 unicast | vrf {vrf-name | all} {ipv4
{unicast | labeled-unicast} | ipv6 unicast} |
vpnv6 unicast} flap-statistics
Example:
RP/0/RP0/CPU0:router# clear bgp all all
flap-statistics
Clears BGP flap statistics for all routes.
Command or Action Purpose