DES-7200 Configuration Guide Chapter 12 QinQ Configuration
12-8
Note
DES-7200 series support mapping 4K consecutive inner VIDs
to one outer VID.
Configure outer tag-based 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
VIDs of outer tags of incoming packets. Run the dot1q relay-vid VID translate
local-vid v_list command to change the local VID (VID of outer tag before
change) list.
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.
dot1q relay-vid VID translate
local-vid v_list
Configure the policy to change the VID of
outer tag according to original VID of outer
tag.
no dot1q relay-vid VID translate
local-vid v_list
Remove the configuration
end
Exit the interface mode.
show running-config
Show the configuration.
Note
This function is supported on the 7200-24, 7200-24G, 7200-48,
7200-48P, 7200-2XG, 7200-4XG, 7200-24GE and
7200-24G2XG line cards of DES-7200 series.
The following example changes the VID of outer tag as 100 when the VID of
outer tag of incoming packets is 10-20.
DES-7200(config)# interface gigabitEthernet 0/1
DES-7200(config-if)# switchport mode trunk
DES-7200(config-if)# dot1q relay-vid 100 translate local-vid 10-20
DES-7200(config-if)# end
Configure inner tag-based 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
VIDs of inner tags of incoming packets. Run the dot1q relay-vid VID translate