cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
549
Views
0
Helpful
2
Replies
CODNetadmin
Beginner

debugs forwarding to server

Hi! We do have a voice gateway that needs to monitor a some debugs, But, every time we enable the debug, the VG crashes and needs to reboot.

 

Is there a way for the debug messages/logs will be forwarded to a server? Like every debug output will be forwarded to the server and hopefully the gateway wont be crashing.

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Nipun Singh Raghav
Cisco Employee

Set the following monitoring to help -

no logg console
no logg monitor
no logg buffer
service timestamps debug datetime local msec
service timestamps log datetime local msec

Set the router to send the debug messages to the syslog server with the following commands:

logg trap debug >>> Level 7
logg <ip of server>

Nipun Singh Raghav
"We cannot solve our problems with the same thinking we used when we created them"

View solution in original post

2 REPLIES 2
Georgios Fotiadis
Rising star

You should configure the appropriate logging commands at IOS. Eg:

logging trap debugging
logging host <ip_address>

where <ip_address> is the address of your external syslog server.

You will also find very helpful this guide: How to configure logging in Cisco IOS

Georgios
Please rate if you find this helpful.
Nipun Singh Raghav
Cisco Employee

Set the following monitoring to help -

no logg console
no logg monitor
no logg buffer
service timestamps debug datetime local msec
service timestamps log datetime local msec

Set the router to send the debug messages to the syslog server with the following commands:

logg trap debug >>> Level 7
logg <ip of server>

Nipun Singh Raghav
"We cannot solve our problems with the same thinking we used when we created them"

View solution in original post

Content for Community-Ad

Spotlight Awards 2021