set prio

To set the QoS (Quality of Service) priority level, use the set priocommand.

policy mode set prio { auto | on }

egress-policy modeset prio { best-effort | | bronze | | fc | | gold | | platinum | | silver }

Syntax Description

auto

Sets priority to automatic.

on

Enables priority.

best-effort

Sets priority to the best effort level.

bronze

Sets priority to the the bronze level.

fc

Sets priority to the Fibre Channel level.

gold

Sets priority to the gold level.

platinum

Sets priority to the platinum level.

silver

Sets priority to the silver level.

Command Default

For policy mode, the default is Auto.

For egress-policy mode, the default is Best Effort.

Command Modes

Policy (/eth-uplink/flow-control/policy)

Egress policy (/org/qos-policy/egress-policy)

Command History

Release Modification
1.0(1)

This command was introduced for policy mode.

1.1(1)

This command was introduced for egress-policy mode.

Usage Guidelines

Following are the ratings of the different priorities:


  • Best effort—All unmatched

  • Bronze—1

  • FC—3

  • Gold—4

  • Platinum—5

  • Silver—2

Examples

This example shows how to set priority in policy mode:

switch-A# scope eth-uplink
switch-A /eth-uplink # scope flow-control                                       
switch-A /eth-uplink/flow-control # scope policy 
switch-A /eth-uplink/flow-control/policy # set prio on
switch-A /eth-uplink/flow-control/policy* # commit-buffer  
switch-A /eth-uplink/flow-control/policy #                                   

Related Commands

Command

Description

show policy

 

show stats-threshold-policy