User Guide
448
Configuring QoS
Class of Service Configuration
Step 4
qos port-priority {
dot1p-priority
}
Specify the port to 802.1p priority mapping for the desired port. The ingress packets from
one port are first mapped to 802.1p priority based on the port to 802.1p mapping, then to TC
queues based on the 802.1p to queue mapping. The untagged packets from one port will be
added an 802.1p priority value according to the port to 802.1p mapping.
dot1p-priority:
Specify the 802.1p priority ranging from 0 to 7. The default value is 0.
Step 5
show qos trust interface [fastEthernet
port
| gigabitEthernet
port
| ten-gigabitEthernet
port
| port-channel
port-channel-id
]
Verify the trust mode of the ports.
Step 6
show qos port-priority interface [fastEthernet
port
| gigabitEthernet
port
| ten-
gigabitEthernet
port
| port-channel
port-channel-id
]
Verify the port to 802.1p mappings.
Step 7
end
Return to privileged EXEC mode.
Step 8
copy running-config startup-config
Save the settings in the configuration file.
■
Configuring the 802.1p to Queue Mapping
Follow these steps to configure the 802.1p to queue mapping:
Step 1
configure
Enter global configuration mode
Step 2
qos cos-map {
dot1p-priority
} {
tc-queue
}
Specify the 802.1p to queue mapping. The packets with the desired 802.1p priority will be put
in the corresponding queues. By default, the 802.1p priority 0 to 7 is respectively mapped to
TC-1, TC-0, TC-2, TC-3, TC-4, TC-5, TC-6, TC-7.
dot1p-priority:
Specify the 802.1p priority. The valid values are from 0 to 7.
tc-queue:
Specify the ID number of the TC queue. The valid values are from 0 to 7.
Step 3
show qos cos-map
Verify the 802.1p to queue mappings.
Step 4
end
Return to privileged EXEC mode.
Step 5
copy running-config startup-config
Save the settings in the configuration file.
Downloaded from