Implementing BGP on Cisco IOS XR Software
How to Implement BGP on CiscoIOS XR Software
RC-70Cisco IOS XR Routing Configuration Guide
OL-14356-01
Step12 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 regexp
regular-expression
Example:
RP/0/RP0/CPU0:router# clear bgp ipv4 unicast
flap-statistics regexp _1$
Clears BGP flap statistics for all paths that match the specified regular expression. Step13 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 route-policy
route-policy-name
Example:
RP/0/RP0/CPU0:router# clear bgp ipv4 unicast
flap-statistics route-policy policy_A
Clears BGP flap statistics for the specified route policy.Step14 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
network/mask-length
Example:
RP/0/RP0/CPU0:router# clear bgp ipv4 unicast
flap-statistics 192.168.40.0/24
Clears BGP flap statistics for the specified network.Step15 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
ip-address/mask-length
Example:
RP/0/RP0/CPU0:router# clear bgp ipv4 unicast
flap-statistics 172.20.1.1
Clears BGP flap statistics for routes received from the specified neighbor.Command or Action Purpose