2-107
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands clear qos autoqos
Various error conditions can occur when the global clear command is used. If you have properly
executed the port-based clear commands before using the global clear command, no error conditions
should occur. However, if you execute the global clear command first or have modified the automatic
QoS configuration, the following error conditions could occur:
Automatic QoS ACLs still mapped to a port or VLAN
The global clear command will not clear automatic QoS ACLs that are still mapped to a VLAN or
port. Instead, it displays a warning indicating the name of the QoS ACL still mapped to a port or
VLAN.
Aggregate policers still in use
If the automatic QoS policers found are still in use (ref eren ced by a Qo S ACL), the glob al clear
command does not remove them. Instead, it displays the name of the aggregate policer.
Uncommitted automatic QoS ACLs
The global clear command only removes committed automatic QoS ACLs; it ignores uncommitted
automatic QoS ACLS.
Examples This example shows how to return the global automatic QoS configuration to the factor y default set tings:
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
Do you want to continue (y/n) [n]? y
........................
Autoqos ACL 'ACL_IP-SOFTPHONE-3-1' successfully deleted.
Cleared Autoqos policer 'POLICE_SOFTPHONE-DSCP46-3-1'
Cleared Autoqos policer 'POLICE_SOFTPHONE-DSCP26-3-1'
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)
This example shows what is displayed under the various error conditions desc ribe d in th e “U sage
Guidelines” section:
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
Do you want to continue (y/n) [n]? y
........................
Autoqos ACL 'ACL_IP-SOFTPHONE-3-2' successfully deleted.
Autoqos ACL 'ACL_IP-SOFTPHONE-3-3' successfully deleted.
Autoqos ACL 'ACL_IP-SOFTPHONE-3-4' still mapped to port or vlan.
Autoqos ACL 'ACL_IP-SOFTPHONE-3-5' still mapped to port or vlan.
Autoqos ACL 'ACL_IP-SOFTPHONE-3-6' still mapped to port or vlan.
Cleared Autoqos policer 'POLICE_SOFTPHONE-DSCP46-3-2'
Cleared Autoqos policer 'POLICE_SOFTPHONE-DSCP26-3-2'
Cleared Autoqos policer 'POLICE_SOFTPHONE-DSCP46-3-3'
Cleared Autoqos policer 'POLICE_SOFTPHONE-DSCP26-3-3'
Could not clear Autoqos policer ''POLICE_SOFTPHONE-DSCP46-3-4', still in use.
QoS is disabled.