Find the SNMP OID for determining Cisco CatOS

Unanswered Question
Jun 11th, 2008
User Badges:

hi,

i want to automate a tool with SNMP.

i don't know if exist a snmp OID for determining if a switch is CatOS or IOS.


Can you help me?


Thanks


FCostalunga

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Collin Clark Wed, 06/11/2008 - 05:46
User Badges:
  • Purple, 4500 points or more
<font size="2"> 1.3.6.1.2.1.1.1.0</font>


This OID will tell you the model of the device and the IOS/CatOS version.


Help that helps.

Joe Clarke Wed, 06/11/2008 - 09:57
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

In general, if the sysObjectID starts with 1.3.6.1.4.1.9.5 it's a CatOS device. Devices with a sysObjectID starting with 1.3.6.1.4.1.9.1 are IOS devices. Note: this is not a hard and fast rule as there are many non-IOS devices that have a 1.3.6.1.4.1.9.1 sysObjectID. However, if all your devices are either CatOS or IOS, then this should work for you.

Actions

This Discussion