Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Accessing log or error message in Catalyst OS 6500 switch

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

6 REPLIES

Re: Accessing log or error message in Catalyst OS 6500 switch

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

Community Member

Re: Accessing log or error message in Catalyst OS 6500 switch

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

Re: Accessing log or error message in Catalyst OS 6500 switch

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.

Community Member

Re: Accessing log or error message in Catalyst OS 6500 switch

Clark

Thanks lot for clarification

enjoy the weekend

--

subharoj

Hall of Fame Super Bronze

Re: Accessing log or error message in Catalyst OS 6500 switch

Community Member

Re: Accessing log or error message in Catalyst OS 6500 switch

thanks lot Edison

I will go through it.

--

subharoj

351
Views
3
Helpful
6
Replies
CreatePlease to create content