01-17-2025 06:38 AM
Hello,
I need to use the correct MIB and OID name to get the switches IP address and also what it's local time is, is this possible?
For the IP I did find this, but is depreciated:
1.3.6.1.2.1.4.20.1.1 (ipAdEntAddr)
Can't find anything for local time.
Thanks
01-17-2025 06:58 AM - edited 01-17-2025 07:00 AM
- FYI : https://community.cisco.com/t5/other-network-architecture-subjects/how-to-get-show-clock-information-by-snmp/m-p/102802/highlight/true#M34257
Or you may try : https://snmp.cloudapps.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInput=1.3.6.1.4.1.9.9.131.1.1.1
M.
01-17-2025 08:03 AM
Uptime I already have, looks like you can't do 'show clock'
Do you know what MIB this is part of?
1.3.6.1.2.1.4.20.1.1 (ipAdEntAddr)
01-17-2025 08:15 AM
- FYI : https://mibs.observium.org/mib/IP-MIB/
(IP-MIB)
M.
01-17-2025 08:20 AM
does it matter if it's depreciated?
01-17-2025 09:09 AM
- Depends , check if the OID is usable on the intended target switch,
M.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide