reset bgp [ vpn-instance vpn-instance-name ipv4-family ] flap-info ipv4-address [ mask | mask-length ]
reset bgp [ vpn-instance vpn-instance-name ipv4-family ] peerIpv4Addr flap-info
reset bgp [ vpn-instance vpn-instance-name ipv4-family ] flap-info
reset bgp [ vpn-instance vpn-instance-name ipv4-family ] flap-info as-path-filter { as-path-filter-number | as-path-filter-name }
reset bgp [ vpn-instance vpn-instance-name ipv4-family ] flap-info regexp as-path-regexp
reset bgp vpn-instance vpn-instance-name ipv6-family flap-info as-path-filter { as-path-filter-number | as-path-filter-name }
reset bgp vpn-instance vpn-instance-name ipv6-family flap-info regexp as-path-regexp
reset bgp vpnv4 peerIpv4Addr flap-info
reset bgp vpnv4 flap-info
reset bgp vpnv4 flap-info as-path-filter { as-path-filter-number | as-path-filter-name }
reset bgp vpnv4 flap-info regexp as-path-regexp
reset bgp vpnv4 flap-info ipv4-address [ mask | mask-length ]
reset bgp [ vpn-instance vpn-instance-name ] labeled flap-info ipv4-address [ mask | mask-length ]
reset bgp [ vpn-instance vpn-instance-name ] labeled peerIpv4Addr flap-info
reset bgp [ vpn-instance vpn-instance-name ] labeled flap-info
reset bgp [ vpn-instance vpn-instance-name ] labeled flap-info as-path-filter { as-path-filter-number | as-path-filter-name }
reset bgp [ vpn-instance vpn-instance-name ] labeled flap-info regexp as-path-regexp
Parameter | Description | Value |
---|---|---|
vpn-instance vpn-instance-name |
Clears the route flapping information of a specified VPN instance. |
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 family. |
- |
ipv4-address |
Specifies the network address of an IPv4 peer. |
It is in dotted decimal notation. |
mask |
Specifies the network mask that is used to filter the BGP IPv4 routes. If neither of the mask nor 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 that is used to filter the BGP IPv4 routes. If neither of the mask nor mask length is specified, the address is considered as a classful address. |
The value is an integer that ranges from 0 to 32. |
peerIpv4Addr |
Specifies the IPv4 address of a peer. |
The value is an IPv4 address, in dotted decimal notation. |
as-path-filter as-path-filter-number |
Clears route flapping statistics based on a specified AS_Path filter. |
It is an integer that ranges from 1 to 256. |
as-path-filter as-path-filter-name |
Clears route flapping statistics based on a specified AS_Path filter. |
The value is a string of 1 to 51 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
regexp as-path-regexp |
Specifies the AS_Path regular expression. |
The value is a string of 1 to 80 case-sensitive characters, spaces supported. |
ipv6-family |
IPv6 address family. |
- |
vpnv4 |
Clears the route flapping statistics for BGP VPNv4 routes. |
- |
labeled |
Labeled route information. |
- |
Usage Scenario
The process of adding a route to and then deleting the route from a routing table is called route flapping.
When route flapping occurs, the routing protocol sends Update packets to neighbors. The neighbors that receive the Update packets need to recalculate routes and modify its routing table. Therefore, frequent route flapping consumes great bandwidth and CPU resources and even seriously affects network operations. The reset bgp flap-info command is used to clear the flapping information about routes. This allows the device to re-collect statistics about flapping routes and helps to monitor route changes and locate network problems.Prerequisites
You can use display bgp routing-table flap-info command to view the information about BGP route flapping.
If there are a large number of flapping routes, define an AS_Path filter or an AS_Path regular expression to be referenced in the reset bgp flap-info command. The flapping statistics of the routes matching the AS_Path filter or the AS_Path regular expression are then cleared.Configuration Impact
After the reset bgp flap-info command is run, the flapping statistics of routes are reset and cannot be displayed.
Follow-up Procedure
After the flapping statistics of routes are cleared, run the display bgp routing-table flap-info command again to display the flapping statistics about BGP routes in order to locate problems.