
Priority Commands
4-147
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
This command sets 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.
Default Setting
The priority is not set, and the default value for untagged frames received on
the interface is zero.
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
4-147
Priority (Layer 3 and 4) Maps TCP ports, IP precedence tags, or IP DSCP tags to class of
service values
4-152
Command Function Mod
e
Page
switchport priority default Sets a port priority for incoming untagged frames IC 4-147
queue mode Sets the queue mode to strict priority or Weighted
Round-Robin (WRR)
GC 4-148
queue bandwidth Assigns round-robin weights to the priority queues GC 4-149
queue cos map Assigns class-of-service values to the priority queues IC 4-150
show queue mode Shows the current queue mode PE 4-151
show queue bandwidth Shows round-robin weights assigned to the priority queues PE 4-151
show queue cos-map Shows the class-of-service map PE 4-151
show interfaces
switchport
Displays the administrative and operational status of an
interface
PE 4-93