xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
993
Chapter 86
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] |
[add | delete] vlan_translation_profile <profile_id>}(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>]}
create vlan_translation_profile
<profile_id>
config vlan_translation_profile
<profile_id> add rule_id {<rule_id>} [add svid <vlanid 1-4094>
{priority <priority 0-7>} classify {source_mac <macaddr> {sa_mask <macmask>} |
destination_mac <macaddr> {da_mask <macmask>} | source_ipv4 <ipaddr> {sip_mask
<netmask>} | destination_ipv4 <ipaddr> {dip_mask <netmask>} | outer_vid <vidlist> | 802.1p
<priority 0-7> | ip_protocol <value 0-255> | l4_src_port <value 1-65535> | l4_dest_port <value
1-65535>} | replace svid <vlanid 1-4094> {priority <priority 0-7>} classify outer_vid <vlanid 1-
4094> {source_mac <macaddr> {sa_mask <macmask>} | destination_mac <macaddr>
{da_mask <macmask>} | source_ipv4 <ipaddr> {sip_mask <netmask>} | destination_ipv4
<ipaddr> {dip_mask <netmask>} | 802.1p <priority 0-7> | ip_protocol <value 0-255> |
l4_src_port <value 1-65535> | l4_dest_port <value 1-65535>}]
show vlan_translation_profile
{<profile_id_list>}
delete vlan_translation_profile
[<profile_id> | all] {rule_id [<rule_id_list> | all]}
86-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 the outer TPID will be set according to the user’s configuration. 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. 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.
Summary of Contents for xStack
Page 1: ......
Page 553: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 548 ...
Page 565: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 560 ...
Page 1011: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 1006 ...
Page 1120: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 1115 ...