cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
703
Views
3
Helpful
6
Replies

Accessing log or error message in Catalyst OS 6500 switch

subharojdahal
Level 1
Level 1

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 6

Collin Clark
VIP Alumni
VIP Alumni

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

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

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.

Clark

Thanks lot for clarification

enjoy the weekend

--

subharoj

Edison Ortiz
Hall of Fame
Hall of Fame

thanks lot Edison

I will go through it.

--

subharoj

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card