EasyManuals Logo

Dell FORCE10 Open Automation User Manual

Dell FORCE10 Open Automation
98 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #37 background imageLoading...
Page #37 background image
Smart Scripting CLI | 37
script
z
Run a Perl, Python, or UNIX shell script from the FTOS CLI.
Syntax
script [username name] script-name [script-parameter script-parameter ...]
Parameters
Defaults
None
Command Modes
CONFIGURATION
Command
History
Usage
Information
You can enter the script command multiple times to run more than one script at the
same time; for example:
FTOS(conf)#script username root /usr/pkg/scripts/sample_scripts/
DisplayAlarms.py
FTOS(conf)#script username root /usr/pkg/bin/python /usr/pkg/scripts/VSNAgent/
Xen/hpAgtMain.py
When you run a script from the FTOS CLI with the script command, you can specify an
optional user name to apply the read-write privileges assigned to the user name when
the script is run (see Running a Script from the FTOS CLI). You configure the
username and password with the username command. If you do not specify a user name
with the script command, the script is run with the privileges of the current user.
For information on how to run a script directly from a UNIX shell, see Running a
Script from the UNIX Shell.
username name (Optional) Enter the user name whose read-write privileges will be
applied when the script is run. A username used to run scripts cannot
contain special characters.
script-name Enter the name of the script to run, including the directory path and
filename; for example:
Perl script: /usr/pkg/scripts/sample_scripts/cmd-server.pl
Python script: /usr/pkg/scripts/sample_scripts/DisplayAlarms.py
UNIX shell script: /usr/pkg/home/admin/test.sh
script-parameter (Optional) Enter the values of up to three parameters to be applied
when the script is run. Enter a blank space between parameter
values; for example:
script username admin /f10/flash/createVlans.py 1 2
Version 9.0.0.0 Introduced on the Z9000.
Version 8.3.8.0 Introduced on the S4810.
Version 8.3.5.1 Introduced on the S55.
Version 8.3.3.4 Introduced on the S60.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Dell FORCE10 Open Automation and is the answer not in the manual?

Dell FORCE10 Open Automation Specifications

General IconGeneral
SeriesFORCE10
ModelOpen Automation
Jumbo Frame SupportYes
Product TypeSwitch
PortsVaries by model
Switching CapacityVaries by model
Forwarding RateVaries by model
MAC Address Table SizeVaries by model
Power SupplyVaries by configuration
Operating Temperature0°C to 40°C
Storage Temperature-40°C to 70°C
DimensionsVaries by model
WeightVaries by model

Related product manuals