Parameter | Description | Value |
---|---|---|
regexp regexpText |
Specifies the AS_Path regular expression. |
The value is a string of 1 to 80 case-sensitive characters, spaces supported. |
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. |
as-path-filter as-path-filter-num |
Clears route flapping statistics based on a specified AS_Path filter. |
It is an integer that ranges from 1 to 256. |
ipv6-address |
Specifies the network address of an IPv6 peer. |
The prefix is in the format of X:X:X:X:X:X:X:X. |
ipv6-mask-length |
Specifies the network mask length that is used to filter the BGP IPv6 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 128. |
vpnv6 |
Clears the route flapping statistics for BGP VPNv6 routes. |
- |
peerIpv4Addr |
Specifies the IPv4 address of a peer. |
The value is an IPv4 address, in dotted decimal notation. |
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 vpnv6 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 vpnv6 all 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 vpnv6 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 vpnv6 all routing-table flap-info command again to display the flapping statistics about BGP routes in order to locate problems.