The reset bgp dampening command clears BGP route dampening information and releases the suppressed routes.
reset bgp [ vpn-instance vpn-instance-name ipv4-family ] dampening [ ipv4-address [ mask | mask-length ] ]
reset bgp { ipv6 | vpn-instance vpn-instance-name ipv6-family } dampening [ ipv6-address prefix-length ]
reset bgp vpnv4 dampening [ ipv4-address [ mask | mask-length ] ] (supported only by the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H, and S6730-H)
The vpn-instance vpn-instance-name ipv6-family is only supported on S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S.
Parameter | Description | Value |
---|---|---|
vpn-instance vpn-instance-name |
Clears the route dampening information of the specified VPN instance. |
The value must be an existing VPN instance name. |
ipv4-family |
Indicates an IPv4 unicast address family. |
- |
ipv4-address |
Specifies an IPv4 network address. |
It is in dotted decimal notation. |
mask |
Specifies the network mask in dotted decimal notation. If neither of the mask and mask length is specified, the address is considered as a classful address. |
It is in dotted decimal notation. |
mask-length |
Specifies the network mask length. If neither of the mask and mask length is specified, the address is considered as a classful address. |
The value is an integer that ranges from 0 to 32. |
ipv6 |
Clears IPv6 route dampening information and releases the suppressed routes. |
- |
ipv6-family |
Indicates an IPv6 unicast address family. |
- |
ipv6-address |
Specifies the IPv6 network address. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
prefix-length |
Specifies the length of an IPv6 prefix in decimal notation. It specifies the number of bits in the network address. |
The value is an integer that ranges from 0 to 128. |
vpnv4 |
Clears the route dampening information of the BGP VPNv4 routes and releases the suppressed routes. |
- |
Usage Scenario
Route dampening is enabled to solve the problem of route instability. In most situations, BGP is applied to complex networks where routes change frequently. Route dampening is then used to suppress instable routes.
The reset bgp dampening command is used to clear the dampening information about specified routes on the public network and release specified suppressed routes. If no IP address is specified in the command, the dampening information about all the routes on the public network is cleared and all suppressed routes are released.
Prerequisites
You can use display bgp routing-table dampened command to view the information about suppressed routes.
Precautions
After the reset bgp dampening command is run, the suppressed routes are released. If the status of some routes still changes frequently, route flapping may occur. Routing flapping consumes a large number of bandwidth and CPU resources.
When ipv6-address prefix-length is not specified, after you run the reset bgp ipv6 dampening command, IPv6 route dampening information in the whole BGP routing table is cleared.
# Clear the dampening information about routes to network segment 10.1.0.0 and release suppressed routes.
<HUAWEI> reset bgp dampening 10.1.0.0 255.255.0.0
# Clear the dampening information about the IPv6 routes to network segment FC00:0:0:1:: and release suppressed routes.
<HUAWEI> reset bgp ipv6 dampening fc00:0:0:1:: 64
# Clear the dampening information about the routes of IPv6 VPN instance named vpn1.
<HUAWEI> reset bgp vpn-instance vpn1 ipv6-family dampening