cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
14709
Views
30
Helpful
3
Replies

Remove QOS from 3750 switch

cisconoobie
Level 2
Level 2

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?

3 Replies 3

oj88
Level 1
Level 1

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.

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

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:

  1. This script is applicable to 2960-G/S, 2975-GS, 3560-G/E/X, and 3750-G/E/X family of switches only.
  2. This script removes auto QoS SRND 4 version configuration. Exactly, I don't know what's the difference between SRND 4 auto QoS and a previous one.
  3. This script removes only general auto-QoS configuration. Interface configurations still should be removed manually.

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card