Command syntax check – Rockwell Automation 1783-SR Stratix 5900 Services Router User Manual User Manual

Page 63

Advertising
background image

Rockwell Automation Publication 1783-UM005A-EN-P - September 2013

63

Configure the Stratix 5900 Services Router by Using CISCO IOS Command-line Interface (CLI)

Chapter 4

This is a an example of word help.

Router# co?

configure connect copy

Command Syntax

You can use command syntax help to obtain a list of command, keyword, or
argument options that are available based on the syntax that you already entered.
To use command syntax help, enter a question mark (?) in the place of a keyword
or argument. Include a space before the question mark. A list of the available
command options appear with <cr> standing for carriage return. This is an
example of command syntax help.

Router# configure ?

memory Configure from NV memory

network Configure from a TFTP network host

overwrite-network Overwrite NV memory from TFTP

network host=20

terminal Configure from the terminal

<cr>

Command Syntax Check

If you enter a command improperly, for example, a typo or invalid command
option, the router informs you and indicates where the error has occurred. A caret
symbol (^) appears underneath the incorrect command, keyword, or argument.
The following example illustrates what happens if the keyword ‘ethernet’ is
spelled incorrectly.

Router(config)#interface ethernet

^

% Invalid input detected at '^' marker.

Command Abbreviation

You can abbreviate commands and keywords to the minimum number of
characters that identifies a unique selection. For example, you can abbreviate the
‘configure’ command to ‘conf ’ because ‘configure’ is the only command that
begins with ‘conf ’. You could not abbreviate the command to ‘con’ because more
than one command could fit this criteria. The router issues the following error
message if you do not supply enough characters.

cisco(config)#i

% Ambiguous command: "i"

Advertising