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 [ as-path-filter { as-path-filter-number | as-path-filter-name } | regular-expression as-regular-expression | ipv4-address [ { mask | mask-length } [ longer-match ] ] ]
display bgp labeled routing-table flap-info [ as-path-filter { as-path-filter-number | as-path-filter-name } | regular-expression as-regular-expression | ipv4-address [ { mask | mask-length } [ longer-match ] ] ]
display bgp vpnv6 vpn-instance vpn-instance-name routing-table flap-info [ as-path-filter { as-path-filter-number | as-path-filter-name } | regular-expression as-regular-expression | ipv6-address [ prefix-length [ longer-match ] ] ]
display bgp vpnv4 { all | route-distinguisher route-distinguisher } routing-table flap-info [ as-path-filter { as-path-filter-number | as-path-filter-name } | regular-expression as-regular-expression | ipv4-address [ { mask | mask-length } [ longer-match ] ] ]
display bgp instance instance-name [ vpnv4 vpn-instance vpn-instance-name ] routing-table flap-info [ as-path-filter { as-path-filter-number | as-path-filter-name } | regular-expression as-regular-expression | ipv4-address [ { mask | mask-length } [ longer-match ] ] ]
display bgp labeled vpn-instance vpn-instance-name routing-table flap-info [ as-path-filter { as-path-filter-number | as-path-filter-name } | regular-expression as-regular-expression | ipv4-address [ { mask | mask-length } [ longer-match ] ] ]
Parameter | Description | Value |
---|---|---|
vpnv4 |
Indicates the VPNv4 address family. |
- |
vpn-instance vpn-instance-name |
Specifies a VPN instance name. |
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. |
as-path-filter as-path-filter-name |
Specifies an AS_Path filter name (a string of 1 to 51 characters, which cannot contain only digits.). |
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-number |
Specifies an AS_Path filter index. |
The value is an integer ranging from 1 to 256. |
regular-expression as-regular-expression |
Displays the routes that match the regular expression. |
The value is a string of 1 to 80 characters. |
ipv4-address |
Specifies an IPv4 network address. |
The value is in dotted decimal notation. |
mask |
Specifies an IPv4 network mask. |
The value is in dotted decimal notation. |
mask-length |
Specifies a length of an IP address mask. |
The value is an integer ranging from 0 to 32. |
longer-match |
Allows longer prefix match. |
- |
labeled |
Specifies the labeled-unicast address family. |
- |
vpnv6 |
Indicates the VPNv6 address family. |
- |
ipv6-address |
Specifies an IPv6 network address. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
prefix-length |
Specifies an IPv6 network prefix length. |
The value is an integer that ranges from 0 to 128. |
all |
Displays all information on VPNv6 and IPv6 VPN instances. |
- |
route-distinguisher route-distinguisher |
Specifies an RD of a remote route. |
The value is a string of 3 to 21 case-sensitive characters, spaces not supported. |
instance instance-name |
Specifies a BGP multi-instance name. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp routing-table flap-info
BGP Local router ID is 10.20.200.201
Status codes: * - valid, > - best, d - damped, x - best external, a - add path,
h - history, i - internal, s - suppressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V - valid, I - invalid, N - not-found
Total Number of Routes: 5
Network From Flaps Duration Reuse Path/Ogn
d 172.16.1.0 10.20.200.200 5 00:00:36 00:40:47 600i
d 172.16.2.0 10.20.200.200 5 00:00:36 00:40:47 600i
d 172.16.3.0 10.20.200.200 5 00:00:36 00:40:47 600i
d 172.16.4.0 10.20.200.200 5 00:00:36 00:40:47 600i
d 172.16.5.0 10.20.200.200 5 00:00:36 00:40:47 600i
Item | Description |
---|---|
BGP Local router ID | ID of the local BGP device, in the same format as an IPv4 address. |
Total Number of Routes | Number of flapping routes. |
Network | Network address in the BGP routing table. |
From | IP address of the peer that receives routes. |
Flaps | Total number of times of route flapping. |
Duration | Duration that the flapping lasts. |
Reuse | Reuse value. |
Path/Ogn | AS_Path and Origin. |