D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 12 QinQ Configuration
12-25
Note
1 In QinQ configuration model, when the
service-network-connecting uplink port of edge device or the
interconnecting ports of service provider devices are Trunk
ports or Hybrid ports, please don't set the native vlan of trunk
ports or hybrid ports to the default vlan of tunnel port,
because packets leaving the trunk port or hybrid port will be
stripped off the Tag with VID being its native vlan.
2 QinQ-enabled device will encapsulate the outer Tag of other
VLAN for user packets and won't forward packets as per the
original VLAN in the packets. Therefore, there is no need to
create user's VLAN on the device.
12.3.1.4 Configuration Steps
1) Configure Provider A
Step 1: Create provider VLAN 10 and VLAN 20 to distinguish the traffic of two
users
DES-7200#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
DES-7200(config)#vlan 10
DES-7200(config-vlan)#exit
DES-7200(config)#vlan 20
DES-7200(config-vlan)#exit
Step 2: Enable basic QinQ on the interface connecting to the network of
Company A, and use VLAN 10 to transmit the traffic of Company A through
tunnel.
DES-7200(config)#interface gigabitEthernet 0/1
DES-7200(config-if-GigabitEthernet 0/1)#switchport mode dot1q-tunnel
DES-7200(config-if-GigabitEthernet 0/1)#switchport dot1q-tunnel native vlan
10
DES-7200(config-if-GigabitEthernet 0/1)#switchport dot1q-tunnel allowed
vlan add untagged 10
Step 3: Enable basic QinQ on the interface connecting to the network of
Company B, and use VLAN 20 to transmit the traffic of Company B through
tunnel.
DES-7200(config)#interface gigabitEthernet 0/2
DES-7200(config-if-GigabitEthernet 0/2)#switchport mode dot1q-tunnel
DES-7200(config-if-GigabitEthernet 0/2)#switchport dot1q-tunnel native vlan
20