The display bgp routing-table flap-info command displays statistics about BGP route flapping.
display bgp [ vpnv4 vpn-instance vpn-instance-name ] routing-table flap-info [ regular-expression as-regular-expression ]
display bgp [ vpnv4 vpn-instance vpn-instance-name ] routing-table flap-info { as-path-filter { as-path-filter-number | as-path-filter-name } | network-address [ { mask | mask-length } [ longer-match ] ] }
display bgp ipv6 routing-table flap-info [ regular-expression as-regular-expression ]
display bgp ipv6 routing-table flap-info { as-path-filter { as-path-filter-number | as-path-filter-name } | network-address [ prefix-length [ longer-match ] ] }
display bgp vpnv6 vpn-instance vpn-instance-name routing-table flap-info [ regular-expression as-regular-expression ] (supported only by the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H, and S6730-H)
display bgp vpnv6 vpn-instance vpn-instance-name routing-table flap-info { as-path-filter { as-path-filter-number | as-path-filter-name } | network-address [ prefix-length [ longer-match ] ] } (supported only by the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H, and S6730-H)
display bgp vpnv4 { all | route-distinguisher route-distinguisher } routing-table flap-info [ as-path-filter { as-path-filter-number | as-path-filter-name } | ipv4-address [ { mask | mask-length } [ longer-match ] ] ] (supported only by the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H, and S6730-H)
display bgp vpnv4 { all | route-distinguisher route-distinguisher } routing-table flap-info [ regular-expression as-regular-expression ] (supported only by the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H, and S6730-H)
Parameter | Description | Value |
---|---|---|
vpnv4 | Displays statistics about route flapping of a VPNv4 instance. | - |
vpn-instance vpn-instance-name | Specifies the name of a VPN instance. | The value must be an existing VPN instance name. |
regular-expression as-regular-expression | Displays statistics about the flapping routes that match the AS_Path regular expression. | The value is a string of 1 to 80 characters. |
as-path-filter as-path-filter-number | Specifies the number of an AS_Path filter. | It is an integer that ranges from 1 to 256. |
as-path-filter as-path-filter-name | Specifies the name of an AS_Path filter. | The name is a string of 1 to 51 case-sensitive characters without spaces. When double quotation marks are used around the string, spaces are allowed in the string. |
network-address | Specifies the network address related to dampened routes. | - |
mask | Specifies the network mask. | It is in dotted decimal notation. |
mask-length | Specifies the mask length. | The value is an integer that ranges from 0 to 32. |
longer-match | Matches a route with a longer prefix. | - |
prefix-length | Specifies the prefix length. | The value is an integer that ranges from 0 to 128. |
vpnv6 | Displays statistics about route flapping of a VPNv6 instance. | - |
ipv4-address | Displays statistics about the flapping routes that match the IPv4 prefix. | - |
route-distinguisher route-distinguisher | Displays the Route Distinguisher dampened BGP routes. | The RD formats are divided into the following types:
|
You can run the display bgp routing-table flap-info command to check statistics about BGP route flapping.
# Display statistics about BGP route flapping.
<HUAWEI> display bgp routing-table flap-info BGP Local router ID is 10.20.200.201 Status codes: * - valid, > - best, d - damped, h - history, i - internal, s - suppressed, Origin codes: i - IGP, e - EGP, ? - incomplete Total Number of Routes: 7 Network From Flaps Duration Reuse Path/Ogn d 10.1.1.0 10.20.200.200 5 00:00:36 00:40:47 600i *> 10.1.1.0 10.20.200.202 1 00:04:07 100? d 10.1.2.0 10.20.200.200 5 00:00:36 00:40:47 600i *> 10.1.2.0 10.20.200.202 1 00:04:07 100? d 10.1.3.0 10.20.200.200 5 00:00:36 00:40:47 600i d 10.1.4.0 10.20.200.200 5 00:00:36 00:40:47 600i d 10.1.5.0 10.20.200.200 5 00:00:36 00:40:47 600i
Item |
Description |
---|---|
Network |
Network address in the BGP routing table. |
From |
IP address of the peer that receives the routes. |
Flaps |
Total number of times of route flapping. |
Duration |
Total time length of flapping. |
Reuse |
Reuse value. |
Path/Ogn |
AS_Path number and Origin attribute. |
# Display statistics about BGP4+ route flapping.
<HUAWEI> display bgp ipv6 routing-table flap-info
BGP Local router ID is 10.53.53.53
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Total Number of Routes: 3
d Network : FC00:0:0:1:: PrefixLen : 96
From : FC00:0:0:1::1 Flaps : 8
Duration: 00:02:11 Reuse : 00:49:21
Path/Ogn: 100?
d Network : FC00:0:0:2::2 PrefixLen : 128
From : FC00:0:0:1::1 Flaps : 5
Duration: 00:00:18 Reuse : 00:41:06
Path/Ogn: 100?
d Network : FC00:0:0:2::3 PrefixLen : 128
From : FC00:0:0:1::1 Flaps : 5
Duration: 00:00:18 Reuse : 00:41:06
Path/Ogn: 100?