cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
343
Views
0
Helpful
3
Replies

DEBUG BGP clearing my Show logging ASR9904

okochat18
Level 1
Level 1

Hello Community Members

I have a question about debug BGP!

When I execute "debug BGP" and do the "show logging" on a ASR9904.
After which make an event that triggers loggging, e.g. Interface down or logging into Device via ssh;

and then  I do "show logging" I discovered that the loggings all disappear?

Anybody experienced? this and how did you handle it?

Please note that when I do "undebug BGP", the show logging recovers and can now see events that have occured only after that undebug command

3 Replies 3

M02@rt37
VIP
VIP

Hello @okochat18 

Adjust the buffer size as a first step. The issue likely occurs because debug bgp  generates a high volume of logs, overwhelming the logging buffer and causing other messages to disappear.

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

okochat18
Level 1
Level 1

Hi, 

Thanks for the response.
At first I thought so too, but the logging buffer is currently set to logging buffered info and logging buffered size is about 2million
Thoughts?

Hello,

Instead of sending debug logs to the buffer, redirect them to another destination: for example: Syslog / 
Thanks!