Wired Intelligent Edge (Campus Switching and Routing)

Reply
Highlighted
Contributor II

Interface uptime

Hi, does any one know if there is a command to see since when an interface is in the current status?

 

For example, if I want to know since when interface 1 is up (or down).

 

Thanks.

Highlighted
Contributor II

Re: Interface uptime

Hi,

 

I can't find a CLI command for that but you can see through SNMP the uptime of the switch when the port changed state for the last time.

 

The OID is .1.3.6.1.2.1.2.2.1.9 - ifLastChange:

 

The value of sysUpTime at the time the interface entered
its current operational state. If the current state was
entered prior to the last re-initialization of the local
network management subsystem, then this object contains a
zero value.

 

Hope this helps.

 

 

Best regards,

 

Aarón

Highlighted
Contributor II

Re: Interface uptime

Thank you for your reply.

 

I also didn't find a way to obtain this information other than checking the switch's log or an external server that collects SNMP traps.

 

I thought getting such basic information would be more straightforward and simple.

Highlighted
MVP Guru Elite

Re: Interface uptime

for ArubaOS or ArubaCX ?



PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info

PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info

PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)

PowerArubaIAP: Powershell Module to use Aruba Instant AP

PowerArubaMC: Powershell Module to use Mobility Controller / Master


ACMP 6.4 / ACMX #107 / ACCP 6.5 / ACSP
Highlighted
Contributor II

Re: Interface uptime

ArubaOS, I have a 2530 and a 2930F in my lab at the moment.

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: