Page 1 of 1

How to identify unused ports on switch?

Posted: 05 Jul 2019 08:43
by DB_dbdb
Hi

We have 2 stacks of 4 x 48 port 6450 switches. Every port on the switches is patched in but I know that there are some ports not in use. I have some new users starting on Monday and I need to patch them in.

Is there a command I can run that shows me how long a port has been inactive ?

I don't want to simply just unpatch all the ones where the light is off because those ports might be desks where the user is just out for a few days.

Any help would be appreciated

Thanks,
David

Re: How to identify unused ports on switch?

Posted: 06 Jul 2019 15:44
by silvio
at show interfaces (or show interfaces 1/1) you see "last change".
With omnivista you have the possibility to filter for all ports that are f.e. inactive since 1 month.

Re: How to identify unused ports on switch?

Posted: 16 Jul 2019 07:54
by DB_dbdb
Hi,

All I see there is the last time link changed, thats not exactly what I was looking for.

Is there someway I can filter it so I only see the operational status ?

For example it I do a show interfaces 4/47 I get this

Slot/Port 4/47 :
Operational Status : up,
Last Time Link Changed : WED APR 04 03:07:45 ,
Number of Status Change: 4,
Type : Ethernet,
SFP/SFP+/XFP : Not Present,
MAC address : 2c:fa:a2:e1:c1:be,
BandWidth (Megabits) : 1000, Duplex : Full,
Autonegotiation : 1 [ 1000-F 100-F 100-H 10-F 10-H ],
Long Frame Size(Bytes) : 9216,
Rx :
Bytes Received : 436843821, Unicast Frames : 1363316,
Broadcast Frames: 4807, M-cast Frames : 16123,
UnderSize Frames: 0, OverSize Frames: 0,
Lost Frames : 0, Error Frames : 0,
CRC Error Frames: 0, Alignments Err : 0,
Tx :
Bytes Xmitted : 2124138696, Unicast Frames : 1931882,
Broadcast Frames: 8437689, M-cast Frames : 2390575,
UnderSize Frames: 0, OverSize Frames: 0,
Lost Frames : 0, Collided Frames: 0,
Error Frames : 0

Re: How to identify unused ports on switch?

Posted: 18 Jul 2019 01:58
by silvio
if you would like only to see the actual state:
show interfaces status
show interfaces port

But sometime a pc is powered down - than the port is down too. Often people want to see ports that where not used in the last weeks. For this was my last answer.
regards
Silvio