display mpls l2vc oam-mapping

Function

The display mpls l2vc oam-mapping command displays status of an L2VPN AC established by using the LDP signaling and information about the OAM mapping table at the PSN side.

Format

display mpls l2vc oam-mapping

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

Parameters

Parameter Description Value
interface interface-type interface-number

Displays OAM mapping information of a VC interface (LDP signaling) with the specified type and number.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2vpn read

Usage Guidelines

Usage Scenario

In the case that the display mpls l2vc oam-mapping command is run, basic information about the OAM mapping on all interfaces is displayed.

  • If an interface is specified, detailed OAM mapping information of the interface is displayed.
  • If no interface is specified, basic OAM mapping information of all interfaces is displayed.

Example

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

# Display OAM mapping information on GE 0/1/0.1.
<HUAWEI> display mpls l2vc oam-mapping interface gigabitethernet0/1/0.1
AC OAM Info:
  EOAM Type      : 802.1ag
  MaIndex        : 0x1
  AC OAM State   : Up
  OAM-mapping    : Enable
 PSN info:
  VC-ID          : 333
  VC status      : Primary
  Active State   : Inactive
  Link State     : Down
  BFD for PW     : Disable
  BFD for LSP    : --    TunnelNum: --    PSN State : --
# Display OAM mapping information about LDP L2VPN.
<HUAWEI> display mpls l2vc oam-mapping
Interface                 Active VC-ID      VC-status AC-OAM  BFD-for-PW
GE0/1/0                    Yes    100        Primary   Enable  Enable
Table 1 Description of the display mpls l2vc oam-mapping command output
Item Description
AC OAM Info

AC OAM information.

AC OAM State

Local AC fault detection status:

  • Up: AC fault detection is not enabled, or AC fault detection is enabled but no AC fault is detected.
  • Down: AC fault detection is enabled, and an AC fault is detected.
  • Invalid: AC fault detection is disabled, and the AC OAM State field is invalid.
EOAM Type

OAM type:

  • 802.1ag: CFM is configured.
  • 802.3ah: EFM is configured.
MaIndex

Maintenance association index.

OAM-mapping

OAM mapping status on the local PE:

  • Enable: OAM mapping is enabled on the local PE.
  • Disable: OAM mapping is disabled on the local PE.
PSN info

PW information.

PSN State

PW status that BFD monitors. Only -- is displayed.

VC-ID

VC identifier.

VC status

PW status:

  • Primary: primary PW.
  • Secondary: secondary PW.
  • Bypass: inter-chassis PW.
  • PW-Bypass: PW-side inter-chassis PW.
  • AC-Bypass: AC-side inter-chassis PW.
Active

Whether the PW is in the active state:

  • Yes: indicates that the PW is active state.
  • No: indicates that the PW is inactive state.

This field is valid only when the primary PW and secondary PW coexist.

Active State

Whether the PW is in the active state:

  • Active: The PW is active.
  • InActive: The PW is inactive.

    This field is applicable only when both primary and secondary PWs are available. If only one PW is configured on an AC interface, this PW is active. If primary and secondary PWs are configured on an AC interface and are working properly, the primary PW is active, and the secondary PW is inactive. If the primary PW fails, the secondary PW becomes active, and the primary PW becomes inactive.

Link State

Link status of the AC interface:

  • Up: The AC interface is Up.
  • Down: The AC interface is Down.
BFD for PW

Whether BFD for PW is enabled on the local PE.

BFD for LSP

Whether BFD is used to monitor the PW. Only -- is displayed.

Interface

Type and number of the AC interface.

VC-status

Whether the primary PW or the secondary PW is used:

  • Primary: indicates the primary PW.
  • Secondary: indicates the secondary PW.
  • Bypass: indicates the inter-chassis PW.
  • PW-Bypass: indicates the inter-chassis PW used to protect PW-side links.
  • AC-Bypass: indicates the inter-chassis PW used to protect AC-side links.
AC-OAM

Whether the local PE reports an AC fault to the remote PE through OAM:

  • Enable: indicates that the local PE reports an AC fault to the remote PE through OAM.
  • Disable: indicates that the local PE does not report an AC fault to the remote PE through OAM.
BFD-for-PW

Whether or not BFD for PW is enabled on the local PE:

  • Enable: BFD for PW is enabled.
  • Disable: BFD for PW is disabled.
TunnelNum

Number of PWs that BFD monitors. Only -- is displayed.

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