s_save_output¶
-
s_save_output.
script_main
(session)¶ -
This script will prompt the user for a command for a Cisco device and save the output 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)