Start a Conversation

Unsolved

C

1 Rookie

 • 

11 Posts

3806

September 21st, 2022 07:00

how to identify unused ports on a dell switch using show commands

The Networking team quarterly looks at each switch stack to figure out how many ports are actively being used and how many are free on the stack.  This helps us in that we can project when/if we need to add a switch in the stacks...

In the Cisco stacks there is a command that will show us the last time a port was active - for example

sh int | inc line protocol is|Last input

GigabitEthernet1/0/6 is up, line protocol is up (connected)
Last input 00:00:04, output 00:00:00, output hang never
GigabitEthernet1/0/7 is down, line protocol is down (notconnect)
Last input 20w1d, output 20w1d, output hang never

Does Dell have anything equivalent to this command?

 

Moderator

 • 

4.4K Posts

September 21st, 2022 11:00

Hello Cathy_Jo,

 

 

This may give you the information you are looking for:

 

show interface , show interface status page 274
or

interface tracking  page 741

 

Dell EMC SmartFabric OS10 User Guide Release 10.5.0 : https://dell.to/3SoHSyA

 

If it doesn't have what you are looking for; can you specify which switch model you have and OS version?

1 Rookie

 • 

11 Posts

September 21st, 2022 12:00

Hello Charles R

Ya those are not really any help....I have N3248PXE-ON ... OS6

I am not looking for something that showing up/down now but when was the last time it was up/down...as in if someone just took their device off the network that port is still good...because that person will probably be back tomorrow (their office)...but if the port has been down for 3 weeks that port is probably down and can be re-used..

 

Moderator

 • 

4.4K Posts

September 21st, 2022 13:00

Hello Cathy_Jo,

 

The 'show interface' returns 'Time since last interface status change ', but that is OS10.

 

I will have to check into OS6 to see if there is something comparable .

 

Moderator

 • 

4.4K Posts

September 22nd, 2022 06:00

Hello Cathy_Jo,

 

I think you already checked this one. Can you confirm on that?

console#show interfaces status

 

You may also try:

console#show interfaces detail gi1/0/1

1 Rookie

 • 

11 Posts

September 22nd, 2022 12:00

Good afternoon Charles R,

the show interfaces status command for the most part will show you up/up (with some other things). and the show interfaces detail gi1/0/1 gives you alot of information but neither of them give you a time frame of when it was last connection.....

GigabitEthernet1/0/6 is up, line protocol is up (connected)
Last input 00:00:04, output 00:00:00, output hang never
GigabitEthernet1/0/7 is down, line protocol is down (notconnect)
Last input 20w1d, output 20w1d, output hang never

Thanks

Cathy_Jo

Moderator

 • 

4.4K Posts

September 22nd, 2022 13:00

Hello Cathy_Jo,

 

I'll have to check with an L3 engineer to see if there is a comparable  command as I'm not finding one.

Moderator

 • 

4.4K Posts

September 23rd, 2022 13:00

Hello Cathy_Jo,

 

Unfortunately we don't have command in OS6 that returns "last interface status change" information.

 

The OS10 and FTOS switch shows that info in the 'show interface' command but that's not available in OS6.

 

The best we have is to filter the logs for link down status with the following command:

 

show logging | include "Link Down"

 

It will give time and date in output

 

 

I'll provide you the command line reference guide. You may already have it.

Dell Networking N-Series N1108EP-ON, N1500, N2200-ON, and N3200-ON Switches CLI Reference Guide Version for OS6.8

https://dell.to/3fhDdjH

 

1 Rookie

 • 

11 Posts

September 15th, 2023 15:57

Is there any road map to add this to OS6 or is there a way to add this to an ideation for that?

We really need this capability to be able to identify what ports are down due for a certain length of time frame. At this point if we need an open port and there is not one showing we just take a stab in dark and hope for the best.

Moderator

 • 

4.4K Posts

15-09-2023 17:49 PM

Hello Cathy,

 

I will check in to this and update you.

DELL-Charles R

Social Media and Communities Professional
Dell Technologies | Enterprise Support Services
#IWork4Dell

Did I answer your query? Please click on ‘Accept as Solution’. ‘Thumbs up’ the posts you like!

Moderator

 • 

4.4K Posts

18-09-2023 19:56 PM

Hello Cathy,

 

I am still looking into this.

DELL-Charles R

Social Media and Communities Professional
Dell Technologies | Enterprise Support Services
#IWork4Dell

Did I answer your query? Please click on ‘Accept as Solution’. ‘Thumbs up’ the posts you like!

Moderator

 • 

4.4K Posts

19-09-2023 20:26 PM

Hello Cathy,

 

I verified we do not have that command for OS6.8 which is the latest.

The closest we have is filter the logs for link down status with the following command:

show logging | include "Link Down"

It will give time and date in the output.

DELL-Charles R

Social Media and Communities Professional
Dell Technologies | Enterprise Support Services
#IWork4Dell

Did I answer your query? Please click on ‘Accept as Solution’. ‘Thumbs up’ the posts you like!

No Events found!

Top