Fulko,

I'm aware that if specify the OID I can get the vendor-specific OIDs via an 
snmpwalk.

However, the tool that is querying the device will not allow that.  It is a 
commercial product from Alcatel-Lucent and it will not specify an OID to walk.  
It runs a "bare" snmpwalk command and will only discover the "default" OIDs 
that are returned.

Thank you for your reply.  I appreciate the time you took to try and help me.

Michael Peoples (mp4783)
AT&T Network Operations
Network Operations Centers Planning
Office: +1 614-886-0923
Mobile: +1 614-886-0923

Senior Applications Developer
mp4...@att.com

-----Original Message-----
From: Fulko Hew [mailto:fulko....@gmail.com] 
Sent: Wednesday, November 05, 2014 9:32 AM
To: PEOPLES, MICHAEL P
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: How do add the .1.3.6.1.4 OID root to the default output of an 
snmpwalk for which no OID argument is given.

On Wed, Nov 5, 2014 at 8:47 AM, PEOPLES, MICHAEL P <mp4...@att.com> wrote:
> When executing the following command on a Brocade Vyatta 5600, you only get
> OIDs from a root OID of .1.3.6.1.2.
>
> snmpwalk -c XXXXXXX -v 2c vyatta01.foo.com
>
> However, the vendor specific OIDs are available only in the root OID
> .1.3.6.1.4. I need to get these vendor OIDs when performing a "bare"
> snmpwalk as shown above.
>
> I have a situation where I cannot change the command used to retrieve data,
> so I cannot simply add .1.3.6.1.4 to the end of the snmpwalk command. I also
> cannot change the SNMP agent (Net-SNMP) running on the Vyatta router.

.. snip ...

The default starting OID for the snmpwalk command (if you don't specify one)
is MIB-2 (.1.3.6.1.2) ... so that's all you will get unless you
specify otherwise.

If you want to walk the whole tree you will need to do:

snmpwalk -c XXXXXXX -v 2c vyatta01.foo.com 1

or to get only the vendor specific OIDs, then you can do

snmpwalk -c XXXXXXX -v 2c vyatta01.foo.com 1.3.6.1.4

------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to