DES-1210-28/ME Metro Ethernet Managed Switch CLI Reference Guide
172
disable qinq
Purpose To disable the Q-in-Q mode.
Syntax
disable qinq
Description
The disable qinq command creates a used to disable the Q-in-Q
mode.
All dynamically learned L2 address will be cleared. All dynamically
registered VLAN entries will be cleared, GVRP will be disabled.
If you need to run GVRP on the Switch, firstly enable GVRP
manually. All existing SP-VLANs will run as static 1Q VLANs. The
default setting of Q-in-Q is disabled.
Parameters None.
Restrictions Only administrator-level users can issue this command.
Example usage:
To disable Q-in-Q:
DES-1210-28/ME:5# disable qinq
Command: disable qinq
Success!
DES-1210-28/ME:5#
show qinq
Purpose To show global Q-in-Q and port Q-in-Q mode status.
Syntax
show qinq {ports [<portlist> | all]}
Description
The show qinq command is used to show the global Q-in-Q status,
including: port role in Q-in-Q mode and port outer TPID.
Parameters
<portlist> - Specifies a range of ports to be displayed.
If no parameter is specified, the system will display all Q-in-Q port
information.
all - Specifies all ports to be displayed.
Restrictions None.
Example usage:
To show the Q-in-Q status for ports 1 to 4:
DES-1210-28/ME:5# show qinq ports 1-4
Command: show qinq ports 1-4
Port Role Outer TPID Trust_CVID VLAN Translation
---- ---- ---------- ---------- ----------------
1 UNI 0x8100 Enable Disable
2 UNI 0x8100 Enable Disable
3 UNI 0x8100 Enable Disable
4 UNI 0x8100 Enable Disable