The following table summarizes the equivalent CLI command for items in the Class of Service/Trunk Settings page.
Command
Usage
switchport priority default
Sets a priority for the incoming untagged frames or the priority of frames
default-priority-id
received by the device connected to the specified interface
Example
Console(config)#interface port-channel 2
Console(config-if)#switchport priority default 5
Traffic Classes
On the Traffic Classes page, you can configure the mapping of frame priority tags to each port's four CoS priority queues.
For each port or trunk, the IEEE 802.1p priority level (from 0 to 7) listed in the Priority column can be mapped to one of the port's four traffic class queues
(from 0 to 3). The number 0 represents a low priority and higher values represent higher priorities.
CLI Commands
The following table summarizes the equivalent CLI commands for items in the Class of Service/Traffic Classes page.
Command
queue cos-map queue_id [cos1 ... cosn] Assigns traffic class values to the CoS priority queues.
show queue cos-map [interface]
Example
Console(config)#interface ethernet 1/1
Console(config-if)#queue cos-map 0 0 1 2
Console(config-if)#queue cos-map 1 3
Usage
Use the no form command to set the CoS map to the default values.