command cli show arp and export result

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

command cli show arp and export result

L2 Linker
command cli show arp and export result
I search to export the result show arp command

show command, copy the result and export to my computer in ssh

17 REPLIES 17

no problem

it's ok for acces to see the xml page

i would test the export

thank you

but i did not find to replace entry name = 'all'/  by ip=192.168.0.1/24 ?

Hi@axelfa ,

 

As you're looking for exporting arp list, just put IP address of your firewall and a associated API key in below path, the file will get exported through curl. In the post, may be you're not able to see full path, just copy below path and paste it in notepad. So you'll get more clarity.

Just make sure IP address and API key is correct.

 

curl -kG "https://192.168.1.1/api/?type=op&cmd=%3Cshow%3E%3Carp%3E%3Centry+name+%3D+%27all%27%2F%3E%3C%2Farp%3E%3C%2Fshow%3E&key=<api-key>"  > arp-list.xml

 

Hope it works!

Mayur

 

 

M
  • 24940 Views
  • 17 replies
  • 0 Likes
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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!