23 class of service commands, 1 priority commands (layer 2), Queue mode – Planet Technology SGSD-1022 User Manual

Page 618

Advertising
background image

User’s Manual of SGSD-1022 / SGSD-1022P

SGSW-2840 / SGSW-2840P

618

5.23 Class of Service 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.

Command Group

Function

Priority (Layer 2)

Configures default priority for untagged frames, sets queue weights, and

maps class of service tags to hardware queues

Priority (Layer 3 and 4)

Maps IP port and IP DSCP, Precedence, and TOS values to class of

service queues

Table 5-76 Priority Commands

5.23.1 Priority Commands (Layer 2)

This section describes commands used to configure Layer 2 traffic priority on the switch.

Command

Function

Mode

queue mode

Sets the queue mode to strict priority, Weighted Round-Robin

(WRR), or hybrid

GC

switchport priority default

Sets a port priority for incoming untagged frames

IC

queue bandwidth

Assigns round-robin weights to the priority queues

GC

queue cos map

Assigns class-of-service values to the priority queues

IC

show queue mode

Shows the current queue mode

PE

show queue bandwidth

Shows round-robin weights assigned to the priority queues

PE

show queue cos-map

Shows the class-of-service map

PE

show interfaces switchport

Displays the administrative and operational status of

aninterface

PE

Table 5-77 Priority Commands (Layer 2)

queue mode

This command sets the queue mode to strict priority, Weighted Round-Robin (WRR), or or a combination of both for the class of

service (CoS) priority queues. Use the no form to restore the default value.

Syntax

queue mode {strict | wrr | hybrid}

no queue mode

strict - Services the egress queues in sequential order, transmitting all traffic in the higher priority queues before

Advertising