|
Posted by klaus zerwes on September 5, 2008, 3:04 am
jowan.p@gmail.com schrieb:
> 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.
Hm - if this is the only desired data acquisition, I would use perl and
snmp to check the status of every interface lets say every hour and
write the results into s RDBMS. This way you can create customized
reports using SQL or create a webapp to impress the boss ;-)
Maybe you can use traffstats (http://traffstats.sourceforge.net/). It
uses SNMP to collect traffic statistics and stores it all in a mysql db.
Then you may write your own small tool targeting the db with your
customized sql queries.
> Cheers,
> Jowan.
Klaus
--
Klaus Zerwes
http://www.zero-sys.net
|
>
> 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.