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

Post Reply
User avatar
hg363
Member
Posts: 25
Joined: 18 Aug 2010 06:18

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

Post 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?
User avatar
Gleylancer
Member
Posts: 156
Joined: 08 May 2013 03:14

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

Post 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.
silvio
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1894
Joined: 01 Jul 2008 10:51
Location: Germany

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

Post 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
Post Reply

Return to “OmniSwitch 6560”