Page 1 of 1

How to get information on unused port

Posted: 08 Aug 2011 16:45
by paketdos
On my site, i have a stack 6200 loaded with cables. some are not used anymore.
i would like to know witch one i can safely disconnect.

on my 6850 switch i could just check:

Examples
-> show interfaces 1/2
Slot/Port 1/2 :
Operational Status : up,
Last Time Link Changed : FRI DEC 27 15:10:40 ,

and find a port that is down for more than a mouth, usually it means there is nothing at the other end.


but the 6200 are very different, and a i cannot find this info.

the only solution i could think off would be to log externally (with syslog? snmp? cacti?) the status up/down chnages.
and then calculate from that info.

would there be something easier ?


thanks for your help


EDIT:

SW version Boot version HW version
------------------- ------------------- -------------------
1.7.0.23 1.0.0.13 00.00.01

Re: How to get information on unused port

Posted: 31 Aug 2011 04:29
by Q-Ant
This is most likely not the right method but it works (i've been using it on OSR's):

you can do "show rmon statistics ethernet eN", the port which has 0 octets/packets has not been used since the switch was last turned on.

If needed you can do the "clear counters ethernet" and come back one week (or month or whichever is good for you) and check the rmon again.

This is not the most elegant solution but it will get the job done. :D

Re: How to get information on unused port

Posted: 13 Sep 2011 11:47
by paketdos
Thanks Q-Ant

It does work, i just have to wait enought time...
and it is definetly easier than calculating the link-up and link-down.

Thanks again, you have been helpfull