2-226
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2Cisco IOS Commands for the Catalyst 4500 Series Switches
qos vlan-based
qos vlan-based
To enable per-VLAN QoS for a Layer 2 interface, use the qos vlan-based command. To disable
per-VLAN QoS for a Layer 2 interface, use the no form of this command.
qos vlan-based
no qos vlan-based
Syntax Description This command has no arguments or keywords.
Defaults Per-VLAN QoS is disabled.
Command Modes Interface configuration
Command History
Usage Guidelines In VLAN-based mode, the policy map attached to the Layer 2 interface is ignored, and QoS is driven by
the policy map attached to the corresponding VLAN interface.
Per-VLAN QoS can be configured only on Layer 2 interfaces.
If no input QoS policy is attached to a Layer 2 interface, then the input QoS policy attached to the VLAN
(on which the packet is received), if any, is used even if the port is not configured as VLAN-based.
If you do not want this default, attach a placeholder input QoS policy to the Layer 2 interface.
Similarly, if no output QoS policy is attached to a Layer 2 interface, then the output QoS policy attached
to the VLAN (on which the packet is transmitted), if any, is used even if the port is not configured as
VLAN-based.
If you do not want this default, attach a placeholder output QoS policy to the Layer 2 interface.
Layer 3 interfaces are always in interface-based mode. Layer 3 VLAN interfaces are always in
VLAN-based
Examples This example shows how to enable per-VLAN QoS for a Layer 2 interface:
Switch(config-if)# qos vlan-based
Switch(config-if)#
Related Commands qos cos
show qos interface
Release Modification
12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch.