how to configure logs to be sent for TFTP server !?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
- Labels:
-
Other Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2015 07:05 AM
hi,
logging x.x.x.x
will this also send debug result to syslog !?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2015 07:11 AM
You need to put the right level of logging.
logging traps debugging
CF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2015 07:18 AM
ok I got it,
thanks a lot
