Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can't snmpwalk the private MIBs.

518 views
Skip to first unread message

Ian Potts

unread,
Jun 16, 1999, 3:00:00 AM6/16/99
to
Hi,

I have two queries.

1.I have the snmpwalk executeable binary that comes with Cisco Systems
Netsys product. It uses a file mib.txt to read it's mib from. I can
only get it to poll from the management part of the MIB down (e.g.
1.3.6.1(dod).2(mgmt)). I can't get it to poll the private part of the
MIB tree.

For example, I can poll the system portion of the tree via:

snmpwalk -v 1 router1 public system

but I can't poll the private part of the tree, receiving "sub-identifier

not found: private":

snmpwalk -v 1 router1 public private.cisco
error message ->sub-identifier not found: private

I've tried appending other mibs to mib.txt (e.g the Cisco MIBs), but it
still won't work. Would you please tell me how I can get snmpwalk to be

able to walk the private part of the MIB?

2. Can you please tell me where I can get a freeware, compiled for
Solaris 2.6, snmpget, and snmpset, that can access the private part of
the MIB?

Thanks for your assistance,
Ian Potts.


+--------------------------------------------------------------------+
|Mandatory : This post represents the views of the author and does |

|Disclaimer : not necessarily accurately represent the views of
BT. |
+--------------------------------------------------------------------+

Blaine Owens

unread,
Jun 16, 1999, 3:00:00 AM6/16/99
to

Ian Potts <nospam.i...@bt.com> wrote in article
<37675F6D...@bt.com>...


>
> 1.I have the snmpwalk executeable binary that comes with Cisco Systems
> Netsys product. It uses a file mib.txt to read it's mib from. I can
> only get it to poll from the management part of the MIB down (e.g.
> 1.3.6.1(dod).2(mgmt)). I can't get it to poll the private part of the
> MIB tree.
>
> For example, I can poll the system portion of the tree via:
>
> snmpwalk -v 1 router1 public system
>
> but I can't poll the private part of the tree, receiving "sub-identifier
>
> not found: private":
>
> snmpwalk -v 1 router1 public private.cisco
> error message ->sub-identifier not found: private
>

I think your snmpwalk is assuming the mgmt.mib-2 (1.3.6.1.2.1) prefix, the
prefix for private.enterprises is 1.3.6.1.4.1 Try

snmpwalk -v 1 router1 public .1.3.6.1.4.1.9

(the "9" is cisco, be sure and enter the leading dot so that it will not
assume the mgmt.mib-2 prefix).

Blaine Owens
bow...@eastman.com

0 new messages