02-27-2015 06:53 AM - edited 03-07-2019 10:52 PM
hi
I want to let the router or the switch to sends the log to TFTP server, how can I do that !?
including things like debug commands results
thanks,
02-27-2015 06:58 AM
You want to send the logs to the Syslog server..right? Use the logging command to do it.
logging x.x.x.x is the command.
Use the logging trap command to set the level of logging.
Router(config)#logging trap ?
<0-7> Logging severity level
alerts Immediate action needed (severity=1)
critical Critical conditions (severity=2)
debugging Debugging messages (severity=7)
emergencies System is unusable (severity=0)
errors Error conditions (severity=3)
informational Informational messages (severity=6)
notifications Normal but significant conditions (severity=5)
warnings Warning conditions (severity=4)
<cr>
CF
02-27-2015 07:05 AM
hi,
logging x.x.x.x
will this also send debug result to syslog !?
02-27-2015 07:11 AM
You need to put the right level of logging.
logging traps debugging
CF
02-27-2015 07:18 AM
ok I got it,
thanks a lot
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide