The display mpls lsp asbr command displays on an ASBR information about LSPs created using BGP based on received VPNv4 or VPNv6 routes (excluding LSPs lacking forwarding tokens).
The display mpls lsp protocol bgp command displays information about LSPs created using BGP based on received IPv4 VPN routes (excluding LSPs lacking forwarding tokens).
The display mpls lsp protocol bgp-ipv6 command displays information about LSPs created using BGP based on received IPv6 VPN routes (excluding LSPs lacking forwarding tokens).
display mpls lsp asbr [ nexthop { nexthop-addr | nexthop6-addr } ] [ verbose ]
display mpls lsp protocol bgp [ nexthop { nexthop-addr | nexthop6-addr } ] [ verbose ]
display mpls lsp protocol bgp-ipv6 [ nexthop { nexthop-addr | nexthop6-addr } ] [ verbose ]
display mpls lsp protocol bgp exclude { fec-prefix fec-prefix-length | fec6-prefix fec6-prefix-length } [ lsr-role { egress | ingress | transit } ] [ verbose ]
display mpls lsp protocol bgp include { fec-prefix fec-prefix-length | fec6-prefix fec6-prefix-length } [ lsr-role { egress | ingress | transit } ] [ verbose ]
display mpls lsp protocol bgp [ nexthop { nexthop-addr | nexthop6-addr } ] lsr-role { egress | ingress | transit } [ verbose ]
display mpls lsp protocol bgp-ipv6 exclude { fec-prefix fec-prefix-length | fec6-prefix fec6-prefix-length } [ lsr-role { egress | ingress | transit } ] [ verbose ]
display mpls lsp protocol bgp-ipv6 include { fec-prefix fec-prefix-length | fec6-prefix fec6-prefix-length } [ lsr-role { egress | ingress | transit } ] [ verbose ]
display mpls lsp protocol bgp-ipv6 [ nexthop { nexthop-addr | nexthop6-addr } ] lsr-role { egress | ingress | transit } [ verbose ]
display mpls lsp asbr nexthop { nexthop-addr | nexthop6-addr } lsr-role { egress | ingress | transit } [ verbose ]
Parameter | Description | Value |
---|---|---|
nexthop nexthop-addr |
Specifies the next hop IPv4 address. |
This value is in dotted decimal notation. This address can be displayed using the display mpls lsp verbose command. |
nexthop6-addr |
Specifies the next hop IPv6 address. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
verbose |
Displays detailed information about LSPs. |
- |
asbr |
Displays information about ASBR LSPs. |
- |
bgp-ipv6 |
Displays information about LSPs created using BGP based on received IPv6 VPN routes. |
- |
exclude |
Displays information about LSPs that are not mapped to a specified FEC. |
- |
fec-prefix |
Displays information about LSPs of a specified IPv4 address. |
This value is in dotted decimal notation. This address can be displayed using the display mpls lsp verbose command. |
fec-prefix-length |
Specifies the mask length of the specified IPv4 address. |
The value is an integer ranging from 0 to 32. |
fec6-prefix |
Displays information about LSPs of a specified IPv6 address. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
fec6-prefix-length |
Specifies the length of the IPv6 address prefix. |
The value is an integer ranging from 0 to 128. |
lsr-role |
Displays information about an LSP according to the specified role of the local LSR. |
- |
egress |
Displays information about LSPs with the local LSR as the egress. |
- |
ingress |
Displays information about LSPs with the local LSR as the ingress. |
- |
transit |
Displays information about LSPs with the local LSR as a transit node. |
- |
include |
Displays information about LSPs that are mapped to a specified FEC. |
- |
Usage Scenario
In an inter-AS VPN Option B or Option C scenario, to check information about LSPs created using BGP based on received VPNv4 or VPNv6 routes (excluding LSPs lacking forwarding tokens), run the display mpls lsp asbr command on an ASBR.
In a BGP/MPLS IP VPN or BGP/MPLS IPv6 VPN scenario, to check information about LSPs created using BGP based on received VPN routes (including the incoming/outgoing labels of VPN routes and corresponding VPN instances), run the display mpls lsp protocol bgp command on a PE or ASBR.The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display mpls lsp protocol bgp-ipv6
-------------------------------------------------------------------------------
LSP Information: BGP IPV6 LSP
-------------------------------------------------------------------------------
FEC : 2000::1/128
In Label : 18 Out Label : -----
In Interface : ----- OutInterface : -----
Vrf6 Name : vpna
<HUAWEI> display mpls lsp protocol bgp
-------------------------------------------------------------------------------
LSP Information: BGP LSP
-------------------------------------------------------------------------------
FEC In/Out Label In/Out IF Vrf Name
11.11.11.11/32 17/NULL -/- vpna
Item | Description |
---|---|
LSP Information: | LSP information:
|
FEC | Forwarding equivalence class. Usually, the value is the destination address and mask for an LSP. |
In Label | Value of an incoming label. |
In Interface | Name of an inbound interface. |
Out Label | Value of an outgoing label. |
OutInterface | Name of an outbound interface. |
Vrf6 Name | Name of a virtual IPv6 routing table. |
In/Out Label | Values of the incoming and outgoing labels. |
In/Out IF | Names of the inbound and outbound interfaces. |
Vrf Name | Name of a virtual IPv4 routing table. |