Switch command reference
Switching
2-21
iMG/RG Software Reference Manual (Switching)
2.2.4.1.22 SWITCH SET PORT DEFAULTPRIORITY
Syntax
SWITCH SET PORT <portname> DEFAULTPRIORITY <priority>
Description
This command sets the priority value on the 802.1p priority field for all the frames that
arrive on the switch port as untagged frames.
This command works only if the 802.1p support has been previously enabled via the
switch set port 802.1p enable command.
When an untagged frame arrives to a port where the default priority value has not been
specified, and the egress port is tagged, the 802.1p priority field of the outgoing frame
frame will be set to 0.
This command can be used to set the port priority, with the priority queue for the speci-
fied port depending on the queue that the port is associated with. This association is
shown using the SWITCH SHOW 802.1p command. Refer to the example, below, where
using the example command
switch set port lan1 defaultopriority 5
, the
port priority for lan1 will be set for 5. To know the priority queue for lan1, use the com-
mand
SWITCH SHOW 802.1p
. This shows that the queue associated to the value 5 is H
(high priority) so lan1 port outgoing packets will be put in the high priority queue.
To show the current port status, use the SWITCH SHOW PORT command.
Options
The following table gives the range of values for each option which can be specified with
this command and a default value (if applicable).
Example
--> switch set port lan1 defaultopriority 5
-> switch show 802.1p
802.1p Queue Map
-------------------------------------------------------------------
PID
|
0 1 2 3 4 5 6 7
-----------------
QUEUE |
. . . . H H H H
-------------------------------------------------------------------
See also
SWITCH SHOW PORT
Option
Description
Default Value
port-name
The name of the switch port to be configured.
See Section 2.3 for a list of possible port names.
N/A
defaultpriority
The default priority value to be set when untagged
frames are forwarded to a tagged egress port.
Valid range is 0 to 7.
0