set port priority

Use this command to set the 802.1D (802.1p) Class-of-Service transmit queue priority (0 through 7) on each port.

Syntax

set port priority port-string priority

Parameters

port-string Specifies the port(s) for which to set priority.
priority Specifies a value of 0 - 7 to set the CoS port priority for the port entered in the port-string. Port priority value of 0 is the lowest priority.

Defaults

None.

Mode

All command modes.

Usage

For commands to to configure protocol-based policy classification to a Class-of-Service, including a CoS policy to override port transmit queue priority, see .Policy Class of Service (CoS) Commands

When CoS override is enabled using the set policy profile command as described in set policy profile, CoS-based classification rules will take precedence over priority settings configured with this command.

A port receiving a frame without priority information in its tag header is assigned a priority according to the priority setting on the port. For example, if the priority of a port is set to 5, the frames received through that port without a priority indicated in their tag header are classified as a priority 5. A frame with priority information in its tag header is transmitted according to that priority.

Example

This example shows how to set a default priority of 6 on ge.1.3. Frames received by this port without priority information in their frame header are set to the default setting of 6:

System(rw)->set port priority ge.1.3 6