s_save_running

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

This script will grab the running configuration of a Cisco IOS, NX-OS or ASA device and save it into a file. The path where the file is saved is specified in settings.ini file. This script assumes that you are already connected to the device before running it.

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