Cisco Systems Unused switch port report for 1/3 months

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Unused switch port report for 1/3 months jowan.p 09-03-08
Posted by on September 3, 2008, 10:42 am
Please log in for more thread options


Hi,

We have around 500 access switches in our network. Our management
periodically needs to know how many of these ports are not used for a
month / 3 month period so that the ports can be reused. What is the
best way to achieve this as we are looking for 24,000 ports
periodically and manually this is not possible.

I can think of the following options and this where i am stuck on
those:
1. Perl has a way to extract information from the switch. I am more
into networking so dont know much about how to implement it, but i
know there exists one as i have seen it being used.
2. We can use MIB'to collect the port status and last uptime status,
but not sure which one to use.
3. We can use some ready tools for this, not sure which one

It would be great if anyone can help out here. Most of the switches
are 2950 and 4500 series.

Cheers,
Jowan.

Posted by Walter Roberson on September 3, 2008, 1:18 pm
Please log in for more thread options




I don't happen to have copy/paste capabilities to the way I'm posting
right at the moment or I would copy in an exact URL.

I suggest that you go to google groups and review the (one) hit
you would get by searching for

group:comp.dcom.sys.cisco author:roberson unused port



Posted by headsetadapter.com on September 3, 2008, 4:09 pm
Please log in for more thread options


Hi Jowan,

I think the easiest thing will be to clear all port counters periodically,
and check later, if there is any traffic counters increased since clearing.
For example, if you read all ports counters, and see the port with all
zeros, it means that port was never used since counters were cleared. You
can do it, for example, weekly or monthly, and then generate the report. To
read counters you can use Perl and SNMP. And to clear counters you may need
to do a Telnet.

Good luck,

Mike
CCNP, CCDP, CCSP, CCVP, MCSE W2K, MCSE+I, Security+, etc.
CCIE Voice (in progress), CCIE R&S (next)
------
Headset Adapters for Cisco IP Phones
www.ciscoheadsetadapter.com
www.headsetadapter.com





Posted by jw on September 3, 2008, 5:48 pm
Please log in for more thread options


Maybe check out the solar winds orion tool, but may be overkill for one
application.


jowan.p@gmail.com wrote:


Posted by Scott Perry on September 4, 2008, 9:11 am
Please log in for more thread options


I also like SolarWinds Orion and enjoy how the data is available for 3rd
party application use through its standard Microsoft SQL database format.
Orion collects the data and ASP webpages display it however desired!

MRTG is a free traffic graphing application that can accumilate your traffic
statistics.  If you get it running and have it monitor all of the switch
ports, not just the ones up at initial running, then you can accumilate data
of port data activitiy.

MRTG has been around for a while and relies on SNMP for collecting data.
Make sure you read up on SNMP security: using a non-default community string
and specifing an access list in the SNMP server command to designate what IP
addresses can access that individual device via SNMP.

If you really do get MRTG running for at least one switch and are happy with
it, I can advise you on easily deploying it for 500 switches.  Perl
scripting generated seperate MRTG configuration files, one for each device
in a seperate webserver directory.  A single index page referred to each
device subdirectory for viewing.

-----
Scott Perry
Indianapolis, IN
-----



Similar ThreadsPosted
Unused switch port report for 1/3 months September 3, 2008, 10:42 am
Switch port consumption report and capacity planning. July 14, 2006, 1:45 pm
Port mirroring in HP 2626-pwr 24 port switch October 25, 2005, 5:01 am
Change routing port to switch port March 5, 2008, 4:53 am
How to get a report of VPN connections on a PIX July 25, 2007, 9:40 am
How to report bugs to Cisco October 25, 2009, 7:17 am
How to avoid filtered status report - PIX. June 20, 2005, 6:05 pm
Switch port December 14, 2005, 12:09 am
switch port going up and down on specific NIC October 12, 2006, 9:47 am
Problem with Cisco Switch Port Please Help August 23, 2005, 12:43 pm
Filter Switch Port Traffic? February 11, 2009, 10:00 pm
Turning off a switch port using SNMP February 26, 2009, 11:26 am
how to monitor traffic going through a switch port November 18, 2009, 3:36 pm
restrict port connections on switch for known hosts only June 16, 2006, 8:30 am
Putting small switch on 3560's port July 17, 2006, 1:33 pm
Latest PostsForumRSS
NEWS: Samsung takes on the Apple iPad with the 7 inch Galaxy... Wireless Networking
c3560 port configuration Cisco Systems
Broadband 2010: A Big Slowdown [telecom] General Telecommunications Forum
Control Hot Water Circ Pump With X10? General Home Automation
Official Course CCNP TSHOOT 642-832 / Foundation Learning Gu... Cisco Certification
Speedflow Communications Honored for Innovation Voice-Over-IP
USB _to_ RJ45 (not from) connection Ethernet LAN
FAQ: Maximizing cable modem or DSL speed Cable Modems
CASH FOR CISCO - I BUY USED AND NEW EQUIPMENT & LOTS MOR... Telecom Technical
FAQ: Maximizing cable modem or DSL speed Digital Subscriber Line
How to set up Meridian 1 to "provide clock" to a C... Nortel Networks
New Discovery about WDM LAN and Telecom Cabling
Control Hot Water Circ Pump With X10? Home Automation
Text file to automate restoring a dropped VPN connection. Virtual Private Networks
Home Theater Installation Home Theater
Re: The Turkic Languages in a Nutshell Fiber Optics
sip Video Conferencing
Residential Cabling Guide Home Cabling Guide

Finally, an instantly downloadable book that saves you thousands in home improvement dollars! Enjoy living in 21st century technology-advanced home while increasing its selling value and competitive advantage on the real estate market. Whether your cabling is for home office or high-tech leisure, you can wire your home yourself or learn "wirish" to speak with your cabling contractors in their language!

Click Here to learn more