mpls l2vpn oam-mapping 1ag md ma

Function

The mpls l2vpn oam-mapping 1ag md ma command enables the mapping between the AC status and the PSN status.

The undo mpls l2vpn oam-mapping command disables the mapping between the AC status and the PSN status.

By default, the mapping between the AC status and the PSN status is disabled.

Format

mpls l2vpn oam-mapping 1ag md md-name ma ma-name

undo mpls l2vpn oam-mapping [ 1ag md md-name ma ma-name ]

Parameters

Parameter Description Value
ma ma-name

Specifies the name of a maintenance association.

The value is a string of 1 to 43 case-sensitive characters, spaces not supported.

1ag

Enables IEEE802.1ag-based fault detection and notification. 1ag can be configured only in the GE sub-interface, or Eth-Trunk sub-interface view.

-

md md-name

Specifies the name of a maintenance domain.

The value is a string of 1 to 43 case-sensitive characters, spaces not supported.

Views

100ge sub-interface view, 10GE sub-interface view, 200GE sub-interface view, 25GE sub-interface view, 400GE sub-interface view, 40GE sub-interface view, 50GE sub-interface view, Eth-Trunk sub-interface view, FlexE sub-interface view, GE sub-interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

In MPLS L2VPN scenarios, PEs and CEs do not advertise their active/standby status and link status to each other. PW OAM and AC OAM need to be configured to monitor PW and AC status respectively. OAM mapping is enabled on the PEs to associate PW OAM with AC OAM.

The mpls l2vpn oam-mapping1ag md md-name ma ma-name command can be run on an Ethernet interface only after VLL or PWE3 is configured and Ethernet OAM is enabled or VPLS and CFM services are configured on the interface.

After the mpls l2vpn oam-mapping command is configured on a PE, AC status will be associated with PW status. If a fault occurs on an AC, the local PE will notify the remote PE of the AC fault. If a fault occurs on a PW, the local PE will notify the local CE of the fault. Timely fault notification allows PEs and CEs to coordinate with each other in end-to-end FRR.

Example

# Enable fault detection and notification on GE 0/1/0.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi vsi1
[*HUAWEI-vsi-vsi1] pwsignal ldp
[*HUAWEI-vsi-vsi1-ldp] vsi-id 20
[*HUAWEI-vsi-vsi1-ldp] peer 2.2.2.2
[*HUAWEI-vsi-vsi1-ldp] quit
[*HUAWEI-vsi-vsi1] quit
[*HUAWEI] interface GigabitEthernet 0/1/0.1
[*HUAWEI-GigabitEthernet0/1/0.1] vlan-type dot1q 10
[*HUAWEI-GigabitEthernet0/1/0.1] l2 binding vsi vsi1
[*HUAWEI-GigabitEthernet0/1/0.1] quit
[*HUAWEI] cfm enable
[*HUAWEI] cfm md md1
[*HUAWEI-md-md1] ma ma1
[*HUAWEI-md-md1-ma-ma1] map vsi vsi1
[*HUAWEI-md-md1-ma-ma1] mep mep-id 2 interface GigabitEthernet 0/1/0.1 outward
[*HUAWEI-md-md1-ma-ma1] quit
[*HUAWEI-md-md1] quit
[*HUAWEI] interface GigabitEthernet 0/1/0.1
[*HUAWEI-GigabitEthernet0/1/0.1] mpls l2vpn oam-mapping 1ag md md1 ma ma1
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >