D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
690
Example
To display Q-in-Q:
DGS-3420-28SC:admin#show qinq
Command: show qinq
QinQ Status : Enabled
DGS-3420-28SC:admin#
70-4 config qinq ports
Description
This command is used to configure Q-in-Q port parameters on this Switch.
Format
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)
Parameters
<portlist> - Specify a range of ports to configure.
all - Specify to configure all ports.
role - Specify the port role in Q-in-Q mode.
uni - The port is connecting to the customer network.
nni
- The port is connecting to the service provider network.
missdrop - Enable or disable the tagged packet drop that does not match any assignment rule in
the Q-in-Q profile.
enable - Enable miss drop of ports.
disable - Disable miss drop of ports.
outer_tpid - Specify the outer-TPID of a port.
<hex 0x1-0xffff> - Specify the outer-TPID of a port.
use_inner_priority - Specify whether to use the priority in the C-VLAN tag as the priority in the
S-VLAN tag. By default, the setting is disabled.
enable - Specifies that the use of the inner priority will be enabled.
disable - Specifies that the use of the inner priority will be disabled.
add_inner_tag - Specify whether to add inner tag for ingress untagged packets. If set, the inner
tag will be added for the ingress untagged packets and, therefore, the packets that egress to
the NNI port will be double tagged.
<hex 0x1-0xffff> - Enter the inner tag value here.
disable - Specifies that only the s-tag will be added for ingress untagged packets.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure ports 1 to 4 as NNI ports and set the TPID to 0x88A8:
DGS-3420-28SC:admin#config qinq ports 1-4 role nni outer_tpid 0x88a8
Command: config qinq ports 1-4 role nni outer_tpid 0x88a8