Assigning a priority based on VLAN-ID
This option assigns a priority to all outbound packets having the specified VLAN-ID (VID). You can configure this option by either specifying the VID ahead of the
qos
command or moving to the VLAN context for the VLAN you want to configure for priority.
Syntax:
vlan <vid> qos priority <0-7>
Configures an 802.1p priority for outbound packets belonging to the specified VLAN. This priority determines the packet’s queue in the outbound port to which it is sent. If the packet leaves the switch on a tagged port, it carries the 802.1p priority with it to the next downstream device. You can configure one QoS classifier for each VLAN-ID.
(Default:
No-override
)
Syntax:
no vlan <vid> qos
Removes the specified VLAN-ID as a QoS classifier and resets the priority for that VLAN to
No-override
.
Syntax:
show qos vlan-priority
Displays a listing of the QoS VLAN-ID classifiers currently in the running-config file, with their priority data.