Chapter 37: Class of Service Commands
Priority Commands (Layer 2)
– 1124 –
switchport
priority default
This command sets a priority for incoming untagged frames. Use the
no
form to restore the default value.
S
YNTAX
switchport priority default
default-priority-id
no switchport priority default
default-priority-id
- The priority number for untagged ingress traffic.
The priority is a number from 0 to 7. Seven is the highest priority.
D
EFAULT
S
ETTING
The priority is not set, and the default value for untagged frames received
on the interface is zero.
C
OMMAND
M
ODE
Interface Configuration (Ethernet, Port Channel)
C
OMMAND
U
SAGE
•
The precedence for priority mapping is IP DSCP, and then default
switchport priority.
•
The default priority applies for an untagged frame received on a port
set to accept all frame types (i.e, receives both untagged and tagged
frames). This priority does not apply to IEEE 802.1Q VLAN tagged
frames. If the incoming frame is an IEEE 802.1Q VLAN tagged frame,
the IEEE 802.1p User Priority bits will be used.
•
The switch provides four priority queues for each port. It can be
configured to use strict priority queuing, Weighted Round Robin (WRR),
or a combination of strict and weighted queuing using the
command. Inbound frames that do not have VLAN tags are tagged with
the input port's default ingress user priority, and then placed in the
appropriate priority queue at the output port. The default priority for all
ingress ports is zero. Therefore, any inbound frames that do not have
priority tags will be placed in queue 1 of the output port. (Note that if
the output port is an untagged member of the associated VLAN, these
frames are stripped of all VLAN tags prior to transmission.)
E
XAMPLE
The following example shows how to set a default priority on port 3 to 5:
Console(config)#interface ethernet 1/3
Console(config-if)#switchport priority default 5
Console(config-if)#
R
ELATED
C
OMMANDS
show interfaces switchport (937)
show queue mode
This command shows the current queue mode.
Summary of Contents for SSE-G2252
Page 42: ...44 General IP Routing on page 627...
Page 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Page 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Page 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Page 1007: ...Chapter 33 Address Table Commands 1019...
Page 1137: ...Chapter 38 Quality of Service Commands 1150...