Solved

Cisco Port usage logging

Posted on 2006-11-28
7
1,130 Views
Last Modified: 2012-08-13
Hi Guys,

I have nearly a hundred cisco switched dotted around my company, and many of them are fully patched even though a lot of the ports are not in use. Can anyone recommend a solution to finding out what ports don't get used for a couple of weeks, so that i can unpatch them, and hopefully make my servers rooms that little bit easier to manage

Thanks, Gavin
0
Comment
Question by:Gavin5511
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 28

Expert Comment

by:mikebernhardt
ID: 18029675
There's no easy way to see what ISN'T being used. If the switches send logging info to a syslog server, you can parse the log every day for what IS being used. Unless you've told them not to, they should be sending link up/down traps for every port. Then deduce from that which ones aren't. If you know Perl, you could write a script that would parse it automatically every night and dump sorted results into a new file. And if you had the time to set it all up, you could even make the script do the unused port inference for you!

Please don't ask me to write such a script for you :-) But basically you would have it go through the entire syslog file, parse for link up/down messages, and then pull out the switch name and port and write them to a new file, sorted by switch name and port number.

Note that what this can't tell you is which ports are always up and therefore not sending link traps!
0
 
LVL 11

Accepted Solution

by:
grsteed earned 400 total points
ID: 18031186
There is a program that is part of the Solarwinds Standard tool set called Switch Port Mapper. It does exactly what you're looking for. I've been using it on my current consulting gig to see when the last time a port was used to determine whether to migrate it to a new switch environment.

You can read about it here.

http://www.solarwinds.net/products/toolsets/index.aspx

The Standard Toolset is $145 for a single user license, but that could pay for itself pretty quick.

Cheers,

Gary
0
 
LVL 79

Assisted Solution

by:lrmoore
lrmoore earned 100 total points
ID: 18035305
2nd the motion for Solarwinds. I have Engineer's toolset and wouldn't leave home without it..
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 1

Author Comment

by:Gavin5511
ID: 18038470
Possibly the best toolkit i've ever ever seen! lol!

Works great! Cheers guys (P.S. i went for the engineers kit, because my company paid. hardly going to go for the cheap one was i?)
0
 
LVL 28

Expert Comment

by:mikebernhardt
ID: 18038568
I really need to look into Solarwinds! I see it mentioned constantly, yet I've never actually looked at it :-)
0
 
LVL 1

Author Comment

by:Gavin5511
ID: 18038639
oooh, dunno what your missing mate! i also use Solarwinds Orion to overview all our sites, and it's an amazing bit of kit. Thanks for the scripting idea by the way, but i'd rather let solarwinds do the scripting for me! :)
0
 
LVL 11

Expert Comment

by:grsteed
ID: 18050096
Thanks for the points!!!  Glad to help!!
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Fortigate 100D NTP Issue 4 76
Tools to detect weak WiFi routers prior connecting to it 14 120
BGP Code 12 47
Cisco 3560 Switch with Multiple Gateways 10 63
This article is a guide to configure bridging on Cisco Routers.  This is something I never knew was possible until after making a few phone calls to Cisco.  Using bridging saved our company money by not requiring us to purchase a new switch.  Bridgi…
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now