cancel
Showing results for 
Search instead for 
Did you mean: 

Export VRF ARP table

Export VRF ARP table

WillyHe
Contributor II

Hello,

I need to export the ARP table on all switches for a specific VRF.
I have created a script that is doing exactly what I need.

#VOSS ONLY
#syslog
CLI enable
cli terminal more disable
cli show ip arp vrfid 1 | exclude 2/|TX-NNI|-

I need help to get the results for all switches exported to one file that is available for download.
Has anyone ideas how to do this?

regards
WillyHe

1 REPLY 1

Zdeněk_Pala
Extreme Employee

Hi WillyHe,

Option 1: run those commands sequentially. you will need commands like:

emc_cli.setIpAddress(“1.2.3.4”)
emc_cli.setMaxCliOut(5242880)

Option 2: run those commands concurrently, each instance of the activity will store the results to its own file with name "<IP-address>.txt"
then merget those files to one.

You can check the inspiration here:

ERS inventoryThis workflow creates one email with CSV file attached. All ERS devices are there with IP, serial numbers, and many details.
Regards Zdeněk Pala
GTM-P2G8KFN