Brocade MIB Import Failing
-
Hi all,
I have an issue with a number of Brocade MIBs. When I try to import them I get errors like this one:
BROCADE-LLDP-EXT-DOT3-CAPABILITY-MIB: ERROR 001: Import symbol "brocadeAgentCapability" unresolvedBased on that particular MIB, it tries to import that particular symbol from the Brocade REG-MIB:
IMPORTS brocadeAgentCapability FROM Brocade-REG-MIBClearly something is not being imported or referenced right, but I'm no MIB expert and can't tell what's wrong. Contents of the Brocade-REG-MIB below:
Brocade-REG-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-IDENTITY, enterprises FROM SNMPv2-SMI; bcsi MODULE-IDENTITY LAST-UPDATED "201202030000Z" ORGANIZATION " Brocade Communications Systems, Inc." CONTACT-INFO "Brocade Communications Systems, Inc. Postal: 130 Holger Way San Jose, CA 95134 U.S.A Tel: +1-408-333-8000 E-mail: [email protected] web: www.brocade.com." DESCRIPTION "This MIB module defines Structure of Management Information for the Brocade enterprise and serves as central repository of all the OIDs under Brocade enterprise OID tree." REVISION "201202030000Z" DESCRIPTION "Initial version of this MIB module." ::= { enterprises 1588 } -- assigned by IANA commDev OBJECT-IDENTITY STATUS current DESCRIPTION "The root OID sub-tree for Communication devices of Brocade." ::= { bcsi 2 } fibrechannel OBJECT-IDENTITY STATUS current DESCRIPTION "The root OID sub-tree for Fibre Channel Devices of Brocade." ::= { commDev 1 } nos OBJECT-IDENTITY STATUS current DESCRIPTION "The root OID sub-tree for Brocade's NOS products." ::= { commDev 2 } fcSwitch OBJECT-IDENTITY STATUS current DESCRIPTION "The root OID sub-tree for Fibre Channel Switches of Brocade." ::= { fibrechannel 1 } bcsiReg OBJECT-IDENTITY STATUS current DESCRIPTION "The root OID sub-tree for Brocade Global Registry." ::= { bcsi 3 } bcsiModules OBJECT-IDENTITY STATUS current DESCRIPTION "The root OID sub-tree for all the Brocade management MIBs." ::= { bcsiReg 1 } brocadeAgentCapability OBJECT-IDENTITY STATUS current DESCRIPTION "This provides a root object identifier from which AGENT-CAPABILITIES values may be assigned." ::= { bcsiReg 2 } ENDAny pointers?
-
-
Hi,
The Brocade-REG-MIB is already in the folder and doesn't throw any errors by itself.
Hence I posted the contents of the Brocade-REG-MIB, hoping someone might be able to help me work out why that particular MIB doesn't throw errors, but a second MIB that depends on it does - with a reference to an object that is defined in the compiled Brocade-REG-MIB.I'm at a loss, as that really doesn't make much sense to me.
Cheers
-
Compiled fine for me.. Try the attached mibs.. Also one thing ive noticed is the mibs wont get picked up if they dont have the .txt extension I doubt that was your issue though
BROCADE-LLDP-EXT-DOT3-CAPABILITY-MIB.mib.txt

-
Still not working for me. Wondering if there is something else in my MIBs folder that's messing with the Brocade ones (I have a handful of Brocade ones that don't compile, I just picked the LLDP-EXT one as an example as it was the first that failed).
The MIB files all have .txt file extensions.I've attached the contents of my mibs folder. Any chance you could try to compile that "as is" at your end? I am curious to see if that will work (in which case something else on my system must be causing the issue) or if the compile will fail (in which case there is "something" in that folder that's breaking it.
-
ok so i took your mibs folder created a seperate folder inside and moved each troubled mib in untill it compiled without errors so basically for what ever reason these mibs are causeing issues not sure if you need these but BRCD_REG looks like a duplicate...
BRCD_NOS_PRODUCTS.txt BRCD_REG.txt FOUNDRY-SN-NOTIFICATION.txt
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login