Lenovo RackSwitch G8264 Command Reference Manual page 680

Iscli - industry standard cli for lenovo enterprise network operating system 8.4
Hide thumbs Also See for RackSwitch G8264:
Table of Contents

Advertisement

680
G8264 Command Reference for ENOS 8.4
Table 384.
Python Scripts Management and Execution Commands
Command Syntax and Usage
no script <script filename>
Deletes a script from the system.
Note: If the script is specified as action of a scheduled job, the corresponding 
scheduled job must be deleted first.
Command mode: Privileged EXEC
no script­log [<script log filename>]
Deletes all script execution log files or a specific script log file from the system.
Command mode: Privileged EXEC
python
Provides access to Python shell.
Command mode: Privileged EXEC
python <script filename> [<argument list>]
Executes a python script directly. The optional list of arguments, if present, 
must be provided as a string enclosed in double quotes and the arguments 
must be separated by white spaces.
The string representing the list of arguments must not exceed 199 characters.
Command mode: Privileged EXEC
[no] logging log scheduler
Enables or disables scheduler module syslog.
The default setting is enabled.
Command mode: Global Configuration
[no] logging log script
Enables or disables scripting module syslog.
The default setting is enabled.
Command mode: Global Configuration
show script [<script filename>]
Displays a list of all installed scripts or a specific script.
Command mode: All
show script­log [<script log filename>]
Displays a list of all script log files or a specific script log file.
Note: All script‐log files are automatically deleted after a reboot of the switch.
Command mode: All

Advertisement

Table of Contents
loading

Table of Contents