display mpls oam l2vc

Function

The display mpls oam l2vc command displays configurations and the status of MPLS OAM that monitors PWs.

Format

display mpls oam l2vc { all | peer-ip peer-ip-value vc-id vc-id-value vc-type vc-type-value } [ verbose ]

Parameters

Parameter Description Value
all

Displays MPLS OAM information about all PWs.

-

peer-ip peer-ip-value

Specifies the destination IP address of an L2VC.

The value is in dotted decimal notation.

vc-id vc-id-value

Specifies the ID of an L2VC.

The value is an integer ranging from 1 to 4294967295.

vc-type vc-type-value

Specifies the encapsulation type of an L2VC.

Encapsulation types supported:
  • Other encapsulation types:
    • cep: This encapsulation type is used for CEP services.
    • ethernet: This encapsulation type is used when Ethernet packets do not carry VLAN information.
    • ip-interworking: This encapsulation type is used for interworking between Huawei devices.
    • ip-layer2: This encapsulation type is used for interworking between Huawei devices and non-Huawei devices.
    • vlan: This encapsulation type is used when Ethernet packets carry VLAN information.
verbose

Displays detailed information.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
tpoam read

Usage Guidelines

Usage Scenario

After configuring MPLS OAM to monitor PWs, you can run the display mpls oam l2vc command to view MPLS OAM information. You can view MPLS OAM information about multiple PWs or a specified PW.

Prerequisites

MPLS OAM have been configured to monitor PWs using the mpls oam l2vc command.

Example

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

# Display MPLS OAM information about a specified PW.
<HUAWEI> display mpls oam l2vc peer-ip 2.2.2.2 vc-id 100 vc-type vlan verbose
--------------------------------------------------------------------

Verbose information about NO.1 OAM at the TPE

--------------------------------------------------------------------

PW basic information:
-------------------------------------------------
Service Type            : VLL PW
PW Status               : Down
Peer IP                 : 2.2.2.2
VC Type                 : vlan
VC ID                   : 100
Local VC Label          : 101
Remote VC Label         : 100
AC Interface            : gigabitethernet 0/1/0.1
PW Type                 : primary
-------------------------------------------------
OAM basic information:
-------------------------------------------------
OAM Index               : 256
OAM Select Board        : --
OAM Enable Direction    : Send & Receive
Auto Protocol           : Disable
Auto Overtime (s)       : --
Remote Peer IP          : 1.1.1.1
Remote VC Type          : vlan
Remote VC ID            : 30000
Compatibility Mode      : Router Mode 
-------------------------------------------------
OAM detect information:
-------------------------------------------------
Send Type               : CV
Send Frequency          : 1 s
Receive Type            : CV
Receive Frequency       : 1 s
Detect State            : Start
Defect State            : Non-defect
BDI Defect State        : --
Bdi-frequency           : Per-second
Available State         : Available
Unavailable Time (s)    : 0  
Hardware Error Info     : No error
# Display MPLS OAM information about all PWs.
<HUAWEI> display mpls oam l2vc all
----------------------------------------------------------------------
Total OAM Num:                    1
Total Start OAM Num:              0
Total Defect OAM Num:             0   
----------------------------------------------------------------------
No.  Peer IP        VC Type             VC ID          Status
----------------------------------------------------------------------

1    2.2.2.2        vlan                100            Stop/Non-defect

----------------------------------------------------------------------
Table 1 Description of the display mpls oam l2vc command output
Item Description
OAM Index

OAM index.

OAM Select Board

Slot ID of the OAM processing board.

OAM Enable Direction

Direction in which OAM has been enabled.

OAM basic information

the basic information of OAM.

OAM detect information

the detect information of OAM.

PW Status

Status of the PW:

  • Up.
  • Down.
PW Type

Type of the PW.

PW basic information

Basic PW information.

Service Type

Service type:

  • VLL PW.
  • VSI PW.
Status

Check status and the defect status:

  • Start/Non-defect: OAM detection is started and no defect is detected.
  • Start/In-defect: OAM detection is started and a defect is detected.
  • Stop/Non-defect: OAM detection is stopped and no defect is detected.
  • Stop/In-defect: OAM detection is stopped and a defect is detected.
  • Ready: Although the auto protocol is configured, a device does not receive detection packets sent by its peer device before the timeout period elapses.
Peer IP

IP address of the peer node.

VC Type

Encapsulation type of the VC.

VC ID

ID of the VC.

Local VC Label

VC label allocated to the local node.

Remote VC Label

VC label allocated to the remote node.

Remote Peer IP

IP address of the remote node.

Remote VC Type

Remote L2VC type.

Remote VC ID

VC ID of the remote L2VC node.

AC Interface

AC-side interface.

Send Type

Type of OAM packets on the transmit end:

  • FFD.
  • CV.
  • --: No detection type is specified.
Send Frequency

Interval at which OAM packets are sent.

Receive Type

Type of received OAM packets:

  • FFD.
  • CV.
  • --: No detection type is specified.
Receive Frequency

Interval at which OAM packets are received.

Auto Protocol

Auto protocol enabling flag.

Auto Overtime (s)

Auto protocol timeout period, in seconds.

Compatibility Mode

Compatibility mode.

Detect State

Detection status:

  • Ready.
  • Start.
  • Stop.
Defect State

Defect status:

  • No-defect: no defect on the tunnel.
  • dLOCV: a connectivity verification loss defect.
BDI Defect State

BDI defect status:

  • BDI: reverse alarm.
  • --: no alarm.
Bdi-frequency

Interval between sending BDI packets.

Available State

Available state:

  • Available.
  • Unavailable.
Unavailable Time (s)

Duration of the unavailable state, in seconds.

Hardware Error Info

Error cause.

Total OAM Num

Number of configured OAM instances.

Total Start OAM Num

Total number of started OAM instances.

Total Defect OAM Num

Number of defects that OAM detects.

No.

Sequence number.

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