cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3554
Views
0
Helpful
4
Replies
cisco24x7
Frequent Contributor

default setting for "logging rate-limit" command

I have brand new VXR7206 router. I put in

the following command:

logging on

no logging rate-limit

Now I want to restore the "logging rate-limit" back to the router original

default setting. What is the correct command? In other words, when I perform

"show run | inc logging", I do NOT want

to see any "rate-limit" in the config.

How can go about achieving this?

Thanks.

4 REPLIES 4
ferikci
Beginner

Try default logging rate-limit command. Hope this helps.

No logging is the correct way to disable it
If you didnt save it reload it it will probly remove it from run config
, if its not production yet

From the Docs

Setting a Logging Rate Limit

You can set a limit on the number of messages that the access point logs per second. You can enable the limit for all messages or for messages sent to the console, and you can specify that messages of a specific severity are exempt from the limit.

To enable a logging rate limit, follow these steps, beginning in privileged EXEC mode:


Command

Purpose

Step 1


configure terminal


Enters global configuration mode.

Step 2


logging rate-limit seconds

[all | console]

[except severity]


Enables a logging rate limit in seconds.

•(Optional) Apply the limit to all logging or only to messages logged to the console.

•(Optional) Exempt a specific severity from the limit.

Step 3


end


Returns to privileged EXEC mode.

To disable the rate limit, use the no logging rate-limit command in global configuration mode.

I just tested this on an ASR and ISR same as your router

config)#do sh run | i logg
logging discriminator ACL15X msg-body drops fman_fp_image: list 15
logging buffered 100000
no logging rate-limit
no logging console

 

EDIT: no just rate limit seems all logging commands the same , i removed it all just to check

 

no logging buffered
no logging rate-limit
no logging console
no logging monitor

Mark Malone
Mentor

Found it ......

This will remove it from CLI

logging rate-limit console 10 except errors


here it is working

xxxxxxxxx(config)#logging rate-limit 1000
xxxxxxxxx(config)#do sh run | i logg
logging discriminator ACL15X msg-body drops fman_fp_image: list 15
logging buffered 10000
logging rate-limit 1000
no logging console
no logging monitor
logging enable
ip ssh logging events
logging source-interface Loopback3
logging host x.x.x.x vrf Mgmt-vrf

xxxxx(config)#logging rate-limit console 10 except errors
xxxxx(config)#do sh run | i logg
logging discriminator ACL15X msg-body drops fman_fp_image: list 15
logging buffered 10000
no logging console
no logging monitor
logging enable
ip ssh logging events
logging source-interface Loopback3
logging host x.x.x.x vrf Mgmt-vrf