QTECH
Software Configuration Manual
5-77
5.6.3
Configure interface dynamic QinQ
1. Configure a series vlan to be dynamic QinQ with the start vlan and destination vlan. In the precondition of all vlan
tag packets between start vlan are not transparent transmitted, they will transmit in the form of double tag head with
destination vlan.
! The command mode is global configuration mode
dtag insert
startvlanid endvlanid targetvlanid
Example :
Configure all vlan tag packets to add a tag head with destination vlan3 from the start vlan1 to end vlan2
QTECH(config-if-ethernet-0/0/1)#dtag insert 1 2 3
2. Delete a consecultive vlan in configured dynamic QinQ on the form of start vlan and destination vlan, in which the
parameter imputed start vlan and the destination vlan must be the same as configuring a vlan series.
! The command mode is global configuration mode
no dtag insert
startvlanid endvlanid
Example :
Delete all configured vlan tag packets to add a tag head with destination vlan3 from the start vlan1 to end vlan2.
QTECH(config)#no dtag insert 1 2 3
3. Configure a series vlan to be transparent transmitted in dynamic QinQ in the form of start vlan. All vlan tag packets
can be transmitted from start vlan without adding new tag head because the priority of transparent transmission id
superior than adding tag head, transparent transmission will not be influenced by svlan inset command.
! Command mode is global configuration mode
dtag pass-through
startvlanid endvlanid
Example :
Configure all vlan tag packet to be transparent transmission from start vlan1 to end vlan2
QTECH(config-if-ethernet-0/0/1)#dtag pass-through 1 2
4. Delete all configured all vlan tag packet to be transparent transmission in the form of start vlan, in which the
parameter imputed start vlan must be the same as configuring a vlan series.
! Command mode is global configuration mode
no dtag pass-through
startvlanid endvlanid
Example :
Delete all configured all vlan tag packet to be transparent transmission from start vlan1 to end vlan2
QTECH(config-if-ethernet-0/0/1)#no dtag pass-through 1 2
5.6.4
Enable/disable vlan-swap
Configure it in global configuration mode :
Enable vlan-swap
vlan-swap
Disable vlan-swap
no vlan-swap
By default, vlan-swap is disabled.
Example :