Configuration Guide QinQ Configuration
Enter the interface configuration mode.
switchport mode port-type
Set the port as Access port, Trunk port,
Uplink port or Hybrid port.
traffic-redirect access-group acl
outer-vlan VID in
Change the VID of outer tag according to
the flow.
no traffic-redirect access-group acl
outer-vlan
Flow-based outer VID change policy table takes
precedence over protocol-based outer 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.
If a packet matches two or more flow policies without
priority specified simultaneously, the early configured
policy takes effect.
The following example changes the VID of outer tag as 3 for the packets from
1.1.1.1:
Ruijie# configure
Ruijie(config)# ip access-list standard 2
Ruijie(config-acl-std)# permit host 1.1.1.1
Ruijie(config-acl-std)# exit
Ruijie(config)# interface gigabitEthernet 0/1
Ruijie(config-if)# switchport mode trunk
Ruijie(config-if)# traffic-redirect access-group 2
outer-vlan 3 in
Ruijie(config-if)# end