Configuring QoS Class of Service Configuration
Configuration Guide  
  435
Step 2 interface {fastEthernet 
port
 | range fastEthernet 
port-list
 | gigabitEthernet 
port
 | range 
gigabitEthernet 
port-list
 | ten-gigabitEthernet 
port
 | range ten-gigabitEthernet 
port-list
 | port-
channel 
port-channel-id
 | range port-channel 
port-channel-list
}
Enter interface configuration mode.
Step 3 qos trust mode {
untrust
 | 
dot1p
 | 
dscp
}
Select the trust mode for the port. By default, it is untrust. Here we set the trust mode as dot1p.
dot1p: 
Specify the ports’ trust mode as dot1p. In this mode, the tagged packets will be 
processed according to the 802.1p priority configuration and the untagged packets will be 
processed according to the port priority configuration.
Step 4 show qos trust interface [fastEthernet 
port
 | gigabitEthernet 
port
 | ten-gigabitEthernet 
port
 
| port-channel 
port-channel-id
]
Verify the trust mode of the ports.
Step 5 end
Return to privileged EXEC mode.
Step 6 copy running-config startup-config
Save the settings in the configuration file.
Configuring the 802.1p to Queue Mapping and 802.1p Remap
Follow these steps to configure the 802.1p to queue mapping and 802.1p remap:
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 qos dot1p-remap {
dot1p-priority
} {
new-dot1p-priority
}
(Optional) Specify the 802.1p to 802.1p mappings. 802.1p Remap is used to modify the 802.1p 
priority of the ingress packets. When the switch detects the packets with desired 802.1p 
priority, it will modify the value of 802.1p priority according to the map. By default, the original 
802.1p priority 0 is mapped to the 802.1p priority 0, the original 802.1p priority 1 is mapped to 
the 802.1p priority 1 and so on.
dot1p-priority: 
Specify the original 802.1p priority. The valid values are from 0 to 7.
new-dot1p-priority: 
Specify the new 802.1p priority. The valid values are from 0 to 7.
Step 4 show qos cos-map
Verify the 802.1p to queue mappings.