05-30-2008 10:56 AM - edited 03-05-2019 11:20 PM
Is it possible to access log or error (syslog) message in CatOs 6500 just like accessing it in linux ??
Or anyway to check the health of my devices (6500) ??
I would appreciate your input.
subharose
05-30-2008 11:06 AM
You can enable logging to multiple lcoations (syslog, console port, vty lines, internal buffer). It sounds like you would like it to go to the internal buffer. Here's an example on how you would do that.
logging on
logging buffered 16000
logging buffered warnings
This would send warnings to the internal buffer. You can then view them with show log
To send the log to a syslog server-
logging trap notification
logging [IP of syslog server]
To enable logs to be seen on the VTY (as they happen)
logging monitor
And on the console port
logging console
Hope that helps
05-30-2008 11:13 AM
thanks lot
Do i need to issue logging off once I am done looking at log message. Or it has timer set that will automatically stop sending log message to console, monitor or syslog server ?
--
subharoj
05-30-2008 11:23 AM
It will always write to the buffer, but the buffer has a limited size. In the above example we set it to 16000, which is usually enough to see any problems, but not so big you can't get through it. There is no performance degradation leaving it run so I would suggesting letting it always run. Same goes for syslog/vty/console, as long as it's configured it will send messages.
05-30-2008 11:27 AM
Clark
Thanks lot for clarification
enjoy the weekend
--
subharoj
05-30-2008 11:11 AM
Please refer to the documentation:
http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/catos/8.x/configuration/guide/logging.html
HTH,
__
Edison.
05-30-2008 11:16 AM
thanks lot Edison
I will go through it.
--
subharoj
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