D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 12 QinQ Configuration
12-7
Configure protocol-based VID change policy table
Configure flow-based VID change policy table
12.2.4.1 Configure protocol-based VID
change policy table
Configure VID add policy table
Configure outer tag-based VID change policy table
Configure inner tag-based VID change policy table
Configure inner tag-based+outer tag-based 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 during forwarding according to the
VID of the tags of the packet. Run the dot1q outer-vid command to specify the
outer VID when adding outer tag to inner VID list. With this command, you can
specify an internal VLAN and add the same outer VID as the inner VID, and add
the egress to the untagged port set of the VLAN. In addtion, the packets with
original inner tag can be outputted via egress.
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.
dot1q outer-vid VID register inner-vid
v_list
Configure the protocol-based policy to add
the VID of outer tag.
no dot1q outer-vid VID register
inner-vid v_list
Remove the configuration
end
Exit the interface mode.
show running-config
Show the configuration.
The following example adds the VID 3 of outer tag when the VID of the tag of
incoming packet is 4-22:
DES-7200# configure
DES-7200(config)# interface gigabitEthernet 0/1
DES-7200(config-if)# switchport mode dot1q-tunnel
DES-7200(config-if)# switchport dot1q-tunnel allowed vlan add tagged 3
DES-7200(config-if)# dot1q outer-vid 3 register inner-vid 4-22
DES-7200(config-if)# end