xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
111
show 802.1p user_priority
Purpose
Used to display the current mapping between an incoming packet’s 802.1p priority value
and one of the Switch’s seven hardware priority queues.
Syntax
show 802.1p user_priority
Description
This command is used to display the current mapping of an incoming packet’s 802.1p
priority value to one of the Switch’s seven hardware priority queues.
Parameters None.
Restrictions None.
Example usage:
To display 802.1p user priority:
D G S – 3 4 2 6 : 5 # s h o w 8 0 2 . 1 p u s e r _ p r i o r i t y
C o m m a n d : s h o w 8 0 2 . 1 p u s e r _ p r i o r i t y
Q O S C l a s s o f T r a f f i c
P r i o r i t y – 0 – > < C l a s s – 2 >
P r i o r i t y – 1 – > < C l a s s – 0 >
P r i o r i t y – 2 – > < C l a s s – 1 >
P r i o r i t y – 3 – > < C l a s s – 3 >
P r i o r i t y – 4 – > < C l a s s – 4 >
P r i o r i t y – 5 – > < C l a s s – 5 >
P r i o r i t y – 6 – > < C l a s s – 6 >
P r i o r i t y – 7 – > < C l a s s – 6 >
D G S – 3 4 2 6 : 5 #
config 802.1p default_priority
Purpose
Used to configure the 802.1p default priority settings on the Switch. If an untagged packet
is received by the Switch, the priority configured with this command will be written to the
packet’s priority field.
Syntax
config 802.1p default_priority [<portlist> | all] <priority 0–7>
Description
This command is used to specify a default priority handling of untagged packets received
by the Switch. The priority value entered with this command will be used to determine
which of the seven hardware priority queues the packet is forwarded to.
Parameters
<portlist>
−
Specifies a port or range of ports to be configured. The port list is specified by
listing the lowest switch number and the beginning port number on that switch, separated
by a colon. Then the highest switch number, and the highest port number of the range
(also separated by a colon) are specified. The beginning and end of the port list range are
separated by a dash. For example, 1:3 specifies switch number 1, port 3. 2:4 specifies
switch number 2, port 4. 1:3–2:4 specifies all of the ports between switch 1, port 3 and
switch 2, port 4
−
in numerical order. Non–contiguous portlist entries are separated by a
comma. (ex: 1:1–1:3,1:7–1:9)
all
−
Specifies that the command applies to all ports on the Switch.
<priority 0–7>
−
The priority value to assign to untagged packets received by the Switch
or a range of ports on the Switch.
Restrictions
Only Administrator and Operator-level users can issue this command.