Unsolved
1 Rookie
•
11 Posts
0
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?
No Events found!
DELL-Charles R
Moderator
•
4.4K Posts
0
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?
Cathy_Jo
1 Rookie
•
11 Posts
0
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..
DELL-Charles R
Moderator
•
4.4K Posts
0
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 .
DELL-Charles R
Moderator
•
4.4K Posts
0
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
Cathy_Jo
1 Rookie
•
11 Posts
0
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
DELL-Charles R
Moderator
•
4.4K Posts
0
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.
DELL-Charles R
Moderator
•
4.4K Posts
0
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
Cathy_Jo
1 Rookie
•
11 Posts
0
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.