display mpls l2vc

Function

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

Format

display mpls l2vc [ vc-id | state { up | down } ]

Parameters

Parameter Description Value
vc-id

Specifies a 32-bit virtual circuit (VC) ID that is locally unique.

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

The value is an integer ranging from 1 to 4294967295.

state

Displays the status of VCs between peers.

-

up

Displays information about VCs in the Up state.

-

down

Displays information about VCs in the Down state.

-

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 use the regular expression to view specific information about VPWS connections.

Example

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

# Display information about VCs in the Up state between peers.
<HUAWEI> display mpls l2vc state up
total LDP VC : 1     1 up       0 down

 *client interface             : GigabitEthernet0/1/1.1
  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 VC label               : 18           remote VC label      : 18
  control word                 : disable
  forwarding entry             : exist
  local group ID               : 0
  manual fault                 : not set
  active state                 : active
  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
  tunnel policy name           : --
  PW template name             : --
  primary or secondary         : primary
  load balance type            : flow
  Access-port                  : false
  create time                  : 0 days, 1 hours, 31 minutes, 54 seconds
  up time                      : 0 days, 1 hours, 30 minutes, 46 seconds
  last change time             : 0 days, 1 hours, 30 minutes, 46 seconds
  VC last up time              : 2012/12/05 02:50:41
  VC total up time             : 0 days, 1 hours, 30 minutes, 46 seconds
  CKey                         : 1
  NKey                         : 1493172332
  L2VPN QoS CIR value          : 3888
  L2VPN QoS PIR value          : 3888
  L2VPN QoS qos-profile name   : --
  AdminPw interface            : --
  AdminPw link state           : --
  Forward state                : send inactive, receive inactive 
  Diffserv Mode                : uniform
  Service Class                : --
  Color                        : --
  DomainId                     : --
  Domain Name                  : --
# Display information about all VPWS connections on a device.
<HUAWEI> display mpls l2vc
Total LDP VC : 2     2 up       0 down

 *client interface             : GigabitEthernet0/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                  : 3.3.3.3
  local VC label               : 18           remote VC label      : 18
  control word                 : disable
  remote control word          : disable
  forwarding entry             : exist
  local group ID               : 0
  remote group ID              : 0
  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
  BFD for PW                   : unavailable
   BFD sessionIndex           : --  BFD state : up
  VCCV State                   : up
  Dynamic BFD for PW           : enable
  Detect Multipier             : 3
  Min Transit Interval         : 1000
  Min Receive Interval         : 1000
  Dynamic BFD Session          : built
  manual fault                 : not set
  active state                 : active
  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
  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 : 0x0000000001004c4e42
  create time                  : 0 days, 0 hours, 17 minutes, 58 seconds
  up time                      : 0 days, 0 hours, 16 minutes, 50 seconds
  last change time             : 0 days, 0 hours, 16 minutes, 50 seconds
  VC last up time              : 2012/12/05 02:50:41
  VC total up time             : 0 days, 0 hours, 16 minutes, 50 seconds
  CKey                         : 1
  NKey                         : 1493172332
  PW redundancy mode           : frr
  L2VPN QoS CIR value          : 3888
  L2VPN QoS PIR value          : 3888
  L2VPN QoS qos-profile name   : --
  AdminPw interface            : --
  AdminPw link state           : --
  Forward state                : send inactive, receive inactive 
  Diffserv Mode                : uniform
  Service Class                : --
  Color                        : --
  DomainId                     : --
  Domain Name                  : --

 *client interface             : Trunk-Serial2/0:0 is up
  Administrator PW             : no
  session state                : up
  AC status                    : up
  VC state                     : up
  Label state                  : 0
  Token state                  : 0
  VC ID                        : 1
  VC type                      : CEP
  destination                  : 5.5.5.9
  local VC label               : 155670        remote VC label      : 155670
  control word                 : enable
  remote control word          : none
  local TDM Encap Num          : --            remote TDM Encap Num : --
  jitter-buffer                : 1000
  idle-code                    : ff
  local rtp-header             : disable       remote rtp-header    : disable
  local bit-rate               : 2349          remote bit-rate      : 2349
  payload-compression DBA      : --
  remote payload-compression DBA : --
  forwarding entry             : not exist
  local group ID               : 0
  remote group ID              : 0
  local AC OAM State           : up
  local PSN OAM State          : up
  local forwarding state       : forwarding
  local status code            : 0x0 (forwarding)
  BFD for PW                   : unavailable
  VCCV State                   : up
  manual fault                 : not set
  active state                 : inactive
  OAM Protocol                 : --
  OAM Status                   : --
  OAM Fault Type               : --
  PW APS ID                    : --
  PW APS Status                : --
  TTL Value                    : 1
  link state                   : up
  local VC MTU                 : --           remote VC MTU         : --
  local VCCV                   : cw alert ttl lsp-ping bfd 
  remote VCCV                  : none 
  tunnel policy name           : --
  PW template name             : pbh
  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 : 0x0000000001004c4e58
  create time                  : 0 days, 1 hours, 32 minutes, 5 seconds
  up time                      : 0 days, 1 hours, 32 minutes, 5 seconds
  last change time             : 0 days, 1 hours, 32 minutes, 5 seconds
  VC last up time              : 2015/07/18 9:32:56
  VC total up time             : 0 days, 1 hours, 32 minutes, 5 seconds
  CKey                         : 9
  NKey                         : 8
  PW redundancy mode           : frr
  AdminPw interface            : --
  AdminPw link state           : --
  Diffserv Mode                : pipe
  Service Class                : ef
  Color                        : green 
  DomainId                     : --
  Domain Name                  : --
