< Home

reset bgp dampening

Function

The reset bgp dampening command clears the route dampening information and releases the suppressed routes.

Format

reset bgp [ vpnv4 | 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 ipv6 dampening [ ipv6-address prefix-length ]

reset bgp multicast dampening [ ipv4-address [ mask | mask-length ] ]

Parameters

Parameter Description Value

vpnv4

Clears BGP routes of Virtual Private Network version 4 (VPNv4).

-

vpn-instance vpn-instance-name

Clears the route dampening information of the specified VPN instance.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

ipv4-family

Indicates an IPv4 unicast address family.

-

ipv4-address

Specifies the IPv4 network address.

It is in dotted decimal notation.

mask | mask-length

Specifies the network mask or the length of the mask. If the mask is not specified, the IPv4 address is processed as a classful address.

The mask is in dotted decimal notation. The value is an integer that ranges from 0 to 32.

ipv6

Clears the route dampening information of the IPv6 routes and releases the suppressed routes.

-

ipv6-address

Specifies the IPv6 network address in which route dampening information is to be cleared.

The address is a 32-digit hexadecimal number in the X:X:X:X:X:X:X:X format.

prefix-length

Specifies the IPv6 prefix length. It is in decimal notation. It specifies the bits of the network address.

The value is an integer that ranges from 0 to 128.

ipv6-family

Indicates an IPv6 unicast address family.

-

multicast

Clears the route dampening information of the Multicast Border Gateway Protocol (MBGP) routes and releases the suppressed routes.

-

Views

User view

Default Level

2: Configuration level

Usage Guidelines

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 BGP 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

The display bgp routing-table dampened command is used to display information about suppressed routes.

Configuration Impact

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 | vpn-instance vpn-instance-name ipv6-family } dampening command, IPv6 route dampening information in the whole BGP routing table is cleared.

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.

Example

# Clear the route dampening information of the network segment 10.1.0.0 and release the suppressed routes.

<sysname> reset bgp dampening 10.1.0.0 255.255.0.0
# Clear the route dampening information to the network segment 2345::0 and release the suppressed routes.
<sysname> reset bgp ipv6 dampening 2345::0 64
# Clear the BGP4+ route dampening information of the IPv6 VPN instance named vpn1.
<sysname> reset bgp vpn-instance vpn1 ipv6-family dampening
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >