2-417
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set port qos
set port qosTo specify whether an interface is interpreted as a physical port or as a VLAN, use the set port qos
command.
set port qos mod/ports... port-based | vlan-based
Syntax Description
Defaults The default is ports are port-based if QoS is enabled and VLAN-based if QoS is disabled.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines This command is not supported by the NAM.
When you change a port from port-based QoS to VLAN-based QoS, all ACLs are de tached from the por t.
Any ACLs attached to the VLAN apply to the port immediately.
When you set a port to VLAN-based QoS using the set port qos command with RSVP or COPS QoS
enabled on that port, the QoS policy source is COPS, or DSBM- ele ctio n is en ab led. T he V LA N-b ased
setting is saved in NVRAM only.
Examples This example shows how to specify an interface as a physical port:
Console> (enable) set port qos 1/1-2 port-based
Updating configuration ...
QoS interface is set to port-based for ports 1/1-2.
Console> (enable)
This example shows how to specify an interface as a VLAN:
Console> (enable) set port qos 3/1-48 vlan-based
Updating configuration ...
QoS interface is set to VLAN-based for ports 3/1-48.
Console> (enable)
mod/ports... Number of the module and the ports on the module.
port-based Interprets the interface as a physical port.
vlan-based Interprets the interface as part of a VLAN.