< Home

reset bgp flapping-count

Function

The reset bgp flapping-count command clears the flapping count of a specified BGP peer.

Format

reset bgp [ vpn-instance vpn-instance-name ipv4-family ] ipv4-address flapping-count

reset bgp { ipv6 | vpn-instance vpn-instance-name ipv6-family } ipv6-address flapping-count

Parameters

Parameter Description Value
vpn-instance vpn-instance-name

Specifies the name of a 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 address of a BGP IPv4 peer.

It is in dotted decimal notation.

ipv6

Clears the flapping count of the specified BGP IPv6 peer.

-

ipv6-family

Indicates an IPv6 unicast address family.

-

ipv6-address

Specifies the address of a BGP IPv6 peer.

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

Views

User view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

BGP peer flapping affects the stability of a BGP network and BGP route convergence.

The reset bgp flapping-count command can be used to clear the flapping account of a BGP peer. This allows the router to re-collect the flapping statistics of a peer to locate BGP network problems.

Follow-up Procedure

After the reset bgp flapping-count command is used to clear the statistics count of a specified BGP peer, run the display bgp peer command to display the flapping count of BGP peers and locate BGP network problems.

Configuration Impact

After the reset bgp flapping-count command is run, the flapping statistics of BGP peers are reset and cannot be displayed.

Example

# Clear the flapping count of the specified BGP peer.

<sysname> reset bgp 10.116.10.2 flapping-count
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >