display mpls l2vc interface

Function

The display mpls l2vc interface command displays information about VPWS connections using the LDP signaling.

Format

display mpls l2vc interface { interface-name | interface-type interface-number }

Parameters

Parameter Description Value
interface interface-type interface-number

Specifies the type and number of an AC interface. If this parameter is specified, information about the VPWS connection on a specified AC interface is displayed. If no AC interface is specified, information about all VPWS connections configured on the local device is displayed.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2vpn read

Usage Guidelines

Usage Scenario

After a VPWS connection is configured or fails, you can use the display mpls l2vc command to view information about the VPWS connection on the device or a specified interface, such as the VC status, AC status, and encapsulation type.

Prerequisites

The basic VPWS function has been configured.

Configuration Impact

If a large number of VPWS connections exist on the device, you are advised to specify interface in the display mpls l2vc command to view specific information about VPWS connections. Otherwise, excess output information may cause the following problems:

  • The displayed information is repeatedly refreshed and the required information cannot be obtained.
  • The system does not respond because of prolonged information traversing and searching.

Example

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

# Display information about primary and secondary PW connections on GE 0/1/1.1.
<HUAWEI> display mpls l2vc interface gigabitethernet 0/1/1.1
*client interface             : GigabitEthernet0/1/1.1 is up
 Administrator PW             : no
 session state                : up
 AC status                    : up 
 VC state                     : up
 Label state                  : 0
 Token state                  : 0
 VC ID                        : 100
 VC type                      : VLAN
 destination                  : 192.168.3.3
 local group ID               : 0         remote group ID      : 0
 local VC label               : 18        remote VC label      : 18
 local AC OAM State           : up
 local PSN OAM State          : up
 local forwarding state       : forwarding
 local status code            : 0x0 (forwarding)
 remote AC OAM State          : up
 remote PSN OAM state         : up
 remote forwarding state      : forwarding
 remote status code           : 0x0 (forwarding)
 ignore standby state         : no
 Dynamic BFD for PW           : enable
 Detect Multipier             : 3
 Min Transit Interval         : 1000
 Min Receive Interval         : 1000
 Dynamic BFD Session          : built
 BFD for PW                   : available
   BFD sessionIndex           : --  BFD state : up
 VCCV State                   : --
 manual fault                 : not set
 active state                 : active
 forwarding entry             : exist
 OAM Protocol                 : --
 OAM Status                   : --
 OAM Fault Type               : --
 PW APS ID                    : --
 PW APS Status                : --
 TTL Value                    : 1
 link state                   : up
 local VC MTU                 : 1500      remote VC MTU        : 1500
 local VCCV                   : alert ttl lsp-ping bfd
 remote VCCV                  : alert ttl lsp-ping bfd
 local control word           : disable   remote control word  : disable
 tunnel policy name           : --
 PW template name             : --
 primary or secondary         : primary
 load balance type            : flow
 Access-port                  : false
 Switchover Flag              : false
 VC tunnel info               : 1 tunnels
    NO.0 TNL type             : ldp, TNL ID : 0x0000000001004c4b43
 create time                  : 0 days, 1 hours, 2 minutes, 56 seconds
 up time                      : 0 days, 1 hours, 1 minutes, 48 seconds
 last change time             : 0 days, 1 hours, 1 minutes, 48 seconds
 VC last up time              : 2012/12/05 02:50:41
 VC total up time             : 0 days, 1 hours, 1 minutes, 48 seconds
 CKey                         : 1
 NKey                         : 1493172332
 L2VPN QoS CIR value          : 3888
 L2VPN QoS PIR value          : 3888
 L2VPN QoS qos-profile name   : --
 PW redundancy mode           : frr
 AdminPw interface            : --
 AdminPw link state           : --
 Forward state                : send active, receive active 
 Diffserv Mode                : uniform
 Service Class                : --
 Color                        : --
 DomainId                     : --
 Domain Name                  : --

