Handbook

Error! Use the Home tab to apply 見出し 1 to the text that you want to appear here. 84
Figure 13 Layer 2 802.1q/802.1p VLAN tagged packet
Ingress packets receive a priority value, as follows:
Tagged packetsswitch reads the 802.1p priority in the VLAN tag.
Untagged packetsswitch tags the packet and assigns an 802.1p priority, based on the port‘s
default priority (/cfg/port x/8021ppri).
Egress packets are placed in a COS queue based on the priority value, and scheduled for transmission
based on the scheduling weight of the COS queue.
Use the /cfg/qos/8021p/cur command to display the mapping between 802.1p values, Class of
Service queues (COSq), and COSq scheduling weights.
>> 802.1p# cur
Current priority to COS queue configuration:
Number of COSq: 2
Priority COSq Weight
-------- ---- ------
0 0 1
1 0 1
2 0 1
3 0 1
4 1 2
5 1 2
6 1 2
7 1 2
802.1p configuration (AOS CLI example)
1. Configure a port‘s default 802.1 priority.
>> Main# cfg/port 20 (Select port)
>> Port 20# 8021ppri (Set port’s default 802.1p priority)
Current 802.1p priority: 0
Enter new 802.1p priority [0-7]: 1
>> Port 20# apply
2. Map the 802.1p priority value to a COS queue and set the COS queue scheduling weight.
>> Main# cfg/qos/8021p (Select 802.1p menu)
>> 802.1p# priq (Set COS queue assignments)
Enter priority [0-7]: 1
Current COS queue (for priority 1): 0
Enter new COS queue (for priority 1) [0-1]: 1
>> 802.1p# qweight (Set COS queue weights)
Enter COS queue [0-1]: 1
Current weight (for COS queue 1): 0
Enter new weight (for COS queue 1) [0-15]: 1
>> 802.1p# apply