DES-1210-52/ME L2 Metro Ethernet Switch CLI Reference Guide
230
Used to configure Q-in-Q ports.
config qinq ports [<portlist> | all] {role [nni | uni] | outer_tpid
<hex 0x1 - 0xffff> | vlan_translation [enable | disable] | missdrop
[enable | disable] | add_inner_tag [<hex 0x1 - 0xffff> | disable]}
The config qinq ports command is used to configure the port level
setting for the Q-in-Q VLAN function. This setting is not effective
when the Q-in-Q mode is disabled.
<portlist> - A range of ports to configure.
all – Specifies all ports to be configure.
role - Port role in Q-in-Q mode, it can be UNI port or NNI port.
outer_tpid - TPID in the SP-VLAN tag.
vlan_translation - If specified as enabled, the VLAN translation will
be performed on the port. The setting is disabled by default.
missdrop [enable | disable] – To enable or disable the tagged packet
drop that does not match any assignment rule in the Q-in-Q profile
and translated VLAN.
add_inner_tag [<hex 0x1 – 0xffff> | disable] – Specifies whether to
add inner tag for ingress untagged packets. Enter the inner tag value
between hex 0x1 and 0xffff, or specify that only the s-tag will be
added for ingress untagged packets with option-disable.
Only administrator or operator-level users can issue this command.
Example usage:
To configure port list 1 to 4 as NNI port, set outer TPID to 0x88a8:
DES-1210-52/ME:5# config qinq ports 1-4 role nni outer_tpid 0x88a8
Command: config qinq ports 1-4 role nni outer_tpid 0x88a8
Success.
DES-1210-52/ME:5#
Used to configure Q-in-Q inner TPID of the Switch.
config qinq inner_tpid <hex 0x1-0xffff>
The config qinq inner_tpid command is used to configure the inner
TPID for port.
<hex 0x1-0xffff> - Specifies the inner-TPID of a port.
Only administrator or operator-level users can issue this command.
Example usage:
To configure the inner TPID to 0x88a8:
DES-1210-52/ME:5# config qinq inner_tpid 0x88a8
Command: config qinq inner_tpid 0x88a8