The vlan command creates a VLAN in the default MD.
The undo vlan command deletes a VLAN from the default MD.
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. |
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.