06-09-2007 09:17 AM - edited 03-05-2019 04:36 PM
How do you properly remove the QOS queues and configs from the switch.
A was using auto qos which created a whole mess of qos configs on my running-config. I did "no mls qos" in conf term but that did not remove the queues.
Anyone one how to remove this?
06-10-2007 06:22 AM
Been a while since I've used auto qos. Have you tried "no auto qos voip"? Its supposed to remove all configs generated by auto qos.
06-10-2007 09:50 AM
When you do No MLS QoS, the qos configs are no longer applied. auto-QoS is considered
disabled even though the auto-QoS-generated global configuration commands remain (to avoid disrupting traffic on other ports affected by the global configuration).
With QoS disabled, there is no concept of trusted or untrusted ports because
the packets are not modified (the CoS, DSCP, and IP precedence values in the packet are not changed).
Traffic is switched in pass-through mode (packets are switched without any rewrites and classified as best effort without any policing).
If you want to remove all the commands generated, then use the no form of each command
HTH, rate if it does
Narayan
10-10-2012 02:55 AM
Still no answer for 5 years...
There are no single command to remove auto QoS configuration. But "QoS Campus 4.0 SRND" states that you can use the script to remove all commands, generated by Auto QoS. There are some considerations though:
The script:
! This section removes AutoQoS-SRND4 Policy-Maps (as applicable)
no policy-map AUTOQOS-SRND4-CLASSIFY-POLICY
no policy-map AUTOQOS-SRND4-CLASSIFY-POLICE-POLICY
no policy-map AUTOQOS-SRND4-CISCOPHONE-POLICY
no policy-map AUTOQOS-SRND4-SOFTPHONE-POLICY
! This section removes AutoQoS SRND4 Class-Maps (as applicable)
no class-map AUTOQOS_VOIP_DATA_CLASS
no class-map AUTOQOS_VOIP_SIGNAL_CLASS
no class-map AUTOQOS_MULTIENHANCED_CONF_CLASS
no class-map AUTOQOS_SIGNALING_CLASS
no class-map AUTOQOS_TRANSACTION_CLASS
no class-map AUTOQOS_BULK_DATA_CLASS
no class-map AUTOQOS_SCAVANGER_CLASS
no class-map AUTOQOS_DEFAULT_CLASS
! This section removes AutoQoS SRND4 IP ACLs (as applicable)
no ip access-list extended AUTOQOS-ACL-MULTIENHANCED-CONF
no ip access-list extended AUTOQOS-ACL-SIGNALING
no ip access-list extended AUTOQOS-ACL-TRANSACTIONAL-DATA
no ip access-list extended AUTOQOS-ACL-BULK-DATA
no ip access-list extended AUTOQOS-ACL-SCAVANGER
no ip access-list extended AUTOQOS-ACL-DEFAULT
! This section resets QoS maps to default values
default mls qos map cos-dscp
default mls qos map policed-dscp
! This section resets Ingress Queuing to default values
default mls qos srr-queue input cos-map
default mls qos srr-queue input dscp-map
default mls qos srr-queue input buffers
default mls qos srr-queue input bandwidth
default mls qos srr-queue input threshold 1
default mls qos srr-queue input priority-queue 2
! This section resets Egress Queuing to default values
default mls qos srr-queue output cos-map
default mls qos srr-queue output dscp-map
default mls qos queue-set output 1 buffers
default mls qos queue-set output 1 threshold
! This section removes AutoQoS version from the Global Config
no auto qos srnd4
! This command disable QoS, if needed
no mls qos
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide