cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
726
Views
0
Helpful
1
Replies

Unable to locate object parent "snmpMIB.1" for "snmpMIBObjects"

spbench
Level 1
Level 1

I'm trying to write a script on an IBM AIX system that will show, add, and delete vlans on our Cisco switches using snmp commands. I used the AIX mib compiler to compile the following mibs in the order listed below:

SNMPv2-SMI.my

SNMPv2-TC.my

SNMPv2-MIB.my

RFC1213-MIB.my

IF-MIB.my

CISCO-SMI.my

CISCO-PRODUCTS-MIB.my

CISCO-TC.my

CISCO-VLAN-MEMBERSHIP-MIB.my

CISCO-VTP-MIB.my

When I use the AIX version of snmpwalk to show the value of the vtpVlanState variable, I receive the error message stated in the title of this post.

I'm not an expert at this setup. Can someone advise me how I should proceed to clear this error?

Thanks

Nick Venidis

nickv@us.ibm.com

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

The AIX compiler might be buggy (maybe it only supports SMIv1). The snmpMIB object is defined in the SNMPv2-MIB. snmpMIBObjects is also defined in this MIB to be snmpMIB.1. snmpMIB is defined to be snmpModules.1, and snmpModules is defined in SNMPv2-SMI. So it looks like you've loaded all of the correct files.

Of course, the CISCO-VTP-MIB needs to be loaded before the CISCO-VLAN-MEMBERSHIP-MIB, but I doubt that is causing this problem. You might try the Net-SNMP toolchain. It has a very pedantic, but very good MIB compiler, and should be able to do what you want. You can get Net-SNMP from http://net-snmp.sourceforge.net. They don't have AIX binaries, but it should compile on AIX (or you might be able to find some floating around).

Review Cisco Networking for a $25 gift card