< Home

display mpls l2vpn forwarding-info

Function

The display mpls l2vpn forwarding-info command displays MPLS L2VPN forwarding information.

Format

display mpls l2vpn forwarding-info [ vc-label ] interface interface-type interface-number

Parameters

Parameter Description Value
vc-label Specifies L2VPN VC label. The value is a decimal integer that ranges from 16 to 1048575.
interface interface-type interface-number Specifies the type and number of the interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.
-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display mpls l2vpn forwarding-info command displays:

  • Private network data carrying the specified label is forwarded from which tunnel.

  • Whether the data supports the connectivity verification.

  • Whether the data carry the control word.

Example

# Display MPLS L2VPN forwarding information.

<HUAWEI> display mpls l2vpn forwarding-info interface vlanif 10
 The Main PW Forward Information :
VCLABEL TNLTYPE        ENTRYTYPE PWSTATE  BFDSTATE ADMIN CTLWORD CC CV TNLID
------------------------------------------------------------------------------
35841   LSP            SEND      ACTIVE   UP       UP    FALSE   2  a  0x1
   1   Record(s) Found.

 The Second PW Forward Information :
VCLABEL TNLTYPE        ENTRYTYPE PWSTATE  BFDSTATE ADMIN CTLWORD CC CV TNLID
------------------------------------------------------------------------------
   0   Record(s) Found.
Table 1 Description of the display mpls l2vpn forwarding-info interface command output

Item

Description

The Main PW Forward Information :

Forwarding information about the primary PW.

VCLABEL

Label of the VC bound to the interface.

TNLTYPE

Types of public network tunnels used by the VC such as LSP and CR-LSP.

ENTRYTYPE

Type of forwarding entries:

  • SEND: forwarding entries of L2VPN except CCC

  • CCC_SEND: forwarding entries of the CCC remote connection

  • LOCAL: forwarding entries of the local connection

  • INVALID: invalid forwarding entries

PWSTATE

PW state used for guiding packet forwarding: active or inactive. The primary PW and the secondary PW are mutually exclusive and both cannot be in the active state simultaneously.

BFDSTATE

BFD state used for guiding packet forwarding. If BFD is not configured, this flag bit is Up by default. If BFD is configured and the BFD session is Down (not Admin Down), this flag bit is Down and packets cannot be forwarded.

ADMIN

Whether the primary or secondary PW fault is configured manually:
  • Up: indicates that the primary or secondary PW fault is not configured manually.
  • Down: indicates that the primary or secondary PW fault is configured manually.

CTLWORD

Whether the control word is enabled on the local end:
  • FALSE: indicates that the control word is disabled.
  • TRUE: indicates that the control word is enabled.

CC

Connection channel of the VCCV: Control word Label alert.

CV

Connectivity verification.

TNLID

ID of the public tunnel used by the VC, which is a hexadecimal integer.

Record (s) Found

Number of VC forwarding entries on the local interface.

The Second PW Forward Information :

Forwarding information about the secondary PW.

# Display MPLS L2VPN forwarding information with VC label as 35842.

<HUAWEI> display mpls l2vpn forwarding-info 35842 interface vlanif 10
 The Main PW Forward Information :
VCLABEL TNLTYPE        ENTRYTYPE PWSTATE  BFDSTATE ADMIN CTLWORD CC CV TNLID
------------------------------------------------------------------------------
35842   LSP            SEND      ACTIVE   UP       UP    FALSE   0  0  0x1
   1   Record(s) Found.

 The Second PW Forward Information :
VCLABEL TNLTYPE        ENTRYTYPE PWSTATE  BFDSTATE ADMIN CTLWORD CC CV TNLID
------------------------------------------------------------------------------
   0   Record(s) Found.
                    
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >