53-16
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 53 Using Automatic QoS
Using the Automatic QoS Macro on the Switch
All ingress and egress QoS scheduling parameters set to factory default.
CoS to DSCP, DSCP to COS, IP Precedence to DSCP and policed dscp maps
configured. Global Autoqos QoS cleared.
Console> (enable)
The QoS ACLs that are created through the
set port autoqos
commands are cleared when you enter the
global automatic QoS
clear
command. In addition, any policers that are used by the automatic QoS
ACLs are cleared.
The global automatic QoS
clear
command searches for the automatic QoS ACL names. The search
algorithm looks for names that begin with these strings:
•
ACL_IP-PHONES (for ciscoipphone)
•
ACL_IP-SOFTPHONE (for ciscosoftphone)
•
ACL_IP-TRUSTCOS (for trust cos)
•
ACL_IP-TRUSTDSCP (for trust dscp)
Any QoS ACL that starts with the above strings is considered an automatic QoS ACL and is cleared. If
one is found and the QoS ACL is committed and not mapped to a port or a VLAN, the automatic QoS
ACL is deleted.
Similarly, the search algorithm looks for the aggregate QoS policers starting with the name:
POLICE_SOFTPHONE-DSCP (for ciscosoftphone).
The global
clear
command searches for the aggregate policer names that begin with
POLICE_SOFTPHONE-DSCP. If a policer is found, and there is no QoS ACL that is associated with it,
it is deleted. If a policer is found, and there is a QoS ACL that is associated with it, a warning is displayed
indicating that the policer is still in use.
Various error conditions can occur when you use the global
clear
command. If you have properly
executed the port-based
clear
commands before entering the global
clear
command, no error conditions
should occur. However, if you execute the global
clear
command first or modify the automatic QoS
configuration, these error conditions could occur:
•
The automatic QoS ACLs are still mapped to a port or VLAN.
The global
clear
command does not clear the automatic QoS ACLs that are still mapped to a VLAN
or port. Instead, the command displays a warning indicating the name of the QoS ACL that is still
mapped to a port/VLAN.
•
The aggregate policers are still in use.
If the automatic QoS policers are still in use (referenced by a QoS ACL), the global
clear
command
does not remove them. Instead, it displays the name of the aggregate policer.
•
The automatic QoS ACLs are uncommitted.
The global
clear
command removes only the committed automatic QoS ACLs but ignores the
uncommitted automatic QoS ACLs.
This example shows what is displayed under these various error conditions:
Console> (enable)
clear qos autoqos
Its highly recommended to execute clear port autoqos commands prior
to the global clear command:
clear port qos <mod/port> autoqos