2-175
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands
mls qos vlan-based
mls qos vlan-based
Use the
mls qos
vlan-based
interface configuration command to enable VLAN-based quality of service
(QoS) on the physical port. Use the
no
form of this command to disable this feature.
mls qos vlan-based
no mls qos vlan-based
Syntax Description
There are no arguments or keywords.
Defaults
VLAN-based QoS is disabled.
Command Modes
Interface configuration
Command History
Usage Guidelines
Before attaching a hierarchical policy map to a switch virtual interface (SVI), use the
mls qos
vlan-based
interface configuration command on a physical port if the port is to be specified in the
secondary interface level of the hierarchical policy map.
When you configure hierarchical policing, the hierarchical policy map is attached to the SVI and affects
all traffic belonging to the VLAN. The individual policer in the interface-level traffic classification only
affects the physical ports specified for that classification.
For detailed instructions about configuring hierarchical policy maps, see the “Classifying, Policing, and
Marking Traffic by Using Hierarchical Policy Maps” section in the software configuration guide for this
release.
Examples
This example shows how to enable VLAN-based policing on a physical port:
Switch(config)#
interface gigabitethernet0/1
Switch(config-if)#
mls qos vlan-based
You can verify your settings by entering the
show mls qos interface
privileged EXEC command.
Related Commands
Release
Modification
12.2(46)EY
This command was introduced.
Command
Description
show mls qos interface
Displays QoS information.