Delaying Command Action - Cisco Nexus 9000 Series Configuration Manual

Nx-os fundamentals configuration guide
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Understanding the Command-Line Interface
Table 8: Formatting Options for the echo Command
Formatting Option
\b
\c
\f
\n
\r
\t
\v
\\
\nnn
Procedure
Step 1

Delaying Command Action

You can delay a command action for a period of time, which is particularly useful within a command script.
Procedure
Step 1
Command or Action
echo [backslash-interpret] [text]
Example:
switch# echo This is a test.
This is a test.
Command or Action
sleep seconds
Example:
switch# sleep 30
Cisco Nexus 9000 Series NX-OS Fundamentals Configuration Guide, Release 7.x
Description
Inserts back spaces.
Removes the new line character at the end of the text
string.
Inserts a form feed character.
Inserts a new line character.
Returns to the beginning of the text line.
Inserts a horizontal tab character.
Inserts a vertical tab character.
Displays a backslash character.
Displays the corresponding ASCII octal character.
Purpose
The backslash-interpret keyword indicates that the text
string contains formatting options. The text argument is
alphanumeric, case sensitive, and can contain blanks. The
maximum length is 200 characters. The default is a blank
line.
Purpose
Causes a delay for a number of seconds. The range
is from 0 to 2147483647.
Delaying Command Action
59

Advertisement

Table of Contents
loading

Table of Contents