D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 12 QinQ Configuration
12-10
Command Function
switchport mode port-type
Configure to Access, Trunk, Uplink or
Hybrid port.
dot1q new-outer-vlan VID translate
old-outer-vlan vid inner-vlan v_list
Configure outer Tag + inner Tag based
outer Tag VID mapping rule.
no dot1q new-outer-vlan VID
translate old-outer-vlan vid inner-vlan
v_list
Remove the outer Tag + inner Tag based
outer Tag VID mapping rule.
end
Exit the interface mode.
show translation-table
Show the configuration.
The following example shows how to map the vid to 3888 when inner Tag VID
and outer Tag VID of ingress packets are 2001-3000 and 1888 respectively.
DES-7200(config)# vlan 1888, 3888
DES-7200(config)# interface gigabitEthernet 0/1
DES-7200(config-if)# switchport mode trunk
DES-7200(config-if)# dot1q new-outer-vlan 3888 translate old-outer-vlan 1888
inner-vlan 2001-3000
DES-7200(config-if)# end
12.2.4.2 Configure flow-based VID
change policy table
Configure VID add policy table
Configure outer VID change policy table
Configure inner VID change policy table
Configure VID add policy table
For an incoming packet on dot1q-tunnel port, in some case, it is necessary to
specify the VID of outer tag for the packet according to its content. Run
thetraffic-redirect access-group acl nested-vlan VID in comamnd to specify
the VID of outer tag when the packet incoming from the dot1q-tunnel port
matches ACL.
Command Function
configure terminal
Enter the global configuration mode.
interface intf-id
Enter the interface configuration mode.
switchport mode dot1q-tunnel
Set the port as a dot1q-tunnel port.