2-5
z
The public network permits packets of VLAN 1000 and VLAN 1200. Apply QoS policies for these
packets to reserve bandwidth for packets of VLAN 1200. That is, packets of VLAN 1200 have
higher transmission priority over packets of VLAN 1000.
z
Employ the selective QinQ feature on Switch A and Switch B to differentiate traffic of PC users from
that of IP phone users, for the purpose of using QoS policies to guarantee higher priority for voice
traffic.
z
To reduce broadcast packets in the network, enable the inter-VLAN MAC address replicating
feature for selective QinQ.
Network diagram
Figure 2-3
Network diagram for selective QinQ configuration
Public Network
VLAN1000/VLAN1200
PC User
VLAN100~108
IP Phone User
VLAN200~230
Eth1/0/3
Eth1/0/5
For PC User
VLAN100~108
For IP Phone
VLAN200~230
SwitchA
SwitchB
Eth1/0/11
Eth1/0/12
Eth1/0/13
Configuration procedure
z
Configure Switch A.
# Create VLAN 1000, VLAN 1200 and VLAN 5 (the default VLAN of Ethernet 1/0/3) on SwitchA.
<SwitchA> system-view
[SwitchA] vlan 1000
[SwitchA-vlan1000] quit
[SwitchA] vlan 1200
[SwitchA-vlan1200] quit
[SwitchA] vlan 5
[SwitchA-vlan5] quit
# Configure Ethernet 1/0/5 as a hybrid port and configure it not to remove VLAN tags when forwarding
packets of VLAN 5, VLAN 1000, and VLAN 1200.
[SwitchA] interface Ethernet 1/0/5
[SwitchA-Ethernet1/0/5] port link-type hybrid