xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
269
36
IEEE
802.1Q
IN
Q
C
OMMANDS
The IEEE 802.1QinQ commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters)
in the following table.
Command
Parameters
enable qinq
disable qinq
show qinq
config qinq ports
[<portlist> | all] {role [nni | uni] | missdrop [enable | disable] | [outer_ tpid |
tpid]<hex 0x1 - 0xffff> | use_inner_priority [enable | disable]}(1)
show qinq ports
{<portlist>}
delete vlan_translation ports
[<portlist> | all ] { cvid <vidlist>}
show vlan_translation
ports <portlist>
create vlan_translation ports
[<portlist> | all ] cvid <vidlist> [add | replace] svid <vlanid 1-4094> {priority
<value 0-7>}
Each command is listed, in detail, in the following sections.
enable qinq
Purpose
Used to enable QinQ.
Syntax
enable qinq
Description
When QinQ is enabled, all network port roles will be NNI port and outer TPID will be set to
0x88A8; All existed static VLAN will run as S-VLAN; All dynamic learned L2 address will be
cleared; All dynamic registered VLAN entries will be cleared, and GVRP will be disabled.
If need to run GVRP on the switch, administrator should enable GVRP manually. In QinQ
mode, GVRP protocol will employ reserve address 01-80-C2-00-00-0D.
The default setting of QinQ is disabled.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable qinq:
DGS-3450:admin# enable qinq
Command: enable qinq
Success.
DGS-3450:admin#
disable qinq
Purpose
Used to disable the QinQ.
Syntax
disable qinq