Command Reference QinQ Commands
12.26 traffic-redirect access-group acl inner-vlan vid out
Use this command to configure the modification policy of inner vid based on flow for the packets
outputted from the access, trunk, hybrid port. Use the no or default form of this command to restore
the default setting.
traffic-redirect access-group acl inner-vlan vid out
no traffic-redirect access-group acl inner-vlan
default traffic-redirect access-group acl inner-vlan
By default, no policy is configured.
Interface configuration mode.
The following example specifies the outer vid of outgoing messages whose source address is 1.1.1.2
as 6,
Ruijie#configure
Ruijie(config)#ip access-list standard to_6
Ruijie(config-std-nacl)#permit host 1.1.1.2
Ruijie(config-std-nacl)#exit
Ruijie(config)# interface gigabitEthernet 0/1
Ruijie(config-if)# switchport mode trunk
Ruijie(config-if)# traffic-redirect access-group to_6 inner-vlan 6 out
Ruijie(config-if)# end