cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
490
Views
0
Helpful
5
Replies

MIB name for switch IP and local clock

ajwhite0
Level 1
Level 1

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

5 Replies 5

marce1000
Hall of Fame
Hall of Fame

 

  - 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.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

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)

 

  - FYI : https://mibs.observium.org/mib/IP-MIB/
             (IP-MIB)

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

does it matter if it's depreciated?

 

 - Depends , check if the OID is usable on the intended target switch,

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '