Unused switch port report for 1/3 months

Unused switch port report for 1/3 months

NewsGroups | Search | Tools

General Cisco Forum - Cisco Systems - Hardware Software and Security News and Discussions 

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-2008
If you were  Registered and logged in, you could reply and use other advanced thread options
Posted by on September 3, 2008, 10:42 am


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



>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.

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


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



> 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 jw on September 3, 2008, 5:48 pm


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


jowan.p@gmail.com wrote:
> 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 Scott Perry on September 4, 2008, 9:11 am


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
-----

> Maybe check out the solar winds orion tool, but may be overkill for one
> application.
> jowan.p@gmail.com wrote:
>> 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.



Similar ThreadsPosted
Switch port consumption report and capacity planning. July 14, 2006, 1:45 pm
Recovering Unused Ports on your switches? February 4, 2005, 5:35 am
Port mirroring in HP 2626-pwr 24 port switch October 25, 2005, 2: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, 10: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

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map