CLI ReferenceInterface Configuration Commands QinQ Configuration Commands
Interface configuration mode.
Here is an example of configuring vid in the outer tag of input
message as 10-20,modifying the vid as 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]
The software version must be RGOS10.4 and later.
dot1q new-outer-vlan vid translate old-outer-vlan vid inner-vlan v-list
Use this command to modify the policy list of outer vid based on the inner Tag VID and
outer Tag VID on the access, trunk, hybrid, uplink port.
dot1q new-outer-vlan vid translate old-outer-vlan vid inner-vlan v-list
no dot1q new-outer-vlan vid translate old-outer-vlan vid inner-vlan v-list
Interface configuration mode.