Accessing log or error message in Catalyst OS 6500 switch

Unanswered Question
May 30th, 2008

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.


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3 (1 ratings)
Collin Clark Fri, 05/30/2008 - 11:06

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

subharojdahal Fri, 05/30/2008 - 11:13

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 ?



Collin Clark Fri, 05/30/2008 - 11:23

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.


This Discussion