Page 1 of 1

Cannot remove QOS commands

Posted: 24 Aug 2017 16:54
by bgomberg
Hello,

I need to remove some ACL's from my switch configuration. Removing the command with a "no" statement works, however the commands still appear in the configuration. When entering the same "no" statement again it then errors saying the line no longer exists however they still appear in the config. Please see the examples below:

Current QOS config:

policy condition TEQ_ECFD source ip Any destination ip 192.168.93.65
policy action BLOCK disposition deny
policy rule BLOCK precedence 1000 condition TEQ_ECFD action BLOCK


Removal:

no policy rule BLOCK
no policy action BLOCK
no policy condition TEQ_ECFD

All commands complete succesfully however the statements are not removed. Rebooting the switch does not resolve the issue. Any suggestions?

Re: Cannot remove QOS commands

Posted: 24 Aug 2017 17:10
by silvio
qos apply
regards
Silvio

Re: Cannot remove QOS commands

Posted: 24 Aug 2017 18:45
by bgomberg
Thats it! Thanks a bunch.....I did not realize you have to apply the QOS commands after any entry.

Re: Cannot remove QOS commands

Posted: 31 Jan 2020 04:27
by swathiu
Hi Sir,

I have a similar problem ,

-> show configuration snapshot qos
! QOS :
qos log console
qos port 1/1 no trusted
qos port 1/2 trusted
qos apply

How do i remove these configurations of qos and is it important to have qos enable command configured to get the above commands executed..

Re: Cannot remove QOS commands

Posted: 31 Jan 2020 11:55
by silvio
try:
qos port 1/1 reset
qos apply