QTECH
Software Configuration Manual
5-76
Cluster
0x88A7
Reserved
0xFFFD/0xFFFE/0xFFFF
5.6 QinQ configuration list
·
Configure global QinQ
·
Configure interface QinQ mode
·
Configure interface dynamic QinQ
·
Enable/disable vlan-swap
·
Configure interface switching vlan
·
Display dynamic QinQ
·
Display switching vlan
5.6.1
Configure global QinQ
QSW-3900 supports two QinQ :
1)
Static QinQ. Vlan protocol number in this mode can be configured but cannot be configured to ignore tag
head of ingress packet. If vlan protocol number is not the same as the port configuration value or the port is
configured to ignore tag head, there will be a new tag head between the 12
th
and 13
th
bit;
2)
Flexible QinQ. Configure port vlan protocol number and the ignorance attribution of the tag head of ingress
port. Only when vlan protocol number of ingress packet is not the same as the port configuration value and
not the default value 8100, a new tag head will be added. If egress is TAG, TPID of TAG head is configured
TPID.
! Use dtag command to enable/disable QinQ globally in global configuration mode.
dtag
{ [ flexible-qinq ] | outer-tpid
tpid
}
no dtag
For example :
! Configure QinQ global TPID to be non dot1q-in-dot1q
QTECH(config)dtag outer-tpid 9100
5.6.2
Configure QinQ mode of interface
There are two kinds of interface modes : one is service provider port, the other is customer port. The former do not
permit ignoring tag head of ingress packet and the latter permits.
! It is in the interface configuration mode.
dtag mode
{ customer | service-provider }
Example :
Configure interface to be customer
QTECH(config-if-ethernet-0/0/1)#dtag mode customer