Wireshark-users: Re: [Wireshark-users] Can't load a MIB file

From: Andrew Hood <ajhood@xxxxxxxxx>
Date: Fri, 01 Aug 2008 23:15:47 +1000
SMITH, RICHARD S (RICH), ATTLABS wrote:
> Vendor MIB file comes to me with .mi2 extension.  I can't get the MIB to
> load into wireshark.   I've tried various with the filename and
> extension with no luck.

It won't work if you don't have all the prerequisite MIBs, and they need
to be syntactically correct:

Juniper-AAA-MIB
  +--SNMPv2-SMI [7 identifiers]
  +--SNMPv2-TC [4 identifiers]
  |  +--SNMPv2-SMI [1 identifier]
  +--SNMPv2-CONF [2 identifiers]
  |  +--SNMPv2-SMI [3 identifiers]
  +--Juniper-MIBs [1 identifier]
  |  +--SNMPv2-SMI [1 identifier]
  |  +--Juniper-UNI-SMI [1 identifier]
  |     +--SNMPv2-SMI [3 identifiers]
  +--Juniper-TC [5 identifiers]
  |  +--SNMPv2-SMI [4 identifiers]
  |  +--SNMPv2-TC [1 identifier]
  |  |  +--SNMPv2-SMI [1 identifier]
  |  +--Juniper-MIBs [1 identifier]
  |     +--SNMPv2-SMI [1 identifier]
  |     +--Juniper-UNI-SMI [1 identifier]
  |        +--SNMPv2-SMI [3 identifiers]
  +--Juniper-ROUTER-MIB [1 identifier]
  |  +--SNMPv2-SMI [4 identifiers]
  |  +--SNMPv2-TC [4 identifiers]
  |  |  +--SNMPv2-SMI [1 identifier]
  |  +--SNMPv2-CONF [2 identifiers]
  |  |  +--SNMPv2-SMI [3 identifiers]
  |  +--SNMP-FRAMEWORK-MIB [1 identifier]
  |  |  +--SNMPv2-SMI [4 identifiers]
  |  |  +--SNMPv2-TC [1 identifier]
  |  |  |  +--SNMPv2-SMI [1 identifier]
  |  |  +--SNMPv2-CONF [2 identifiers]
  |  |     +--SNMPv2-SMI [3 identifiers]
  |  +--Juniper-TC [1 identifier]
  |  |  +--SNMPv2-SMI [4 identifiers]
  |  |  +--SNMPv2-TC [1 identifier]
  |  |  |  +--SNMPv2-SMI [1 identifier]
  |  |  +--Juniper-MIBs [1 identifier]
  |  |     +--SNMPv2-SMI [1 identifier]
  |  |     +--Juniper-UNI-SMI [1 identifier]
  |  |        +--SNMPv2-SMI [3 identifiers]
  |  +-- [2 identifiers]
  |  +--Juniper-MIBs [1 identifier]
  |     +--SNMPv2-SMI [1 identifier]
  |     +--Juniper-UNI-SMI [1 identifier]
  |        +--SNMPv2-SMI [3 identifiers]
  +--IPV6-TC [3 identifiers]
     +--SNMPv2-SMI [1 identifier]
     +--SNMPv2-TC [1 identifier]
        +--SNMPv2-SMI [1 identifier]

-- 
There's no point in being grown up if you can't be childish sometimes.
                -- Dr. Who