We help IT Professionals succeed at work.

Show log on Cisco 2950 / 2960 Series

croustimiel asked
Medium Priority
Last Modified: 2012-05-06

Actually I have some problem, I think my switch loose signal during some seconds (1 to10).
I have little cut connection on the computer linked to the switch.

How can I see the problem in the log.

The command show logging show nothing.
Watch Question

Top Expert 2009

Is logging enabled on the switch?

conf t
logging buffered debugging


When I do

# show logging

I see log like this "2w3d ........" , always the same.
I think all event are not logged on the switch.

How can I check if it's OK, what is the command line to enable the log, what kind of log, and how can I see the log stored (for example all interface going down) ......
Top Expert 2009

Login to enable mode then do this:

conf t
logging buffered debugging

This enables maximum logging to the buffer (show log).  Ideally you would have a syslog server on the network and send these log messages to a server for historical purposes.  The switch log space is limited.
Top Expert 2009

Add this as well to make the timestamp a little easier to interpret:

conf t
service timestamps log datetime localtime


OK I will try tomorrow.

You talk about syslog server, how can I install this kind of server on my network.
Have you installation & configuration process and documentation ?

I think it will be very usefull to log my 40 cisco switchs.

How can I install it ?
Top Expert 2009
You can download a free one http://www.kiwisyslog.com/

Install it on a windows system (simple install) and setup the switch to log to this server. The syslog messages will be written to a folder/file of your choice.

conf t
logging trap informational
logging   <--The IP address of the syslog server

Do a "show version" on the switch to see if it rebooted if all users on the switch lost connectivity at the same time.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


Can we find a good syslog server on linux and which one ?
With the same kind of services (logs, graph, ...)
Top Expert 2009

Linux has a built in syslog server I believe or you may have to install it.  Check the man pages or linux forums for your distribution.  Definitely not as simple as going the windows route unless you are a linux guru.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.