Table 1 Description of the display mpls l2vc command output
Item Description
Total LDP VC

Total number of established VCs (using LDP as the signaling protocol), including the number of VCs in the up state and the number of VCs in the down state.

VC state

VC status:

  • up.
  • down.
  • backup.
VC ID

VC ID. This parameter and VC Type uniquely identify a VC.

VC type

VC encapsulation type.

VC tunnel info

VC tunnel information.

VC last up time

Last time when the VC was up.

VC total up time

Total VC up time.

up time

VC up duration. If the PW is in the down state, the value is 0.

Administrator PW

Whether the PW is an mPW (the PW can be an mPW only when the AC interface is a loopback interface):

  • yes.
  • no.
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. By default, the PW redundancy mode is FRR.

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

LDP session status:

  • up.
  • down.
AC status

AC status:

  • up.
  • down.
Token state

Whether a token can be used:

  • 0: The token can be used.
  • 1: Wait for confirmation by the slave main control board.
  • 2: The token has been released.
  • 3: Confirmation failed.
Label state

Whether a label can be used:

  • 0: The label can be used.
  • 1: Wait for confirmation by the slave main control board.
  • 2: The label has been released.
  • 3: Confirmation 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 network 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 PW functions as the primary PW and is in the up state.
  • 0x20: The PW functions as the secondary PW and is in the up state.
  • 0x1: The PW functions as the primary PW and is in the down state.
  • 0x21: The 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 bit-rate

Local bit rate.

local rtp-header

Whether the RTP header is carried in packets in local TDM encapsulation.

local TDM Encap Num

Number of TDM frames encapsulated in a local packet.

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 PW functions as the primary PW and is in the up state.
  • 0x20: The PW functions as the secondary PW and is in the up state.
  • 0x1: The PW functions as the primary PW and is in the down state.
  • 0x21: The 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 control word

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

  • disable.
  • enable.
remote bit-rate

Remote bit rate.

remote PSN OAM state

Status of the remote network-side device.

remote VC MTU

MTU of a remote VC.

remote rtp-header

Whether the RTP header is carried in TDM encapsulation on the remote end.

remote payload-compression DBA

Whether DBA compression is enabled for the remote payload.

remote TDM Encap Num

Number of TDM frames encapsulated in a remote packet.

remote ATM cells

Maximum number of remote ATM cells.

control word

Whether the control word is enabled:

  • disable.
  • enable.
forwarding entry

Whether forwarding entries exist:

  • exist.
  • not exist.
OAM Protocol

Deployed PW link detection protocol:

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

Link status displayed by the link detection protocol:

  • Nondefect: The PW link is normal.
  • Defect: The PW link is faulty.
  • Detect-stop: The detection has stopped.
  • --: No link detection protocol is deployed to detect the PW, or a link detection protocol is deployed to detect the PW but the packet receiving function of the link detection 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.
BFD for PW

Whether BFD for PW is enabled:

  • available.
  • unavailable.
BFD sessionIndex

BFD session index.

BFD state

Status of a BFD session:

  • up.
  • down.
  • admin down.
  • invalid State.
VCCV State

VCCV status:

  • 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.

Route status

Route status:

  • reachable: The route is reachable.
  • unreachable: The route is unreachable.
link state

Comprehensive status of a PW:

  • up.
  • down.

If any of the following is down, Link State of the PW is down:

  • Service PW status.
  • Status of the mPW tracked by the service PW.
  • Status of the BFD session tracked by the service PW.
  • PW status code.
  • PW status detected by VCCV.
  • OAM status.
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

LDP VLL load balancing mode:

  • flow: per-flow load balancing.
  • packet: 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.

last change time

Last time when the VC status changed.

CKey

PW index.

NKey

Index of the public tunnel.

AdminPw interface

AC interface on which the mPW is bound to the PW, that is, the loopback interface on which the mPW is configured (this field is available only when the PW is not an mPW):

  • Loopback interface name.
  • --: The PW is not bound to an mPW.
AdminPw link state

Status of the mPW bound to the PW. This field is available only when the PW is not an mPW.

  • up.
  • down.
  • --: 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

Domain ID.

Domain Name

Domain name.

Configured Flowlabel

Flow label configuration.

Received Flowlabel

Flow label configuration of the remote end.

Negotiated Flowlabel

Flow label negotiation result.

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.

ignore standby state

Whether the PW is configured to ignore the standby state sent by the remote device:

  • yes.
  • no.
Dynamic BFD for PW

Whether dynamic BFD is enabled. The value is enable.

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.

Detect Multipier

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.

jitter-buffer

Maximum jitter delay allowed.

idle-code

Specifies the value of an idle code.

payload-compression DBA

Whether DBA compression is enabled for the local payload.

client interface

AC interface name.

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