The display mpls oam l2vc command displays configurations and the status of MPLS OAM that monitors PWs.
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:
|
verbose |
Displays detailed information. |
- |
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.
The actual command output varies according to the device. The command output here is only an example.
<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
<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
----------------------------------------------------------------------
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:
|
PW Type | Type of the PW. |
PW basic information | Basic PW information. |
Service Type | Service type:
|
Status | Check status and the defect status:
|
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:
|
Send Frequency | Interval at which OAM packets are sent. |
Receive Type | Type of received OAM packets:
|
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:
|
Defect State | Defect status:
|
BDI Defect State | BDI defect status:
|
Bdi-frequency | Interval between sending BDI packets. |
Available State | Available state:
|
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. |