System information

3-111
Priority Commands
3
Priority Commands
The commands described in this section allow you to specify which data packets
have greater precedence when traffic is buffered in the switch due to congestion.
This switch supports CoS with four priority queues for each port. Data packets in a
port’s high-priority queue will be transmitted before those in the lower-priority
queues. You can set the default priority for each interface, the relative weight of each
queue, and the mapping of frame priority tags to the switch’s priority queues.
Priority Commands (Layer 2)
switchport priority default
Use this command to set a priority for incoming untagged frames. Use the no form
to restore the default value.
Syntax
switchport priority default default-priority-id
no switchport priority default
default-priority-id - The priority number for untagged ingress traffic.
The priority is a number from 0 to 7. Seven is the highest priority.
Table 3-34. Priority Commands
Command Groups Function Page
Priority (Layer 2) Configures default priority for untagged frames, sets queue weights,
and maps class of service tags to hardware queues
3-111
Priority (Layer 3 and 4) Maps TCP ports, IP precedence tags, or IP DSCP tags to class of
service values
3-115
Table 3-35. Priority Commands (Layer 2)
Command Function Mode Page
switchport priority default Sets a port priority for incoming untagged frames IC 3-111
queue bandwidth Assigns round-robin weights to the priority queues GC 3-112
queue cos map Assigns class-of-service values to the priority queues IC 3-113
show queue mode Shows the current queue mode PE 4-163
show queue bandwidth Shows round-robin weights assigned to the priority queues PE 3-114
show queue cos-map Shows the class-of-service map PE 3-114
show interfaces switchport Displays the administrative and operational status of an
interface
PE 3-65