Command Reference QinQ Commands
12.2 dot1q outer-vid vid register inner-vid v-list
Use this command to configure the add policy list of outer vid based on protocol on tunnel port. Use
the no or default form of this command to restore the default setting.
dot1q outer-vid vid register inner-vid v_list
no dot1q outer-vid vid register inner-vid v_list
The policy list is null by default.
Interface configuration mode.
The following example specifies vid in the tag of input message as 4-22 and setss the vid to 3.
Ruijie#configure
Ruijie(config)#interface gigabitEthernet 0/1
Ruijie(config-if)#switchport mode dot1q-tunnel
Ruijie(config-if)#dot1q outer-vid 3 register inner-vid 4-22
Ruijie(config-if)#end
show registration-table [ interface intf-id ]
12.3 dot1q relay-vid vid translate local-vid v-list
Use this command to configure the modify policy list of outer vid based on protocol on access, trunk,
hybrid port. Use the no or default form of this command to restore the default setting.
dot1q relay-vid vid translate local-vid v-list
no dot1q relay-vid vid translate local-vid v-list
default dot1q relay-vid vid translate local-vid v-list