display mpls label-stack

Function

The display mpls label-stack vpn-instance command displays information about L3VPN label stacks.

The display mpls label-stack bgp-lsp command displays information about BGP LSP label stacks.

Format

display mpls label-stack vpn-instance vpn-instance-name ip-address

display mpls label-stack bgp-lsp ip-address

Parameters

Parameter Description Value
vpn-instance-name

Specifies the name of a VPN instance.

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.

ip-address

Specifies a private IPv4 address.

The value is in dotted decimal notation.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l3vpn read

Usage Guidelines

Usage Scenario

In a non-inter-AS L3VPN scenario, the display mpls label-stack vpn-instance command allows you to query label stack information on PEs based on VPN instance names and private IP addresses.

In a non-inter-AS L3VPN scenario, the display mpls label-stack bgp-lsp command can be used to query outgoing label stack information on a PE based on the destination address of a BGP LSP.

Precautions

For two-layer tunnel recursion, the query is supported only in L3VPN over LDP/TE scenarios, but is not supported in L3VPN over BGP LSP scenarios.

For three-layer tunnel recursion, the query is supported only in L3VPN over BGP LSP over LDP/TE scenarios, but is not supported in L3VPN over BGP LSP over LDP/TE FRR scenarios.

For four-layer tunnel recursion, the query is not supported in L3VPN over BGP LSP over LDP over TE scenarios.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display label stack information about the VPN instance named vpna.
<HUAWEI> display mpls label-stack vpn-instance vpna 192.168.1.1
Label-stack  : 1
Level        : 1
Type         : VPN
Label        : 1033
Level        : 2
Type         : LDP
Label        : 1041
OutInterface : GigabitEthernet0/1/0
# Display label stack information about the BGP LSP.
<HUAWEI> display mpls label-stack bgp-lsp 10.1.1.1
Label-stack  : 1
Level        : 1
Type         : BGP
Label        : 48061
Level        : 2
Type         : LDP
Label        : --
OutInterface : GigabitEthernet0/1/0

Label-stack  : 2
Level        : 1
Type         : BGP
Label        : 48061
Level        : 2
Type         : LDP
Label        : --
OutInterface : GigabitEthernet0/1/8

Label-stack  : 3
Level        : 1
Type         : BGP
Label        : 48061
Level        : 2
Type         : LDP
Label        : --
OutInterface : GigabitEthernet0/1/16

Label-stack  : 4
Level        : 1
Type         : BGP
Label        : 48061
Level        : 2
Type         : LDP
Label        : --
OutInterface : GigabitEthernet0/1/24
Table 1 Description of the display mpls label-stack command output
Item Description
Label-stack

Number of label stacks.

Level

Layers of a label stack.

Type

Tunnel type.

Label

Outgoing label value.

OutInterface

Outbound interface.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >