reset bgp dampening
Use reset bgp dampening to clear BGP route dampening information and release suppressed BGP routes.
Syntax
reset bgp [ instance instance-name ] dampening ipv4 { multicast | [ unicast ] [ vpn-instance vpn-instance-name ] } [ ipv4-address [ mask-length | mask ] ]
reset bgp [ instance instance-name ] dampening ipv6 { multicast | [ unicast ] [ vpn-instance vpn-instance-name ] } [ ipv6-address prefix-length ]
Views
User view
Predefined user roles
network-admin
Parameters
instance instance-name: Specifies a BGP instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify this option, the command clears BGP route dampening information and releases suppressed BGP routes for the default BGP instance.
ipv4: Clears BGP IPv4 route dampening information and release suppressed BGP IPv4 routes.
ipv6: Clears BGP IPv6 route dampening information and release suppressed BGP IPv6 routes.
multicast: Clears BGP multicast route dampening information and release suppressed BGP multicast routes.
unicast: Clears BGP unicast route dampening information and release suppressed BGP unicast routes.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command clears BGP route dampening information for the public network, and releases suppressed BGP routes.
ipv4-address: Specifies an IPv4 destination network address. If you do not specify a network address, this command clears all BGP route dampening information, and releases all suppressed BGP routes.
mask-length: Specifies a mask length in the range of 0 to 32.
mask: Specifies a network mask in dotted decimal notation.
ipv6-address: Specifies an IPv6 destination network address. If you do not specify a network address, this command clears all BGP route dampening information, and releases all suppressed BGP routes.
prefix-length: Specifies a prefix length in the range of 0 to 128.
Usage guidelines
When you execute the reset bgp dampening ipv4 command:
If you specify only the ipv4-address argument, the system ANDs the network address with the mask of a route. If the result matches the network address of the route, the command clears dampening information for the route, and releases the suppressed route.
If you specify the ipv4-address mask or ipv4-address mask-length argument, this command does the following:
Clears dampening information for the route that matches both the specified destination network address and the mask (or mask length).
Releases the suppressed route.
By default, the unicast keyword is used if neither the unicast keyword nor the multicast keyword is specified.
Examples
# Clear dampening information for the BGP IPv4 unicast route to network 20.1.0.0/16 and release the suppressed route.
<Sysname> reset bgp dampening ipv4 20.1.0.0 255.255.0.0
Related commands
dampening
display bgp routing-table dampened