Chapter 6 Q-In-Q Command - D-Link xStack DGS-3420 Series Reference Manual

Layer 2 managed stackable gigabit switch cli
Hide thumbs Also See for xStack DGS-3420 Series:
Table of Contents

Advertisement

xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide

Chapter 6 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]}
6-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 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; 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.
814

Advertisement

Table of Contents
loading

Table of Contents