CLI ReferenceInterface Configuration Commands QinQ Configuration Commands
Interface configuration mode.
Here is an example of adding the vid of input message whose source
address is 1.1.1.3 as 9:
Ruijie#configure
Ruijie(config)#ip access-list standard 20
Ruijie(config-std-nacl)#permit host 1.1.1.3
Ruijie(config-std-nacl)#exit
Ruijie(config)# interface gigabitEthernet 0/1
Ruijie(config-if)# switchport mode dot1q-tunnel
Ruijie(config-if)# traffic-redirect access-group 20 nested-vlan 10
in
Ruijie(config-if)# end
The software version must be RGOS10.1 and later.
vlan-mapping-in vlan src-vlan-list remark dest-vlan
Use this command to configure the policy list of the VLAN mapping in the incoming
direction on the access, trunk, hybrid, uplink port.
vlan-mapping-in vlan src-vlan-list remark dest-vlan
no vlan-mapping-in vlan src-vlan-list remark dest-vlan
Vid list of the input packets.
Interface configuration mode.