Configuration Guide     434
Configuring QoS Class of Service Configuration
The following example shows how to configure the trust mode of port 1/0/1 as untrust, 
map the port 1/0/1 to 802.1p priority 1 and map 802.1p priority 1 to TC3:
Switch#configure
Switch(config)#interface gigabitEthernet 1/0/1
Switch(config-if)#qos trust mode untrust
Switch(config-if)#qos port-priority 1
Switch(config-if)#exit
Switch(config)#qos cos-map 1 3
Switch(config)#show qos trust interface gigabitEthernet 1/0/1
Port          Trust Mode        LAG
--------     ---------               --------
Gi1/0/1     untrust               N/A
Switch(config)#show qos port-priority interface gigabitEthernet 1/0/1
Port           CoS Value        LAG
--------      ---------             --------
Gi1/0/1     CoS   1              N/A
Switch(config)#show qos cos-map
 ---------------+-----+-----+-----+-----+-----+-----+----+----
 Dot1p Value  |0        |1       |2        |3        |4        |5        |6      |7
 ---------------+-----+-----+-----+-----+-----+-----+----+----
 TC                     |TC0  |TC3  |TC2  |TC3  |TC4 |TC5  |TC6 |TC7
 ---------------+-----+-----+-----+-----+-----+-----+----+----
Switch(config)#end
Switch#copy running-config startup-config
2.2.2  Configuring 802.1p Priority
Configuring the Trust Mode
Follow these steps to configure the trust mode:
Step 1 configure
Enter global configuration mode