EasyManua.ls Logo

Cisco Nexus 5500 Series - high-performance host-netio (virtual Ethernet interface)

Cisco Nexus 5500 Series
160 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
Loading...
You cannot create the script files at the CLI prompt. You can create the script file on a remote device and
copy it to the bootflash:, slot0:, or volatile: directory on the Cisco NX-OS device.
Note
SUMMARY STEPS
1.
run-script [bootflash: | slot0: | volatile:]filename
DETAILED STEPS
PurposeCommand or Action
Executes the commands in the file on the default
directory.
run-script [bootflash: | slot0: | volatile:]filename
Example:
switch# run-script testfile
Step 1
Echoing Information to the Terminal
You can echo information to the terminal, which is particularly useful from a command script. You can
reference CLI variables and use formatting options in the echoed text.
This table lists the formatting options that you can insert in the text.
Table 7: Formatting Options for the echo Command
DescriptionFormatting Option
Inserts back spaces.\b
Removes the new line character at the end of the text
string.
\c
Inserts a form feed character.\f
Inserts a new line character.\n
Returns to the beginning of the text line.\r
Inserts a horizontal tab character.\t
Inserts a vertical tab character.\v
Displays a backslash character.\\
Displays the corresponding ASCII octal character.
\nnn
Cisco Nexus 5500 Series NX-OS Fundamentals Configuration Guide, Release 7.x
OL-30890-01 59
Understanding the Command-Line Interface
Echoing Information to the Terminal

Table of Contents

Other manuals for Cisco Nexus 5500 Series

Related product manuals