*client interface             : GigabitEthernet0/1/1.1 is up
 Administrator PW             : no
 session state                : up
 AC status                    : up 
 VC state                     : up
 Label state                  : 0
 Token state                  : 0
 VC ID                        : 101
 VC type                      : VLAN
 destination                  : 192.168.3.3
 local group ID               : 0         remote group ID      : 0
 local VC label               : 19        remote VC label      : 19
 local AC OAM State           : up
 local PSN OAM State          : up
 local forwarding state       : forwarding
 local status code            : 0x0 (forwarding)
 remote AC OAM State          : up
 remote PSN OAM state         : up
 remote forwarding state      : forwarding
 remote status code           : 0x0 (forwarding)
 ignore standby state         : no
 Dynamic BFD for PW           : enable
 Detect Multipier             : 3
 Min Transit Interval         : 1000
 Min Receive Interval         : 1000
 Dynamic BFD Session          : built
 BFD for PW                   : available
   BFD sessionIndex           : --  BFD state : up
 VCCV State                   : --
 manual fault                 : not set
 active state                 : inactive
 forwarding entry             : exist
 OAM Protocol                 : --
 OAM Status                   : --
 OAM Fault Type               : --
 PW APS ID                    : --
 PW APS Status                : --
 TTL Value                    : 1
 link state                   : up
 local VC MTU                 : 1500      remote VC MTU        : 1500
 local VCCV                   : alert ttl lsp-ping bfd
 remote VCCV                  : alert ttl lsp-ping bfd
 local control word           : disable   remote control word  : disable
 tunnel policy name           : --
 PW template name             : --
 primary or secondary         : secondary
 load balance type            : flow
 Access-port                  : false
 Switchover Flag              : false
 VC tunnel info               : 1 tunnels
    NO.0 TNL type             : ldp, TNL ID : 0x0000000001004c4b43
 create time                  : 0 days, 1 hours, 2 minutes, 56 seconds
 up time                      : 0 days, 1 hours, 1 minutes, 48 seconds
 last change time             : 0 days, 1 hours, 1 minutes, 48 seconds
 VC last up time              : 2012/12/05 02:50:41
 VC total up time             : 0 days, 1 hours, 1 minutes, 48 seconds
 CKey                         : 2
 NKey                         : 1493172332
 L2VPN QoS CIR value          : 3888
 L2VPN QoS PIR value          : 3888
 L2VPN QoS qos-profile name   : --
 PW redundancy mode           : frr
 AdminPw interface            : --
 AdminPw link state           : --
 Forward state                : send inactive, receive inactive 
 Diffserv Mode                : uniform
 Service Class                : --
 Color                        : --
 DomainId                     : --
 Domain Name                  : --

 reroute policy          : delay 30 s, resume 10 s
 reason of last reroute  : Same LDP mapping was received with matching interface parameters
 time of last reroute    : 0 days, 0 hours, 9 minutes, 27 seconds
 delay timer ID          : --           residual time :--
 resume timer ID         : --           residual time :--
 holdoff timer ID        : --           residual time :--
