reset bgp flapping-count

Function

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

Format

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

reset bgp labeled ipv4-address flapping-count

Parameters

Parameter Description Value
vpn-instance vpn-instance-name

Specifies the name of VPN instance enabled with an IPv4 address family.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string.

ipv4-family ipv4-address

Specifies the IPv4 address of a BGP peer.

It is in dotted decimal notation.

flapping-count

Specifies the neighbor flapping count.

-

labeled

Resets BGP IPv4 connections in the labeled-unicast address family view.

-

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp execute

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 device to re-collect the flapping statistics of a peer to 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.

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.

Example

# Clear the flapping count of a specified BGP peer.
<HUAWEI> reset bgp 10.1.1.1 flapping-count
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >