[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-users
Subject:    Re: snmpwalk filtering by oid
From:       Dave Shield <D.T.Shield () csc ! liv ! ac ! uk>
Date:       2005-11-30 13:40:33
Message-ID: 1133358033.24470.141.camel () daves ! staff ! csc ! liv ! ac ! uk
[Download RAW message or body]

    [Sorry for the delay in responding to this]


On Fri, 2005-10-28 at 22:47 +0800, tikcireviva wrote:
> I run snmpwalk to get the arp table from my cisco switch with the 
> following command.
>      snmpwalk -v 1 -c public 10.10.10.11
> 
> It then returns a bunch of data... I don't really interested to.
> Could anyone please tell me how to filter out those data
> with other OIDs?

Specify the root of the tree that you're interested in
after the IP address.


> I did the following:
>    snmpwalk -v 1 -c public 10.10.10.11 3.6.1.2.1.3.1.1

Close, but not quite.
You missed out the leading '1'
Try
     snmpwalk -v 1 -c public 10.10.10.11 .1.3.6.1.2.1.3.1.1

or simply

     snmpwalk -v 1 -c public 10.10.10.11 atEntry

or possibly

     snmpwalk -v 1 -c public 10.10.10.11 ipNetToMediaTable

(which is a newer version of the same information).

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic