DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
557
Example
To display Q-in-Q:
DGS-3710-12C:admin#show qinq
Command: show qinq
QinQ Status : Enabled
DGS-3710-12C:admin#
54-4
config qinq ports
Description
This command is used to configure Q-in-Q port parameters, including: role of a port, Missdrop of a
port, Outer-TPID of a port, Inner-TPID of a port, and adding or deleting VLAN translation profile of
a port.
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>
- Specifies a range of ports to configure.
all
- Specifies to configure all ports.
role
- Specifies 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 and Operator-level users can issue this command.
Example
To configure ports 1 to 4 as NNI ports and set the TPID to 0x88A8: