< Home

map

Function

The map command associates a VLAN with an MA.

The undo map command disassociates a VLAN from an MA.

By default, an MA is not associated with any VLAN.

Format

map vlan vlan-id

undo map vlan

Parameters

Parameter Description Value
vlan-id Specifies the ID of a VLAN. The value is an integer that ranges from 1 to 4094.

Views

MA view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Ethernet CFM detects connectivity faults in each MA. After an MA is associated with a VLAN, Ethernet CFM can detect connectivity faults in the VLAN.

Precautions

If CFM is used to detect connectivity faults between two directly connected devices, the MA does not need to be associated with a VLAN.

An MA can be associated with only one VLAN.

You can create or delete the association between an MA and a VLAN only when no MEP or RMEP is configured in the MA.

Before changing the VLAN associated with an MA, use the undo map command to disassociate the MA from the VLAN.

Example

# Associate an MA with VLAN 10. The MA is not associated with any VLAN before the configuration.

<HUAWEI> system-view
[HUAWEI] cfm enable
[HUAWEI] cfm md md1
[HUAWEI-md-md1] ma ma1
[HUAWEI-md-md1-ma-ma1] map vlan 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >