Specifications

Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-68
Cisco IOS XR Routing Configuration Guide
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.
Step 12
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.
Step 13
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.
Step 14
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.
Command or Action Purpose