The display bgp routing-table label command displays labeled routes in the BGP routing table.
Product |
Support |
---|---|
S5720-EI, S5720-HI, S5730-HI, S5731-S, S5731S-S, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H, and S6730-H |
Supported |
S2720-EI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720-SI, S6720S-SI, S6730-S, and S6730S-S |
Not supported |
display bgp vpnv4 { all | vpn-instance vpn-instance-name } routing-table label include-mask
display bgp routing-table label [ statistics | include-mask ]
display bgp vpnv4 { all | vpn-instance vpn-instance-name } routing-table [ statistics ] label
display bgp vpnv6 { all | vpn-instance vpn-instance-name } routing-table [ statistics ] label
display bgp ipv6 routing-table [ statistics ] label
Parameter | Description | Value |
---|---|---|
include-mask |
Displays labeled routes carrying masks. |
- |
statistics |
Indicates statistics about labeled routes. |
- |
vpnv4 |
Displays VPNv4 labeled routes. |
- |
all |
Displays the labeled routes of all VPN instances. |
- |
vpn-instance vpn-instance-name |
Specifies the name of a VPN instance. |
The value must be an existing VPN instance name. |
ipv6 |
Displays BGP4+ labeled routes. |
- |
vpnv6 |
Displays VPNv6 labeled routes. |
- |
route-distinguisher route-distinguisher |
Displays BGP routes with the specified RD. |
The RD formats are divided into the following types:
|
You can run the display bgp routing-table label command to check labeled routes in the BGP routing table.
# Display BGP labeled routes of all VPN instances.
<HUAWEI> display bgp vpnv4 all routing-table label
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
Total number of routes from all PE: 3
Route Distinguisher: 100:1
Network NextHop In/Out Label
*>i 10.22.22.22 10.3.3.9 NULL/1036
Route Distinguisher: 100:4
Network NextHop In/Out Label
*> 10.1.2.0 10.1.2.1 1037/NULL
*> 10.11.11.11 127.0.0.1 1038/NULL
VPN-Instance vpn1, router ID 1.1.1.9:
Total Number of Routes: 1
Network NextHop In/Out Label
*>i 10.22.22.22 10.3.3.9 NULL/1036
VPN-Instance vpn2, router ID 10.1.1.9:
Total Number of Routes: 0
Item |
Description |
---|---|
Network |
Network address in the BGP routing table. |
NextHop |
IP address of the reachable next hop. |
In/Out Label |
Incoming label and outgoing label. |
<HUAWEI> display bgp ipv6 routing-table label
Total Number of Routes: 3
Network Prefix NextHop Label
FC00:0:0:1::4 128 FC00:0:0:2::2 1024
FC00:0:0:1::5 128 FC00:0:0:2::2 1025
FC00:0:0:1::6 128 FC00:0:0:2::2 1026
Item |
Description |
---|---|
Prefix |
IP prefix. |