s_arp_to_csv

s_arp_to_csv.script_main(session)
SINGLE device script
Author: Jamie Caesar

This script will capture the ARP table of the attached device and output the results as a CSV file. While this script can be used to capture the ARP table, the primary purpose is to create the ARP associations that the “s_switchport_mapping.py” script can use to map which MAC and IP addresses are connected to each device.

Parameters:session (sessions.Session) – A subclass of the sessions.Session object that represents this particular script session (either SecureCRTSession or DirectSession)