Command Reference QinQ Commands
The following example configures vid in the outer tag of input message as 10-20 and sets the vid to
100.
Ruijie(config)# interface gigabitEthernet 0/1
Ruijie(config-if)# switchport mode access
Ruijie(config-if)# dot1q relay-vid 100 translate inner-vid 10-20
Ruijie(config-if)# end
show translation-table [ interface intf-id ]
12.5 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. Use the no form of this command to restore the default setting.
dot1q-tunnel cos inner-cos-value remark-cos outer-cos-value
no dot1q-tunnel cos inner-cos-value remark-cos outer-cos-value
default dot1q-Tunnel cos inner-cos-value remark-cos outer-cos-value
Indicates the CoS value of the inner tag.
Indicates the CoS value of the outer tag.
Cancels the priority mapping of the packets on the interface.
The policy list is null by default.
Interface configuration mode.
If the QoS policy based on the COS value is set for the service provider's network to which a user
network connects, the COS value of the outer tag can be set to different values based on the data
packet importance. In this case, important services can be preferentially processed and transmitted.
The following example configures 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