• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5923
  • Last Modified:

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.
0
croustimiel
Asked:
croustimiel
  • 5
  • 3
1 Solution
 
JFrederick29Commented:
Is logging enabled on the switch?

conf t
logging buffered debugging
0
 
croustimielAuthor Commented:
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) ......
0
 
JFrederick29Commented:
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.
0
[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

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

conf t
service timestamps log datetime localtime
0
 
croustimielAuthor Commented:
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 ?
0
 
JFrederick29Commented:
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 10.1.1.10   <--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.
0
 
croustimielAuthor Commented:
Can we find a good syslog server on linux and which one ?
With the same kind of services (logs, graph, ...)
0
 
JFrederick29Commented:
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.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now