User's Manual
218
mode:
Command Purpose
show vlan [ id
x
| interface
intf
|
dot1q-tunnel
[interface
intf
] | mac-vlan | subnet | protocol-
vlan ]
Displays the configuration and state of VLAN
or Dot1Q tunnel.
show interface {vlan | supervlan}
x
Displays the state of the VLAN interface or
that of the SuperVLAN interface.
31.4.6 Enabling or disabling Dot1 Q Tunnel globally and configuring TPID
globally
After Qot1Q Tunnel is globally enabled, all ports serve as the downlink ports of Qot1Q Tunnel by
default and put the SPVLAN tag on the incoming packets.
The command to enable dot1q-tunnel globally:
Command Purpose
dot1q-tunnel
The command is used to configure dot1q-
tunnel globally.
31.4.7 enable/disable globalflat-translation
To enable flat-translation globally, the command is
Command Purpose
[ no ] flat-translation-global
To enable or disable global flat mode N:1
flat translation function, run previous
commands.
31.4.8 Configuring VLAN translation mode and items on a port
Both the VLAN translating mode and the VLAN translating items validate in dot1q-translating-tunnel mode
after they are configured. The translation modes fall into two kinds: the Flat mode and the QinQ mode. In
Flat mode, the CLAN tag of packets which are received by the dot1q-translating-tunnel downlink port will
be used as an index to look up the VLAN translating list. The CVLAN will be replaced by detected
SPVLANs; when the packets are forwarded out of the port, the SPVLAN will then be replaced by CVLAN.
In QinQ mode, the CLAN tag of packets which are received by the dot1q-translating-tunnel downlink port
will be used as an index to look up the VLAN translating list and then the detected SPVLANs will form into
SPVLAN tag to be added to the outside of CVLAN tag; when the packets are forwarded out of the port,
the SPVLAN tag will then be removed.
When the VLAN translating items are configured on a port, the mapping between CVLAN and multiple
SPVLANs can be configured in QinQ mode. To configure the mapping between CVLAN and multiple
SPVLANs in flat mode, you have to configure QoS and then the correct transformation from SPVLAN to
CVLAN can be conducted when packets are transmitted out from this port.
The command to configure the VLAN translation mode and translation items is shown in the following