# Display information about VPWS connections on GE 0/1/1.1.
<HUAWEI> display mpls l2vc interface gigabitethernet 0/1/1.1
*client interface             : GigabitEthernet0/1/1.1 is up
 Administrator PW             : no
 session state                : up
 AC status                    : up
 VC state                     : up
 Label state                  : 0
 Token state                  : 0
 VC ID                        : 100
 VC type                      : VLAN
 destination                  : 192.168.3.3
 local group ID               : 0         remote group ID      : 0
 local VC label               : 18        remote VC label      : 18
 local AC OAM State           : up
 local PSN OAM State          : up
 local forwarding state       : forwarding
 local status code            : 0x0 (forwarding)
 remote AC OAM State          : up
 remote PSN OAM state         : up
 remote forwarding state      : forwarding
 remote status code           : 0x0 (forwarding)
 ignore standby state         : no
 Dynamic BFD for PW           : enable
 Detect Multipier             : 3
 Min Transit Interval         : 1000
 Min Receive Interval         : 1000
 Dynamic BFD Session          : built
 BFD for PW                   : available
   BFD sessionIndex           : --  BFD state : up
 VCCV State                   : --
 manual fault                 : not set
 active state                 : active
 forwarding entry             : exist
 OAM Protocol                 : --
 OAM Status                   : --
 OAM Fault Type               : --
 PW APS ID                    : --
 PW APS Status                : --
 TTL Value                    : 1
 link state                   : up
 local VC MTU                 : 1500      remote VC MTU        : 1500
 local VCCV                   : alert ttl lsp-ping bfd
 remote VCCV                  : alert ttl lsp-ping bfd
 local control word           : disable   remote control word  : disable
 tunnel policy name           : --
 PW template name             : --
 primary or secondary         : primary
 load balance type            : flow
 Access-port                  : false
 Switchover Flag              : false
 VC tunnel info               : 1 tunnels
    NO.0 TNL type             : ldp             , TNL ID : 0x0000000001004c4b43
 create time                  : 0 days, 1 hours, 2 minutes, 56 seconds
 up time                      : 0 days, 1 hours, 1 minutes, 48 seconds
 last change time             : 0 days, 1 hours, 1 minutes, 48 seconds
 VC last up time              : 2012/12/05 02:50:41
 VC total up time             : 0 days, 1 hours, 1 minutes, 48 seconds
 CKey                         : 1
 NKey                         : 1493172332
 L2VPN QoS CIR value          : 3888
 L2VPN QoS PIR value          : 3888
 L2VPN QoS qos-profile name   : --
 PW redundancy mode           : frr
 AdminPw interface            : --
 AdminPw link state           : --
 Forward state                : send inactive, receive inactive 
 Diffserv Mode                : uniform
 Service Class                : --
 Color                        : --
 DomainId                     : --
 Domain Name                  : --
Table 1 Description of the display mpls l2vc interface command output
Item Description
up time

How long the VC remains in the Up state. If the PW is in the Down state, this value is 0.

Administrator PW

Whether the PW is an mPW:

  • yes.
  • no.

A PW can be an mPW only if the AC interface is a loopback interface.

PW APS ID

ID of the PW APS instance associated with the local PW.

PW APS Status

PW APS status:

  • LO: Services are locked to the primary PW.
  • SF_P: The secondary or bypass PW becomes faulty.
  • FS: Services are forcibly switched from the primary PW to the secondary or bypass PW.
  • SF: The primary PW becomes faulty.
  • SD_P: Signals degrade on the secondary or bypass PW.
  • SD: Signals degrade on the primary PW.
  • MS: Services are manually switched from the primary PW to the secondary or bypass PW.
  • WTR: The system is waiting to switch traffic back from the secondary or bypass PW to the primary PW.
  • NR: The primary, secondary, or bypass PW is normal.
  • --: The PW APS is not configured or the configuration is not finished.
PW template name

Name of a PW template.

PW redundancy mode

PW redundancy mode:

  • Independent: The PW is in independent mode.
  • frr: The PW is in FRR mode.
  • master: The PW is in master/slave mode.

By default, the PW redundancy mode is FRR.

session state

Status of the LDP session:

  • up.
  • down.
AC status

AC status:

  • up.
  • down.
VC state

VC status:

  • up.
  • down.
VC ID

VC ID. A combination of the VC ID and VC Type uniquely identifies a VC.

VC type

Encapsulation type of the VC.

VC tunnel info

Information about the VC tunnel.

VC last up time

Last time when the VC was Up.

VC total up time

Total duration for the VC being Up.

Label state

Label status:

  • 0: The label can be used.
  • 1: Wait for the SMB to confirm the label status.
  • 2: The label is released.
  • 3: SMB confirming failed.
Token state

Token status:

  • 0: The label can be used.
  • 1: Wait for the SMB to confirm the label status.
  • 2: The label is released.
  • 3: SMB confirming failed.
destination

Destination address.

local VC label

Local VC label.

local group ID

Local group ID.

local AC OAM State

OAM status of the local AC interface:

  • up.
  • down.
local PSN OAM State

Status of the local device on the PSN side:

  • up.
  • down.
local forwarding state

Status of the local forwarding table:

  • forwarding.
  • not forwarding.
local status code

Status code of the local PW:

  • 0x0: The local PW functions as the primary PW and is in the Up state.
  • 0x20: The local PW functions as the secondary PW and is in the Up state.
  • 0x1: The local PW functions as the primary PW and is in the Down state.
  • 0x21: The local PW functions as the secondary PW and is in the Down state.
local VC MTU

MTU of a local VC.

local VCCV

VCCV mode supported by the local end:

  • alert lsp-ping bfd (default): VCCV is implemented by sending LSP ping and BFD packets in label alert mode when the control word function is not enabled.
  • cw alert lsp-ping bfd: VCCV can be implemented by sending LSP ping and BFD packets in label alert or control word mode after the control word function is enabled.
local control word

Whether the control word function is enabled on the local end:

  • disable.
  • enable.
group ID

ID of a group to which the VC belongs. The default value is 0.

remote control word

Whether the control word function is enabled on the remote end:

  • disable.
  • enable.
remote group ID

Remote group ID.

remote AC OAM State

OAM status of the remote AC interface:

  • up.
  • down.
remote forwarding state

Status of the remote forwarding table:

  • forwarding.
  • not forwarding.
remote status code

Status code of the remote PW:

  • 0x0: The remote PW functions as the primary PW and is in the Up state.
  • 0x20: The remote PW functions as the secondary PW and is in the Up state.
  • 0x1: The remote PW functions as the primary PW and is in the Down state.
  • 0x21: The remote PW functions as the secondary PW and is in the Down state.
remote VCCV

VCCV mode supported by the remote end:

  • alert lsp-ping bfd (default): VCCV is implemented by sending LSP ping and BFD packets in label alert mode when the control word function is not enabled.
  • cw alert lsp-ping bfd: VCCV can be implemented by sending LSP ping and BFD packets in label alert or control word mode after the control word function is enabled.
remote VC label

Remote VC label.

remote PSN OAM state

OAM status of the remote PSN interface:

  • up.
  • down.
remote VC MTU

MTU of a remote VC.

OAM Protocol

Link (PW) status monitoring protocol:

  • MPLS-OAM: Multiprotocol Label Switching (MPLS) operation, administration and maintenance (OAM) is used to monitor the link status.
  • TP-OAM: Multiprotocol Label Switching Transport Profile (MPLS-TP) OAM is used to monitor the link status.
  • --: No link monitoring protocol is used to monitor the link status, or the packet receiving function of a configured link monitoring protocol is not enabled.
OAM Status

Link (PW) status detected by the link monitoring protocol:

  • Nondefect: The link status is normal.
  • Defect: The link is faulty.
  • Detect-stop: Link monitoring stops.
  • --: No link monitoring protocol is used to monitor the link status, or the packet receiving function of a configured link monitoring protocol is not enabled.
OAM Fault Type

Type of the link fault detected by the link monitoring protocol:

  • none: No fault is detected.
  • MPLS-TP OAM alarms:
    • dloc: indicates the loss of connection.
    • rdi: indicates a remote defect indication.
    • dmmg: indicates MEG information inconsistency.
    • dmmg: indicates MEP information inconsistency.
    • unp: indicates priority information inconsistency.
    • unphb: indicates PHB information inconsistency.
    • ais: indicates an alarm indication signal.
    • sd1-near: indicates a near-end signal defect.
    • sd1-far: indicates a far-end signal defect.
    • sd2-near: indicates a near-end signal fault.
    • sd2-far: indicates a far-end signal fault.
    • lock: indicates a LOCK alarm.
    • csf: indicates a CSF alarm.
  • MPLS OAM alarms:
    • locv: indicates the loss of connectivity.
    • excess: indicates the receiving of excessive trail termination source identifiers.
    • mismatch: indicates the inconsistency of trail termination source identifiers.
    • mismerge: indicates the incorrect merge of trail termination source identifiers.
    • --: indicates that the PW link monitoring protocol is not configured or the configuration is not finished.
