DES-7200 Configuration Guide Chapter 12 QinQ Configuration
12-13
The following example changes the VID of outer tag as 3 for the packets from
1.1.1.1:
DES-7200# configure
DES-7200(config)# ip access-list standard 2
DES-7200(config-acl-std)# permit host 1.1.1.1
DES-7200(config-acl-std)# exit
DES-7200(config)# interface gigabitEthernet 0/1
DES-7200(config-if)# switchport mode trunk
DES-7200(config-if)# traffic-redirect access-group 2 outer-vlan 3 in
DES-7200(config-if)# end
Configure inner VID change policy table
For the packets outgoing from Access port, Trunk port, Hybrid port and Uplink
port, sometimes you need to change the VIDs of inner tags according to the
contents of outgoing packets. Run the traffic-redirect access-group acl
inner-vlan VID out command to change the VID of inner tag of the packets
matching ACL.
Command Function
configure terminal
Enter the global configuration mode.
interface intf-id
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
inner-vlan VID out
Change the VID of inner tag according to
the flow.
no traffic-redirect access-group acl
inner-vlan
Remove the configuration
end
Exit the interface mode.
show running-config
Show the configuration.