Re: snmpget and snmpwalk return corrupt string instead of hex string when MAC address starts with non zero

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 14 July 2010 20:33, Randall C Grimshaw <[email protected]> wrote:
> When I tried to remove the RFC1213-MIB the apps fail.
> ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaPhysAddress.443:
>   Unknown Object Identifier (Sub-id not found: (top) -> ip)

You need to remove the RFC1213-MIB *and* install the IP-MIB, etc.
One without the other won't work.

This ought to be set up automatically as part of installing the Net-SNMP
package.  The fact that the IP-MIB currently isn't being found is a bad sign.


> I tried to add a hint to the RFC1213-MIB under ipNetToMediaPhysAddress

No - that's not a sensible approach.
Concentrate on getting the standard MIBs loaded properly.


> Bad format of optional clauses (DISPLAY-HINT): At line 1314
>    in /usr/local/net-snmp/5.5/share/snmp/mibs/RFC1213-MIB.txt

What does
     'ls /usr/local/net-snmp/5.5/share/snmp/mibs'
           report?

Dave

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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.