CLI ReferenceInterface Configuration Commands QinQ Configuration Commands
The following example modifies the vid to 3888 when the input
packets inner tag vid
Ruijie(config)# vlan 1888, 3888
Ruijie(config)# interface gigabitEthernet 0/1
Ruijie(config-if)# switchport mode trunk
Ruijie(config-if)# dot1q new-outer-vlan 3888 translate
old-outer-vlan 1888 inner-vlan 2001-3000
Ruijie(config-if)# end
show translate-table
[ interface intf-id ]
The software version must be RGOS10.4 and later.
dot1q-tunnel cos inner-cos-value remark-cos outer-cos-value
Use this command to map the priority from the outer tag to the inner tag for the packets
on the interface.
dot1q-tunnel cos inner-cos-value remark-cos outer-cos-value
no dot1q-tunnel cos inner-cos-value remark-cos outer-cos-value
Cancel the priority mapping of the
packets on the interface.
Interface configuration mode.
Here is an example of configuring the priority mapping from the outer
tag to the inner tag:
ruijie# configure
ruijie(config)# interface gigabitEthernet 0/2
ruijie(config-if)# dot1q-tunnel cos 3 remark-cos 5
ruijie(config-if)# end