reading ARP table

Reply
Highlighted
L0 Member

reading ARP table

Hi,

I am new here!

I want to extract the ARP table from our PA-5000's.

At this moment, I can do this by using the CLI ("show arp all").

Is there another way to do this (by using SNMP or API)?

/api/?type=op&cmd=<show><arp></arp></show> gives me error 17

Kind regards!

Karel

Tags (5)
SRA
L4 Transporter

Re: reading ARP table

L0 Member

Re: reading ARP table

Thanks a lot!

I guess I missed the "all" :-)

L3 Networker

Re: reading ARP table

need to bump this

this is not possible with SNMP?

My PA is the only "router" in the network and I need something to query the ARP table with SNMP to match IP to MAC addresses. All Switches are L2 devices

thanks

Andre

L4 Transporter

Re: reading ARP table

Looks like PANOS doesn't respond to the two OIDs related to pulling the ARP/MAC table via SNMP:

IP-MIB::ipNetToPhysicalPhysAddress = No Such Object available on this agent at this OID

IP-MIB::ipNetToMediaPhysAddress = No Such Object available on this agent at this OID

L1 Bithead

Re: reading ARP table

Had similair request to read the ARP table by using SNMP.

Anyone an idea if and when OID .1.3.6.1.2.1.4.22.1.2 ipNetToMediaPhysAddress will be supported?

Best regards,

Patrick

L0 Member

Re: reading ARP table

Really no reply on this? I was searching for this answer as well and was surprised to see this and nothing since may. You think this would be up in the list to get working.

L2 Linker

Re: reading ARP table

I actually have a similar problem using an IPAM system like Infoblox or Bluecat.


Actually  .1.3.6.1.2.1.4.22.1.2 works here for me on 5.0.6

Missing are

.1.3.6.1.2.1.4.24.2

.1.3.6.1.2.1.4.24.4

.1.3.6.1.2.1.4.21 

Also the subinterfaces are not listed in the MIB.

L0 Member

Re: reading ARP table

if you have the console access to the device, then its easier to findout the Rest call.

Just run the below command:

debug cli on

and then run the command which you want to request through Rest like below: To get Arp table

show arp all

Output:

<request cmd="op" cookie="1112336478312474" uid="500"><operations><show><arp><entry name='all'/></arp></show></operations></request>

 

Highligted text is your path to get the command.

L0 Member

Re: reading ARP table

hi 

We have one customer using solarwinds IPAM but not able to get the ARP-IP mapping using snmp OID 1.3.6.1.2.1.4.22 

 

can you please confirm us if its works with you or not .

 

thank you 

 

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!