- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- HPE Aruba Networking & ProVision-based
- >
- How to check how long a port has been down.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2021 12:52 AM
тАО05-26-2021 12:52 AM
Hello
Does anybody knows if it is possible to see on aruba switches for how long a port has been down?
On the comware switches we can see this by doing a display interface command, but on the aruba's i can't find a way to get this output.
Is it possible?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2021 02:54 AM
тАО05-26-2021 02:54 AM
SolutionHello
Maybe you can use the OID ifLastChange.
ifLastChange OBJECT-TYPE SYNTAX TimeTicks MAX-ACCESS read-only STATUS current DESCRIPTION "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." ::= { ifEntry 9 }
You can query this information from the CLI of the switch. You also need to query sysUptime because it is showing what was the switch uptime when the last change occured.
Switch# getMIB ifLastChange.1
ifLastChange.1 = 100 days
Switch# walkmib sysUptime
sysUpTime.0 = 106 days
Here for example we see that the uptime of the switch was 100 days when the last change of interface 1 occured. The current system uptime is 106 days and we can conclude that the last change was 6 days ago.
I did a double check using the system log and indeed this port went offline on 20 of May.
switch# show log -r 1/A1
Keys: W=Warning I=Information
M=Major D=Debug E=Error
---- Reverse event Log listing: Events Since Boot ----
I 05/20/21 00:50:57 00077 ports: ST1-CMDR: port 1/A1 is now off-line
I 05/20/21 00:33:30 00076 ports: ST1-CMDR: port 1/A1 is now on-line
I 05/20/21 00:33:28 00077 ports: ST1-CMDR: port 1/A1 is now off-line
I 05/20/21 00:33:26 00076 ports: ST1-CMDR: port 1/A1 is now on-line
I 05/20/21 00:33:23 00077 ports: ST1-CMDR: port 1/A1 is now off-line
You can query IfDescr to see the mapping between the real port name and the SNMP interface index.
Switch# getMIB ifDescr.1
ifDescr.1 = 1/A1
Switch#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2021 03:10 AM
тАО05-27-2021 03:10 AM
Re: How to check how long a port has been down.
Hello
Thank you for your answer!
I guess this we will have to do for now. It would be nice if it would just be command though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2021 03:38 AM
тАО05-27-2021 03:38 AM
Re: How to check how long a port has been down.
Hello,
Yes, I also couldnt find a CLI command that's why I suggested this.
You can use Aruba Innovation Zone to suggest a CLI command with this information as a new idea.
https://innovate.arubanetworks.com
I think that there are already similar ideas there for example https://innovate.arubanetworks.com/ideas/SWITCH-I-79. The other option is to contact your Aruba sales representative and ask him for support in geting this feature in a future release especially if it is of a crtical importance for your organization.