D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
688
Chapter 70
Q-in-Q Command
enable qinq
disable qinq
show qinq
config qinq ports [<portlist> | all] {role [uni | nni] | missdrop [enable | disable] | outer_tpid <hex
0x1-0xffff> | use_inner_priority [enable | disable] | add_inner_tag [<hex 0x1-0xffff> |
disable]}(1)
config qinq inner_tpid <hex 0x1-0xffff>
show qinq inner_tpid
show qinq ports {<portlist>}
create vlan_translation ports
[<portlist> | all] [add cvid <vidlist> | replace cvid <vlanid 1-4094>]
svid <vlanid 1-4094> {priority <priority 0-7>}
delete vlan_translation ports [<portlist> | all] {cvid <vidlist>}
show vlan_translation {[ports <portlist> | cvid <vidlist>]}
70-1 enable qinq
Description
This command is used to enable Q-in-Q. When Q-in-Q is enabled, all network port roles will be
NNI ports and outer TPID will be set to 0x88A8; all existing static VLANs will run as S-VLAN; all
dynamic learned L2 addresses will be cleared; all dynamic registered VLAN entries will be cleared;
and GVRP will be disabled. To run GVRP on the switch, the administrator should enable GVRP
manually. In Q-in-Q mode, GVRP protocol will employ the reserve address 01-80-C2-00-00-0D.
The default setting of Q-in-Q is disabled.
Format
enable qinq
Parameters
None.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To enable Q-in-Q:
DGS-3420-28SC:admin#enable qinq
Command: enable qinq
Success.
DGS-3420-28SC:admin#