06-03-2005 09:41 PM
I'm sure someone has asked this before...
I am looking at finding an easy way to get all the unused ports on a switch. CW CM 3.5 does this but it is (sort of real time based on discovery time). What I am looking for is ports down over a period of time. I know there is a MIB that reports on the uptime of the ports.. using this I could find ports that are not up over a period of time. I do not know which MIB this is... Right now I am using a very crude way of doing what I want.. Saving the wbuMib2interface & wbudevice tables from the cwsi db and storing them daily. I then do a query on the admin & oper status and find out which ports have been in down state over a period of time.
Anyone out here know a better way ( a script perhaps) that can use the MIB to give me this info @any given time..
Thanks in advance
06-05-2005 11:55 PM
Hi,
this is not 100% reliable but comfortable way:
Regards,
Milan
06-06-2005 06:16 AM
Thanks Milan, I'll try the getif.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide