|
From: Bill F. <fe...@gm...> - 2010-10-25 14:31:00
|
On Thu, Oct 21, 2010 at 5:41 PM, Hamid Majidy <ha...@pc...> wrote: > The ARP is already in the MIB. Try something like: > snmpwalk -c public -v 2c 10.0.0.1 .1.3.6.1.2.1.2.2.1.6 Hamid, That's the MAC address for a given interface (IF-MIB::ifPhysAddress). The information Joel and others are looking for is the ARP mapping, e.g., using IP-MIB::ipNetToPhysicalTable, IP-MIB::ipNetToMediaTable or even RFC1213-MIB::atTable. PIXOS/ASA-OS has never implemented any of these tables, thus the varied scripts that log onto the firewall and screen-scrape the ARP tables. Bill > -----Original Message----- > From: Jethro R Binks [mailto:jet...@st...] > Sent: Thursday, October 21, 2010 12:56 PM > To: net...@li... > Subject: Re: [Netdisco] Getting ARP entries from a Cisco ASA > > On Thu, 21 Oct 2010, Joel Krauska wrote: > >> I'll try the newest ASA release, but I'm wondering if netdisco has a >> manual method to insert this data? >> >> I could automate a script to login and parse 'show arp' and drop in in >> to csv or anyother format. I just need a method to import in to >> netdisco. Is this hard to do? > > Replying to yourself? > > Did you see my previous message on the subject? > > Jethro. > > >> >> --Joel >> >> On 10/20/10 7:12 PM, Joel Krauska wrote: >> > I have an ASA running 8.2 software, and I know it's got an arp cache, >> > but arpnip isn't pulling anything. >> > >> > Any ideas on what I could try on this? >> > >> > Unfortunately my ASA is my main "router" and has all ARP entries. >> > >> > --Joel >> > >> > >> > asa01# sh arp >> > ... >> > data 192.168.168.43 XXXX.c94d.XXXX 13 >> > data 192.168.168.29 XXXX.b133.XXXX 14 >> > ... >> > >> > But arpnip isn't grabbing anything... >> > >> > /usr/bin/netdisco -A 192.168.168.1 -D >> > n e t d i s c o >> > -------------------------------------------------- >> > Using Config File : /etc/netdisco/netdisco.conf >> > arpnip(192.168.168.1) : >> > get_device(192.168.168.1) >> > get_device(192.168.168.1) - Connecting using cached info: > 192.168.168.1/p/2 >> > create_device(192.168.168.1,p,2,AutoSpecify,bw:default) >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/allied >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/arista >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/aruba >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/asante >> > SNMP::Info::init() - Adding new > mibdir:/usr/share/netdisco/mibs/cabletron >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/cisco >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/cyclades >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/dell >> > SNMP::Info::init() - Adding new > mibdir:/usr/share/netdisco/mibs/enterasys >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/extreme >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/foundry >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/hp >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/juniper >> > SNMP::Info::init() - Adding new > mibdir:/usr/share/netdisco/mibs/netscreen >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/nortel >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/rfc >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/net-snmp >> > SNMP::Info::_global layers : sysServices.0 >> > SNMP::Info::_global description : sysDescr.0 >> > SNMP::Info::_global id : sysObjectID.0 >> > SNMP::Info 2.01 ($Id: Info.pm,v 1.150 2009/06/12 22:25:32 maxbaker Exp > $) >> > SNMP::Info::device_type() layers:00000100 id:9 sysDescr:"Cisco Adaptive >> > Security Appliance Version 8.2(2)" >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/allied >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/arista >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/aruba >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/asante >> > SNMP::Info::init() - Adding new > mibdir:/usr/share/netdisco/mibs/cabletron >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/cisco >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/cyclades >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/dell >> > SNMP::Info::init() - Adding new > mibdir:/usr/share/netdisco/mibs/enterasys >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/extreme >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/foundry >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/hp >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/juniper >> > SNMP::Info::init() - Adding new > mibdir:/usr/share/netdisco/mibs/netscreen >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/nortel >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/rfc >> > SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco/mibs/net-snmp >> > SNMP::Info::specify() - Changed Class to SNMP::Info::Layer3::Cisco. >> > SNMP::Info::_global layers : sysServices.0 >> > [192.168.168.1] Device Type : SNMP::Info::Layer3::Cisco >> > mac_getportmacs() ... found 330 MACs. >> > SNMP::Info::_load_attr at_paddr : ipNetToMediaPhysAddress >> > SNMP::Info::_global description : sysDescr.0 >> > SNMP::Info::_load_attr physical_at_paddr : ipNetToPhysicalPhysAddress >> > SNMP::Info::_load_attr at_netaddr : ipNetToMediaNetAddress >> > SNMP::Info::_load_attr physical_at_paddr : ipNetToPhysicalPhysAddress >> > [192.168.168.1] Processed 0 ARP Cache entries. >> > SNMP::Info::_load_attr ip_netmask : ipAdEntNetMask >> > ... >> > Found subnet 192.168.168.0/24 >> > Found subnet 192.168.169.0/24 >> > ... >> > >> > Why 0 ARP cache entries? >> > >> >> >> > ---------------------------------------------------------------------------- > -- >> Nokia and AT&T present the 2010 Calling All Innovators-North America > contest >> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada >> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in > marketing >> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >> http://p.sf.net/sfu/nokia-dev2dev >> _______________________________________________ >> Netdisco mailing list >> net...@li... >> https://lists.sourceforge.net/lists/listinfo/netdisco-users >> > > . . . . . . . . . . . . . . . . . . . . . . . . . > Jethro R Binks, Network Manager, > Information Services Directorate, University Of Strathclyde, Glasgow, UK > > The University of Strathclyde is a charitable body, registered in > Scotland, number SC015263. > > ---------------------------------------------------------------------------- > -- > Nokia and AT&T present the 2010 Calling All Innovators-North America contest > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > Netdisco mailing list > net...@li... > https://lists.sourceforge.net/lists/listinfo/netdisco-users > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America contest > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > Netdisco mailing list > net...@li... > https://lists.sourceforge.net/lists/listinfo/netdisco-users > |