Configuration Guide QinQ Configuration
no traffic-redirect access-group acl
nested-vlan VID in
Flow-based VID change policy table takes precedence
over protocol-based VID change policy table.
When you configure member port on AP, the configured
VID add policy or VID change policy will be deleted.
Reconfiguration of VID add policy or VID change policy is
necessary. It is recommended to configure VID policy on
AP after configuring member port.
Once ACL is deleted, the ACL related policies will be
deleted as well.
When the packets with the tag larger than or equal to
Layer 2 are received on the dot1q-tunnel port, you can add
tag by flow-based match rule.
If a packet matches two or more flow policies without
priority specified simultaneously, the early configured
policy takes effect.
The following example adds the VID 9 to the packets from 1.1.1.3:
Ruijie# configure
Ruijie(config)# ip access-list standard 20
Ruijie(config-acl-std)# permit host 1.1.1.3
Ruijie(config-acl-std)# 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
Configure outer VID change policy table
For the packets incoming from Access port, Trunk port, Hybrid port and Uplink
port, sometimes you need to change the VIDs of outer tags according to the
contents of incoming packets. Run the traffic-redirect access-group acl
outer-vlan VID in command to change the VID of outer tag of the packets
matching ACL.
Enter the global configuration mode.