cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
863
Views
0
Helpful
2
Replies

debugs forwarding to server

CODNetadmin
Level 1
Level 1

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

R0g22
Cisco Employee
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>

View solution in original post

2 Replies 2

Georgios Fotiadis
VIP Alumni
VIP Alumni

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.

R0g22
Cisco Employee
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>

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: