< Home

vlan (default MD view)

Function

The vlan command creates a VLAN in the default MD.

The undo vlan command deletes a VLAN from the default MD.

Format

vlan { vlan-id1 [ to vlan-id2 ] }&<1-10>

undo vlan { vlan-id1 [ to vlan-id2 ] }&<1-10>

Parameters

Parameter Description Value
vlan-id1 Specifies the start VLAN ID. The value is an integer that ranges from 1 to 4094.
vlan-id2 Specifies the end VLAN ID. The value is an integer that ranges from 1 to 4094. The value of vlan-id2 must be greater than the value of vlan-id1.

Views

Default MD view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After you run the vlan command in the default MD view, all the interfaces in the specified VLAN can generate MIPs based on the configured MIP creation rule in the default MD.

Precautions

IEEE 802.1ag has two versions: IEEE 802.1ag Draft 7 and IEEE Standard 802.1ag-2007. This command can be used only on the device running IEEE Standard 802.1ag-2007.

If the vlan command is run multiple times, all configurations take effect.

The specified VLAN cannot be associated with any MA.

Example

# Associate VLAN 100 to VLAN 200 with the default MD.

<HUAWEI> system-view
[HUAWEI] cfm default md
[HUAWEI-default-md] vlan 100 to 200
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic