[MIB Designer] MIB systax check confusion on IMPORTS

PHIL BERGSTRESSER phil.bergstresser at adtran.com
Tue Feb 5 00:09:32 CET 2008


I have the following error messages that shows one of the IMPORT statements has not been fully processed. Is this perhaps because of the 2 other errors later in the MIB? They are both Table row lists, where the final row has a trailing comma. Wrong of course, but should that blow off an IMPORT? The first adIdentity import works for the Module Identity clause, the the 2 others remain undefined. Some of the errors are from subsequent derivatives since the first OBJECT IDENTIFIER definition failed. I can send the whole MIB if needed.
 
------ adTa5kSm.mi2 ------
adTa5kSm.mi2 #1: [1000] Syntax error: Encountered "}" at line 402, column 8: 
Was expecting: 
   ...
  
adTa5kSm.mi2 #2: [1000] Syntax error: Encountered "}" at line 758, column 8: 
Was expecting: 
   ...
  
adTa5kSm.mi2 #3: [1502] The object adTa5kSmTest at line 895, column 14 must be defined or imported (RFC2578 §3.2)
adTa5kSm.mi2 #4: [1502] The object adTa5kSmAlarms at line 1070, column 13 must be defined or imported (RFC2578 §3.2)
adTa5kSm.mi2 #5: [1502] The object adTa5kSmStatus at line 733, column 14 must be defined or imported (RFC2578 §3.2)
adTa5kSm.mi2 #6: [1502] The object adTa5kSmAtpMfg at line 997, column 14 must be defined or imported (RFC2578 §3.2)
adTa5kSm.mi2 #7: [1502] The object adTa5kSmSystemEntry at line 165, column 14 must be defined or imported (RFC2578 §3.2)
adTa5kSm.mi2 #8: [1502] The object adTa5kSmClockStatusEntry at line 769, column 14 must be defined or imported (RFC2578 §3.2)

MIB fragment:
        adIdentity,
        adProducts,
        adMgmt
            FROM ADTRAN-MIB
. . .
        DESCRIPTION
            "Total Access 5000 SwitchModule 1187020L1 MIB"
        ::= { adIdentity 750 }

-- OBJECT IDENTIFIERS
    adTa5kSm         OBJECT IDENTIFIER ::= { adMgmt 750 }
    adTa5kSmTraps    OBJECT IDENTIFIER ::= { adProducts 750 }
    adTa5kSmAlarms   OBJECT IDENTIFIER ::= { adTa5kSmTraps 0 }
    adTa5kSmConfig   OBJECT IDENTIFIER ::= { adTa5kSm 1 }
    adTa5kSmProv     OBJECT IDENTIFIER ::= { adTa5kSm 2 }
    adTa5kSmStatus   OBJECT IDENTIFIER ::= { adTa5kSm 3 }
    adTa5kSmTest     OBJECT IDENTIFIER ::= { adTa5kSm 4 }
    adTa5kSmPerfMon  OBJECT IDENTIFIER ::= { adTa5kSm 5 }
    adTa5kSmAtpMfg   OBJECT IDENTIFIER ::= { adTa5kSm 6 }

Thank you.

Phil


Philip N. Bergstresser
Design Engineer, SNMP NMS
ADTRAN, Inc.
901 Explorer Blvd, 
Huntsville, AL  35806
(256) 963-8399



More information about the MIBDesigner mailing list