D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
307
config qinq ports
Purpose Used to configure QinQ ports parameters.
Syntax
config qinq ports [<portlist> | all] {role [nni | uni] | missdrop [enable | disable] | [outer_
tpid | tpid]<hex 0x1 - 0xffff> | use_inner_priority [enable | disable]}(1)
Description The command used to configure QinQ port parameters, include:
Role of a port.
Missdrop of a port.
Outer-TPID of a port.
Use inner-priority of a port.
Parameters
ports - A range of ports to configure.
role - Port role in QinQ mode
UNI - Port is connecting to customer network.
NNI - Port is connecting to service provider network.
outer_tpid | tpid - 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.
missdrop - Enable/disable miss drop of port.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To config port list 1-4 as NNI port, set TPID to 0x88A8:
DGS-3627:admin# config qinq ports 1-4 role nni outer_tpid 0x88a8
Command: config qinq ports 1-4 role nni outer_tpid 0x88a8
Success.
DGS-3627:admin#
show qinq ports
Purpose Used to show qinq configuration of ports.
Syntax
show qinq ports {<portlist>}
Description The command used to show qinq configuration of ports, include:
Role of port.
Outer-TPID of port.
Miss drop state of port.
Use inner-priority of a port.
Parameters
portlist - Specifies a range of ports to be displayed. (Unit ID: port number).
If no parameter specified, system will display all ports information.
Restrictions None.
Example usage:
To show QinQ mode for ports 1-4 of unit 1: