Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
1-68
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 1 Basic System Commands
run-script
run-script
To run a command script file at the command-line interface (CLI), use the run-script command.
run-script [filesystem:[//module/]][directory/]filename
Syntax Description
Note There can be no spaces in the filesystem://server/directory/filename string. Individual elements of this
string are separated by colons (:) and slashes (/).
Command Default None
Command Modes EXEC mode
Command History
Usage Guidelines You must create the command file on a remote device and download it to the Cisco Nexus 5000 Series
switch using the copy command.
Examples This example shows how to run a command script file:
switch# run-script script-file
Related Commands
filesystem: (Optional) Name of a file system. The name is case sensitive.
//module/ (Optional) Identifier for a supervisor module. Valid values are sup-active,
sup-local, sup-remote, or sup-standby. The identifiers are case sensitive.
directory/ (Optional) Name of a directory. The name is case sensitive.
filename Name of the command file. The name is case sensitive.
Release Modification
4.0(0)N1(1a) This command was introduced.
Command Description
cd Changes the current working directory.
copy Copies files.
dir Displays the directory contents.
echo Displays a test string on the terminal.
pwd Displays the name of the current working directory.
sleep Causes the CLI to pause for a defined number of seconds.