The display bgp instance vpnv4 all routing-table time-range command displays information about BGP VPNv4 routes.
Parameter | Description | Value |
---|---|---|
all |
Displays all BGP VPNv4 routes. |
- |
peer ipv4-address |
Specify an IPv4 peer address. |
It is in dotted decimal notation. |
received-routes |
Displays the routes learned from a specified peer. |
- |
advertised-routes |
Displays the routes advertised to a specified peer. |
- |
time-range start-time |
Displays BGP VPNv4 routes that flap within the specified period. Starting time (<0-10000>d<0-23>h<0-59>m<0-59>s). |
The value is an integer ranging from 0 to 4294967295. |
time-range end-time |
Displays BGP VPNv4 routes that flap within the specified period. Ending time (<0-10000>d<0-23>h<0-59>m<0-59>s). |
The value is an integer ranging from 0 to 4294967295. |
instance instance-name |
Specifies a BGP multi-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. |
route-distinguisher route-distinguisher |
Displays BGP routes of the specified Route Distinguisher (RD). |
The RD formats are divided into the following types:
|
label |
Labeled route information. |
- |
Usage Scenario
The display bgp instance vpnv4 all routing-table time-range command displays information about BGP VPNv4 routes.
If service traffic is abnormal or CPU usage of the device remains high within a period, you can run this command to check whether route flapping occurs within the specified period. The faulty route can be viewed in the command output, facilitating fault location.The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp instance aaa vpnv4 all routing-table time-range 0d0h5m0s 0d8h0m3s
BGP Local router ID is 192.168.1.1
Status codes: * - valid, > - best, d - damped, x - best external, a - add path,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Route Distinguisher: 4:4
Network NextHop Peer Duration Path/Ogn
*> 2.2.2.0/24 0.0.0.0 0.0.0.0 0d06h17m08s ?
*> 7.7.7.7/32 0.0.0.0 0.0.0.0 0d06h17m08s ?
VPN-Instance vrf4, Router ID 192.168.1.1
:
Network NextHop Peer Duration Path/Ogn
*> 2.2.2.0/24 0.0.0.0 0.0.0.0 0d06h17m08s ?
*> 7.7.7.7/32 0.0.0.0 0.0.0.0 0d06h17m08s ?
Item | Description |
---|---|
BGP Local router ID | Router ID of the local device, in the format of an IPv4 address. |
Route Distinguisher | Route distinguisher (RD) of a route. |
Network | Network address in the BGP routing table. |
NextHop | IP address of the reachable next hop. |