Usage Scenario
In a BGP VPWS scenario, after the mpls l2vpn oam-mapping command is run on a PE, a mapping between PW OAM status and AC OAM status is automatically created. To check OAM mapping information, run the display mpls l2vpn oam-mapping command.
Precautions
If PW OAM or AC OAM has not been configured when the display mpls l2vpn oam-mapping command is run, no information will be displayed.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display mpls l2vpn oam-mapping interface gigabitethernet 0/1/0.1 AC OAM Info: EOAM Type : 802.1ag MaIndex : 0x2 AC OAM State : Up OAM-mapping : Enable PSN info: Local CE-ID : 2 Remote CE-ID : 6 VC status : Primary Link State : Up Active State : Active BFD for PW : Enable BFDSessionIndex:--, BFD State: invalid State BFD for LSP : -- TunnelNum: -- PSN State : -- Local CE-ID : 2 Remote CE-ID : 10 VC status : Secondary Link State : Up Active State : Inactive BFD for PW : Enable BFDSessionIndex:--, BFD State : invalid State BFD for LSP : -- TunnelNum: -- PSN State : --
<HUAWEI> display mpls l2vpn oam-mapping Interface Active CE-ID/RMT VC-status AC-OAM BFD-for-PW GigabitEthernet0/1/0 YES 1/2 Main Enable Enable GigabitEthernet0/1/0 NO 1/3 Secondary Enable Enable
Item | Description |
---|---|
AC OAM Info | AC OAM information. |
AC OAM State | Local AC fault detection status:
|
EOAM Type | Ethernet OAM type:
|
MaIndex | MA index. |
OAM-mapping | OAM mapping status on the local PE:
|
PSN info | PSN information. |
PSN State | If BFD for LSP is not configured, a tunnel is Up by default. If a PW uses a tunnel that does not have the BFD for LSP configuration, PSN State is also Up. |
Local CE-ID | Local CE ID. |
Remote CE-ID | Remote CE ID. |
VC status | Whether a PW is a primary PW:
|
Link State | Link status of the AC interface:
|
Active | Whether a PW is active:
This flag holds significance only when both the primary and secondary PWs exist. |
Active State | Whether a PW is active:
This flag holds significance only when both the primary and secondary PWs exist. |
BFD for PW | Whether BFD for PW is enabled on the local PE. |
BFD State | BFD session status:
|
BFD for LSP | BFD for LSP configuration. 0 indicates BFD for LSP is not configured. |
invalid State | Invalid BFD session state. |
Interface | Type and number of the AC interface. |
CE-ID/RMT | Local CE ID/remote CE ID. |
VC-status | Whether a PW is a primary PW:
|
AC-OAM | Whether the local PE can report an AC fault to the remote PE using OAM:
|
BFD-for-PW | Whether BFD for PW is enabled on the local PE:
|
BFDSessionIndex | Automatically generated BFD session index. |
TunnelNum | Number of tunnels detected by BFD. |