8: Device Ports
SLCâ„¢ 8000 Advanced Console Manager User Guide 164
<New Script Name>
To delete a script
set script delete <interface|batch> name <Script Name>
To connect an interface script to a Device Port and run it:
connect script <Script Name> deviceport <Device Port # or Name>
To display list of Device Port (interface) scripts or CLI (batch) scripts, or view the contents
of a script:
show script [type <interface|batch> [name <Script Name>]]
Show Script CLI Commands
To run a CLI batch script:
set script runcli <Script Name>
To import a script:
set script import <interface|batch> via <ftp|scp|copypaste>
[file <Script File>] [name <Script Name>] [host <IP Address or Name>]
[login <User Login>] [path <Path to Script File>]
Note: Interface scripts will be given default/do user rights; Batch scripts will be given
admin/ad user rights. The name of the script will be the same as the file name (if it is a
valid script name), otherwise a script name must be specified for import.
set script update <interface|batch> name <Script Name>
[group <default|power|admin>] [permissions <Permission List>]
See 'help user permissions' for information on groups and user rights.
To rename a script:
set script rename <interface|batch> name <Script Name> newname <New
Script Name>
To delete a script
set script delete <interface|batch> name <Script Name>
To connect an interface script to a Device Port and run it:
connect script <Script Name> deviceport <Device Port # or Name>
To display list of Device Port (interface) scripts or CLI (batch) scripts, or view the contents
of a script:
show script [type <interface|batch> [name <Script Name>]]