switchport priority default
Use this command to set a priority for incoming untagged frames, or the priority
of frames received by the device connected to the specified interface. Use the no
form to restore the default value.
Syntax
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.
Default Setting
The priority is not set, and the default value for untagged frames received on
the interface is zero. The switch is not instructed what to do with the priority.
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
> The precedence for priority mapping is IP Port, IP Precedence or IP DSCP,
and default switchport priority.
> The default port priority applies if the incoming frame is an untagged frame
received from a VLAN trunk or a static-access port. 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.
> This switch provides four priority queues for each port. It is configured to use
Weighted Round Robin, which can viewed with the queue bandwidth com-
mand. 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 0 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.)
230