forwarding entry

Whether forwarding entries exist:

  • exist.
  • not exist.
ignore standby state

Whether PW ignores the secondary status of remote:

  • yes.
  • no.
Dynamic BFD for PW

Whether dynamic BFD for PW is enabled. The default value is enabled.

This field is displayed only when dynamic BFD for VPWS is configured.

Dynamic BFD Session

Whether a dynamic BFD session is created:

  • built.
  • not built.

This field is displayed only when dynamic BFD for VPWS is configured.

BFD for PW

Whether BFD is enabled to check PW status:

  • available.
  • unavailable.
BFD sessionIndex

BFD session index.

BFD state

BFD session status:

  • up.
  • down.
  • admin down.
  • invalid State.
Detect Multipier

The local detection multiplier of a BFD session.

Min Transit Interval

Minimum interval at which dynamic BFD packets are sent.

This field is displayed only when dynamic BFD for VPWS is configured.

Min Receive Interval

Minimum interval at which dynamic BFD packets are received.

This field is displayed only when dynamic BFD for VPWS is configured.

VCCV State

Virtual Circuit Connectivity Verification (VCCV) state:

  • up.
  • down.
manual fault

Whether a PW fault is manually simulated:

  • set.
  • not set.
active state

Whether the VC is in the Active state. If a VC is active, the VC can forward packets:

  • active.
  • inactive.
TTL Value

TTL value of the PW. The default value is 1.

link state

Integrative PW status:

  • up.
  • down.

If any of the following status is Down, the PW link state is Down:

  • Service PW status.
  • Status of the mPW associated with service PWs.
  • Status of the BFD session associated with service PWs.
  • PW state code.
  • PW status detected by VCCV check.
  • OAM status.
control word

Whether the control word function is enabled on the local end:

  • disable.
  • enable.
tunnel policy name

Name of a tunnel policy.

primary or secondary

Whether the local status of the VC is primary or secondary.

load balance type

Load balancing mode of LDP VPWS:

  • Flow: The load balancing mode is per-session load balancing.
  • Packet: The load balancing mode is per-packet load balancing.
Access-port

Whether the interface supports the access-port attribute:

  • true: The interface supports the access-port attribute.
  • false: The interface does not support the access-port attribute.
Switchover Flag

Whether to perform a switchover:

  • false.
  • true.
create time

How long the VC has been created.

time of last reroute

The time of last reroute.

last change time

How long the VC status remains unchanged.

CKey

Index of the PW.

NKey

Index of the public tunnel.

L2VPN QoS CIR value

Committed information rate for VPN QoS.

L2VPN QoS PIR value

Peak information rate for VPN QoS.

L2VPN QoS qos-profile name

VPN QoS profile name.

AdminPw interface

AC interface of the mPW to which the current PW is bound. The AC interface must be a loopback interface. This field is displayed only if the PW is not an mPW. If -- is displayed in this field, the PW is not bound to an mPW.

AdminPw link state

Status of the mPW to which the current PW is bound:

  • Up.
  • Down.

This field is displayed only if the PW is not an mPW. If -- is displayed in this field, the PW is not bound to an mPW.

Forward state

PW forwarding status:

  • send inactive: The PW cannot forward service packets.

    This value is displayed when a PW is Down. For specific handling suggestions, see hwPWVcDown.

  • receive inactive: The PW cannot receive service packets.

    This value is displayed when a PW is Down. For specific handling suggestions, see hwPWVcDown.

  • send active: The PW can forward service packets.
  • receive active: The PW can receive service packets.
Diffserv Mode

QoS DiffServ mode for VLL services.

Service Class

QoS service class for VLL services.

Color

QoS color for VLL services.

DomainId

ID of a domain.

Domain Name

Name of a domain.

reroute policy

reroute policy.

delay timer ID

The delay timer ID.

resume timer ID

The resume timer ID.

reason of last reroute

The reason of last reroute.

residual time

Remaining time.

holdoff timer ID

The holdoff timer ID.

client interface

AC interface name.

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