|
From: Dave S. <D.T...@cs...> - 2005-11-30 13:40:35
|
[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
|