This is a discussion on Re: snmpwalk filtering by oid within the SNMP Users forums, part of the Networking and Network Related category; [Sorry for the delay in responding to this] On Fri, 2005-10-28 at 22:47 +0800, tikcireviva wrote: > ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
[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/...net-snmp-users |
![]() |
| Thread Tools | |
| Display Modes | |
|
|