The dcn vlan command configures a DCN virtual local area network (VLAN).
The undo dcn vlan command deletes the DCN VLAN configuration.
This command varies in transport and router modes. For detailed differences, see Differences Between Commands in Transport and Router Modes. This topic describes the command configuration in router mode.
By default, the DCN VLAN ID is 0.
Parameter | Description | Value |
---|---|---|
beginVlan |
Specifies a start DCN VLAN ID. |
The value is an integer ranging from 1 to 4094. |
to endVlan |
Specifies an end DCN VLAN ID.
This parameter can be configured only in the Ethernet view, or GE interface view. |
The value is an integer ranging from 1 to 4094. |
Usage Scenario
To enable DCN packets to pass through a Layer 2 network, run the dcn vlan command to configure a DCN VLAN. Then, the DCN VLAN ID specified in this command will be added to DCN packets before they are sent out.
Prerequisites
The DCN feature has been enabled globally using the dcn command in the system view.
Precautions
Running this command in the interface view to configure a DCN VLAN refreshes the DCN VLAN configurations of only the interface.
New configurations overwrite existing configurations.In VS mode, this command is supported only by the admin VS.