dcn vlan (interface view)

Function

The dcn vlan command configures a DCN virtual local area network (VLAN).

The undo dcn vlan command deletes the DCN VLAN configuration.

By default, the DCN VLAN ID in transport mode is 4094.

Format

dcn vlan beginvlan-id

Parameters

Parameter Description Value
beginvlan-id

Specifies a DCN VLAN ID.

The value is an integer ranging from 1 to 4094.

Views

100GE interface view, 40GE interface view, GE optical interface view, GE electrical interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dcn write

Usage Guidelines

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

The service VLAN ID should be different from the DCN VLAN ID.

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.

Example

# Configure DCN VLAN 4093 on GE 0/1/0.
<HUAWEI> system-view
[~HUAWEI] dcn
Warning: This operation will enable DCN function. Continue? [Y/N]:y
[*HUAWEI-dcn] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] dcn
[*HUAWEI-GigabitEthernet0/1/0] dcn vlan 4093
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >