Link to home
Start Free TrialLog in
Avatar of croustimiel
croustimiel

asked on

Show log on Cisco 2950 / 2960 Series

Hello,

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.
Avatar of JFrederick29
JFrederick29
Flag of United States of America image

Is logging enabled on the switch?

conf t
logging buffered debugging
Avatar of croustimiel
croustimiel

ASKER

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) ......
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.
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 ?
ASKER CERTIFIED SOLUTION
Avatar of JFrederick29
JFrederick29
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Can we find a good syslog server on linux and which one ?
With the same kind of services (logs, graph, ...)
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.