Re: How can I fixed the error message "- (is a reserved word)" as red color part, when I execute snmpwalk command as follow in Windows XP

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2008/9/18 hungta <[email protected]>:
> - (is a reserved word): At line 58 in
>     C:/usr/share/snmp/mibs/TLAB8600FAULT-MIB.txt


> --
> **************************************************************************
> -- Filename:        tlab8600Fault.mib
> -- Description:     This file contains definitions for fault event tables.
> --
> -- MIB Version:     1.0
> --
> -- Copyright (C) 2005 by Tellabs. All rights reserved.
> -- Reproduction of this document is authorized on the condition that
> -- the foregoing copyright notice is included.
> --
> -- NOTE:  The contents of this document are subject to change without notice
> --
> **************************************************************************
>
> TLAB-8600-FAULT-MIB DEFINITIONS ::= BEGIN
    [snip]
> -----------------------------------------------------------------------------
> (line 58)

I haven't counted, but there's almost certainly an odd number
of hyphens in this line.      The "left-over" hyphen is treated
as a real part of the MIB, and throws the error.

Never Ever Ever use lines of dashes to separate parts of a
MIB file.   Use two dashes to mark the start of a comment,
but then use some other character to complete the line.

i.e.
     -- ==========================
or
     -- ________________________
or
     -- ........................................

Using a complete line of dashes will work three times
out of four, but will break seemingly at random.

Dave

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.