60
PQ configuration example (on any H3C WX access controllers but
WX5002)
NOTE:
For Ethernet interface configuration prerequisites on different H3C WX access controllers, see
Table 10
. This configuration example was created on WX3024.
Network requirements
As shown in
Figure 14
, Client A and Client B get data from Server through the AC.
Configure the AC to preferentially process data from the higher-priority client.
Configuration procedure
1.
Enter system view:
<AC> system-view
2.
Configure PQ list 1 to assign packets that match no criteria to the middle queue:
[AC] qos pql 1 default-queue middle
3.
Configure PQ list 1 to assign packets with local precedence value 5 to the top
queue:
[AC] qos pql 1 local-precedence 5 queue top
4.
Set the maximum length to 1000 for the middle queue in PQ list 1:
[AC] qos pql 1 queue middle queue-length 1000
5.
Apply PQ list 1 to interface GigabitEthernet 1/0/1 and configure interface
GigabitEthernet 1/0/1 to use the 802.1p priority of the received packets for priority
mapping:
[AC] interface gigabitethernet1/0/1
[AC-GigabitEthernet1/0/1] qos pq pql 1
[AC-GigabitEthernet1/0/1] qos trust dot1p
Configuring CQ
You can configure a CQ list that contains up to 16 queues (queues 1 through 16), with
each queue including the match criteria for packets to enter the queue, the length of
the queue, and the bytes sent from the queue during a cycle of round robin queue
scheduling. Only one CQ list can be applied to an interface.