63
Network requirements
Configure CQ to assign packets from interface GigabitEthernet 1/0/1 to queue 1 and
specify queue 1 to send 1635000 bytes during a cycle of round robin queue scheduling.
Configuration procedure
1. Enter system view:
<Sysname> system-view
2. Configure queue 1 as the default queue in CQ list 1:
[Sysname]qos cql 1 default-queue 1
3. Configure CQ list 1 to assign packets with local precedence value 4 to queue 1:
[Sysname]qos cql 1 local-precedence 4 queue 1
4. Set the maximum length of queue 1 to 1000 in CQ list 1:
[Sysname]qos cql 1 queue 1 queue-length 1000
5. Configure queue 1 to send 1635000 bytes in a cycle of round robin queue
scheduling in CQ list 1:
[Sysname]qos cql 1 queue 1 serving 1635000
6. Apply CQ list 1 to interface GigabitEthernet1/0/1, and configure interface
GigabitEthernet 1/0/1 to use the 802.1p priority of received packets for priority
mapping:
[Sysname]interface gigabitEthernet1/0/1
[Sysname-GigabitEthernet1/0/1]qos cq cql 1
[Sysname-GigabitEthernet1/0/1]qos trust dot1p