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
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 ipv4-family | Specifies the name of VPN instance enabled with an IPv4 address family. | The value must be an existing VPN instance name. |
ipv4-address | Specifies the IPv4 address of a BGP peer. | It is in dotted decimal notation. |
ipv6 | Clears the flapping count of a specified BGP IPv6 peer. | - |
vpn-instance vpn-instance-name ipv6-family | Specifies the name of VPN instance enabled with an IPv6 address family. | The value must be an existing VPN instance name. |
ipv6-address | Specifies the IPv6 address of a BGP peer. | The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
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 switch to re-collect the flapping statistics of a peer to locate BGP network problems.
Precautions
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.