D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 12 QinQ Configuration
12-9
inner-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
inner-vid v_list
Configure the policy to change the VID of
outer tag according to the inner tag.
no dot1q relay-vid VID translate
inner-vid v_list
Remove the configuration
end
Exit the interface mode.
show running-config
Show the configuration.
Note
DES-7200 series support up to 2K policies.
The following example changes the VID of outer tag as 100 when the VID of
inner 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 inner-vid 10-20
DES-7200(config-if)# end
Configure inner tag+outer tag based VID change policy table
For ingress packets on Access, Trunk, Hybrid and Uplink ports, sometimes we
need to change the VID of outer Tag to different values. Use "dot1q
new-outer-vlan VID translate old-outer-vlan vid inner-vlan v_list" command
to specify the new outer VID, old outer VID and inner Tag list, and use "no
dot1q new-outer-vlan VID translate old-outer-vlan vid inner-vlan v_list"
command to remove the configuration. Please refer to command reference for
detailed commands.
The configuration steps are shown below:
Command Function
configure terminal
Enter the global configuration mode.
interface intf-id
Enter the interface configuration mode.