cancel
Showing results for 
Search instead for 
Did you mean: 

SNMP OID to get "Image Selected" information

SNMP OID to get "Image Selected" information

Marvel_King
New Contributor
I have a script to do a snmp walk to get information on which image is installed in active and which is installed in secondary partition. I am able to get this data via below 2 oids:

.1.3.6.1.4.1.1916.1.1.1.13
.1.3.6.1.4.1.1916.1.1.1.14

Now, I can also get details on which one is currently in use (booted) but I am no able to see which partition is set to boot upon next reboot. The command to change it is "Use image . I s there any SNMP OID to get get this info. This is how it looks if I run "show switch":

Image Selected: secondary
Image Booted: primary

I need to get "Image Selected" via SNMP. Please advice. I am running OS below 21 so JSONRPC is not an option.

Thanks
1 ACCEPTED SOLUTION

Ronald_Dvorak
Honored Contributor
Try this....

extremeImageToUseOnReboot=1.3.6.1.4.1.1916.1.1.1.15

DESCRIPTION: Controls which image will be used on next reboot.


-Ron

View solution in original post

3 REPLIES 3

Ronald_Dvorak
Honored Contributor
Correct.

The XMC MIB browser does a great job providing all details in case you are looking for a specific MIB OID and the integer values....

3203c853df1f48feab6c12c0980d3623_d46909ee-7e3c-4684-9064-fca88548d89b.png

Marvel_King
New Contributor
Thanks! I tried that before and it was giving me only integer 1 or 2. After testing, 1 means primary and 2 means secondary. ?

Ronald_Dvorak
Honored Contributor
Try this....

extremeImageToUseOnReboot=1.3.6.1.4.1.1916.1.1.1.15

DESCRIPTION: Controls which image will be used on next reboot.


-Ron
GTM-P2G8KFN