Page 1 of 1

Free switch interfaces on Alcatel-Lucent Enterprise OS6560-P48Z16 8.7.98.R03

Posted: 08 Feb 2024 07:29
by hg363
Hi, we have numerous of the following switches.

Description: Alcatel-Lucent Enterprise OS6560-P48Z16 8.7.98.R03

Is there a CLI command which I can use, which would tell me if a switch interface on the switch (has never had an ethernet cable inserted in to it)?

I have to undertake a mass audit of all the site switches (100) and audit how many of the switches have free interfaces (meaning no ethernet cable has been plugged in)

If not, can some one suggest a CLI command I can use to get the information I require please?

Re: Free switch interfaces on Alcatel-Lucent Enterprise OS6560-P48Z16 8.7.98.R03

Posted: 09 Feb 2024 01:29
by Gleylancer
No such thing, this information should be handled via SNMP and Logging - or perhaps Omnivista.

What you can do is compare the timestamps of port flaps to the boot time. However, a reboot resets these times, a reboot is a forced port down after all.

Re: Free switch interfaces on Alcatel-Lucent Enterprise OS6560-P48Z16 8.7.98.R03

Posted: 10 Feb 2024 08:33
by silvio
like written: The timestamp of the last port change of all down ports.
For this use the command "show interfaces" - with regex there are a lot of possibilities.
An easy way is the command:

Code: Select all

show interfaces | egrep -B 1 -A 2 down | egrep "Chass|Last"
You will get a list of all down ports with the last time where the status where changed (f.e. from up to down)
To get all down ports with last changes in 2022 or 2023 you can use this:

Code: Select all

show interfaces | grep -B1 -A2 down | egrep -B3 "2022|2023" | egrep -i "chas|last"
I think with good knowledge in regex there are a lot other possibilities.

But I prefere to use omnivista for this search. There are a lot possibilities with filters. You can search for all ports in your network at once.
BR Silvio