display mpls label-stack evpn

Function

The display mpls label-stack evpn command displays information about EVPN label stacks.

Format

display mpls label-stack evpn vpn-instance evpnName mac-route prefix

Parameters

Parameter Description Value
mac-route prefix

Specifies the prefix of an EVPN route.

MAC advertisement route. The value is in the format of E:M:H-H-H:L:X.X.X.X or E:M:H-H-H:L: [X:X::X:X], where:

  • E indicates the ID of the VLAN to which the MAC address belongs.
  • M is fixed at 48, indicating the length of the MAC address.
  • H-H-H indicates the MAC address. The value is a 12-digit hexadecimal number, in the format of H-H-H. Each H is 4 digits. If an H contains fewer than 4 digits, the left-most digits are padded with zeros.
  • L is fixed at 0, indicating the mask length of the IP address corresponding to the MAC address.
  • X.X.X.X indicates the IP address corresponding to the MAC address. Currently, this part can only be displayed as 0.0.0.0.
  • X:X::X:X indicates the IPv6 address corresponding to the MAC address.
vpn-instance evpnName

Specifies the name of an EVPN instance.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the EVPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

To check label stack information after configuring VPLS EVPN, run the display mpls label-stack evpn command. Label stack information helps you view VPLS EVPN forwarding information.

If multiple MAC routes with the same prefix are configured, the label stack displays the label information of all MAC routes.

Example

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

# Display label stack information about the EVPN instance named evpna.
<HUAWEI> display mpls label-stack evpn vpn-instance evpna mac-route 0:48:00e0:fc12:3456:0:0.0.0.0
Label-stack  : 1
Level        : 1
Type         : EVPN
Label        : 48065
Level        : 2
Type         : BGP
Label        : 48063
Level        : 3
Type         : LDP
Label        : --
OutInterface : GigabitEthernet0/1/0
Table 1 Description of the display mpls label-stack evpn command output
Item Description
mac-route

MAC route.

Label-stack

Number of label stacks.

Level

Number of labels:

  • 1: private network label.
  • 2: BGP label.
  • 3: public network label.

BGP labels are supported only in seamless MPLS networking.

Type

PW type or public network tunnel type:

  • EVPN: PW type is EVPN.
  • LDP: The public network tunnel type is LDP.
  • TE: The public network tunnel is a TE tunnel.
  • BGP: The public network tunnel type is BGP LSP.
Label

Outgoing label value.

-- indicates label value 3, and 4294967295 indicates that no label is allocated.

OutInterface

Outbound interface.

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