why this mib can't compile
Frank Fock
frank.fock____marconicomms.com
Fri Apr 28 12:21:08 CEST 2000
OBJECT-IDENTITY is a SMIv2 clause, which obviously can only be
used with SMIv2 modules. The below listed module is not SMIv2,
because a SMIv2 MUST have a (single) MODULE-IDENTITY statement
immediately following the IMPORTS statement.
Best regards,
Frank
javalist wrote:
>
> Hello Agent++ Users:
>
> AIMC-MIB DEFINITIONS ::= BEGIN
>
> IMPORTS
>
> OBJECT-TYPE, OBJECT-IDENTITY, enterprises
> FROM SNMPv2-SMI;
>
>
>
> asiainfo OBJECT IDENTIFIER ::= { enterprises 2000 }
>
> software OBJECT IDENTIFIER ::= { asiainfo 1 }
>
> aimc OBJECT IDENTIFIER ::= { software 1 }
>
> aimcModules OBJECT-IDENTITY
> STATUS current
> DESCRIPTION
> "all aimc module is in this sub-tree"
> ::= { aimc 2 }
>
> END
>
> saying
>
> AIMC-MIB.txt: Syntax error: Encountered: "aimcModules OBJECT-IDENTITY" at line 16, column 9:
> Was expecting one of:
> <LOWERCASENAME> "OBJECT-TYPE" ...
> <LOWERCASENAME> "TRAP-TYPE" ...
> <UPPERCASENAME> ...
> <LOWERCASENAME> <OBJID> ...
> "Gauge32" ...
> "Unsigned32" ...
> "UInteger32" ...
> "Integer32" ...
> "Counter64" ...
> "Counter32" ...
>
> Best Regards
> mailto:javalist at 21cn.com
--
Frank Fock Marconi Communications Software Systems
<frank.fock at marconicomms.com> Blumenstrasse 22-24,
Phone: +49 7191 13-4851 71522 Backnang,
Fax: +49 7191 13-2502 Germany
More information about the AGENTPP
mailing list