Specifications
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-69
Cisco IOS XR Routing Configuration Guide
Applying Policy When Updating the Routing Table 
Perform this task to apply a routing policy to routes being installed into the routing table. 
Prerequisites
See the Implementing Routing Policy on Cisco IOS XR Software module of Cisco IOS XR Routing 
Configuration Guide for a list of the supported attributes and operations that are valid for table policy 
filtering.
SUMMARY STEPS
1. configure
2. router bgp as-number 
3. address-family {ipv4 unicast | ipv4 multicast | ipv6 unicast | ipv6 multicast}
Step 15
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.
Step 16
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
]] 
dampened-paths 
Example:
RP/0/RP0/CPU0:router# show bgp dampened paths
Displays the dampened routes, including the time 
remaining before they are unsuppressed.
Step 17
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} dampening 
[
ip-address/mask-length
] 
Example:
RP/0/RP0/CPU0:router# clear bgp dampening
Clears route dampening information and unsuppresses the 
suppressed routes.
Command or Action Purpose










