CLI ReferenceInterface Configuration Commands QinQ Configuration Commands
dot1q relay-vid vid translate local-vid v-list
no dot1q relay-vid vid translate local-vid v-list
Outer vlan list of input message
Modified outer vlan id list
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 local-vid 10-20
Ruijie(config-if)# end
show translation-table
[interface intf-id]
The software version must be RGOS10.3 and later.
dot1q relay-vid vid translate inner-vid v-list
Use this command to configure the modify policy list of outer vid based on protocol on
access,trunk,hybrid port.
dot1q relay-vid vid translate inner-vid v-list
no dot1q relay-vid vid translate inner-vid v-list
Outer vlan list of input message
Modified outer vlan id list