s_mac_to_csv

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

This script will grab the MAC address table from a Cisco IOS or NX-OS device and export it to a CSV file.

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