< Home

display bgp routing-table flap-info

Function

The display bgp routing-table flap-info command displays information about flapping BGP routes.

Format

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 vpnv4 { all | route-distinguisher route-distinguisher | vpn-instance vpn-instance-name } routing-table flap-info [ regular-expression as-regular-expression ]

display bgp vpnv4 { all | route-distinguisher route-distinguisher | 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 ]

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 ] ] }

display bgp multicast routing-table flap-info [ network-address [ mask [ longer-match ] | mask-length [ longer-match ] ] | as-path-filter { as-path-filter-number | as-path-filter-name } ]

display bgp multicast routing-table flap-info regular-expression as-regular-expression

Parameters

Parameter Description Value
all Displays all the BGP routes flapping of VPNv4. -
route-distinguisher route-distinguisher Displays BGP route flapping information of the specified Route Distinguisher (RD).

The RD formats are divided into the following types:

  • 2-byte AS number:32-bit user-defined number, for example, 101:3. An AS number ranges from 0 to 65535. A user-defined number ranges from 0 to 4294967295. The AS number and user-defined number cannot be both 0s. That is, an RD cannot be 0:0.

  • Integral 4-byte AS number:2-byte user-defined number, for example, 65537:3. An AS number ranges from 65536 to 4294967295. A user-defined number ranges from 0 to 65535. The AS number and user-defined number cannot be both 0s. That is, an RD cannot be 0:0.

  • 4-byte AS number in dotted notation:2-byte user-defined number, for example, 0.0:3 or 0.1:0. A 4-byte AS number in dotted notation is in the format of x.y, where x and y are integers that range from 1 to 65535 and from 0 to 65535, respectively. A user-defined number ranges from 0 to 65535. The AS number and user-defined number cannot be both 0s. That is, an RD cannot be 0:0.

  • 32-bit IP address:16-bit user-defined number, for example, 192.168.122.15:1. An IP address ranges from 0.0.0.0 to 255.255.255.255. A user-defined number ranges from 0 to 65535.

vpn-instance vpn-instance-name Displays the statistics of the route flapping of the specified VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
regular-expression as-regular-expression Displays the statistics of the route flapping that matches the AS_Path regular expression. The value is a string of 1 to 80 characters.
as-path-filter Displays the statistics of the route flapping that matches the specified AS_Path filter. -
as-path-filter-number Specifies the number of the matching AS_Path filter. It is an integer that ranges from 1 to 256.
as-path-filter-name Specifies the name of the matching AS_Path filter. The name is a string of 1 to 51 case-sensitive characters without any spaces.
NOTE:
When double quotation marks are used around the string, spaces are allowed in the string.
network-address Displays the network address related to the dampening information. -
mask Specifies mask in dotted decimal notation. It is in dotted decimal notation.
mask-length Specifies the mask-length. It is an integer ranging from 0 to 32.
longer-match Matches according to the mask longer than the specified length. -
prefix-length Specifies the length of the prefix. It is an integer ranging from 0 to 128.
vpnv6 Displays statistics of BGP route flapping of the Virtual Private Network version 6 (VPNv6). -
multicast

Displays statistics of Multicast BGP (MBGP) route flapping.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None.

Example

# Display the statistics of the BGP route flapping.

<sysname> 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
Table 1 Description of the display bgp routing-table flap command output

Item

Description

Network

Displays the network address in the BGP routing table

From

IP address of the neighbor that receives routes

Flaps

Total number of route flapping

Duration

Total duration since the flapping happens

Reuse

Reuse value

Path/Ogn

AS_Path number and the attributes of Origin

# Display statistics of BGP4+ route flapping.
<sysname> 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 : 1:1:1::                                   PrefixLen : 96
     From    : 1:1:1::1                                  Flaps     : 8
     Duration: 00:02:11                                  Reuse     : 00:49:21
     Path/Ogn: 100?

  d  Network : 2::2                                      PrefixLen : 128
     From    : 1:1:1::1                                  Flaps     : 5
     Duration: 00:00:18                                  Reuse     : 00:41:06
     Path/Ogn: 100?

  d  Network : 2::3                                      PrefixLen : 128
     From    : 1:1:1::1                                  Flaps     : 5
     Duration: 00:00:18                                  Reuse     : 00:41:06
     Path/Ogn: 100?
# Display statistics of the BGP4+ route flapping of VPN instance named vpn1.
<sysname> display bgp vpnv6 vpn-instance vpn1 routing-table flap-info
 
 BGP Local router ID is 10.1.1.9
 Status codes: * - valid, > - best, d - damped,
               h - history,  i - internal, s - suppressed, S - Stale
               Origin : i - IGP, e - EGP, ? - incomplete

 VPN-Instance vpn1, Router ID 10.4.4.4 :

 Total Number of Routes: 1

  d  Network : 1::                                       PrefixLen : 64
     From    : 1::1                                      Flaps     : 4
     Duration: 00:00:29                                  Reuse     : 00:36:01
     Path/Ogn: 200?
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >