Cli command usage basics, Entering cli commands – ATL Telecom R1-SW Ethernet Switch User Manual

Page 78

Advertising
background image

R1-SW24L2B User’s Manual

5-10

CLI Command Usage Basics

Entering CLI Commands

To executing a CLI command, you should enter both the command and it’s options. You can
execute the commands in the command mode which the prompt is locating now.

The CLI commands of the Corecess R1-SW24L2B have the following characteristics:

y

The CLI commands are case-sensitive.

y

The CLI supports command completion, so you do not need to enter the entire name of a

command or option. As long as you enter enough characters of the command or option name
to avoid ambiguity with other commands or options, the CLI understands what you are
typing. For example, you can enter only con t to execute the configure terminal
command at Privileged command mode.

localhost# con t

localhost(config)#


But if you enter only co t, the following error message will be displayed. Because there are
copy and configure command and the system can’t distinguish the two commands.

localhost# co t

% Ambiguous command :co t

y

To complete a command, press Tab key. If you enter a few known characters, then press Tab

key, the CLI displays the rest characters of the command. For example, if you enter only con,
then press Tab key, the CLI displays configure on the terminal.

y

To display a list of available commands or command options, enter “?”. If you have not

entered part of a command at the command prompt, all the commands supported at the
current CLI mode are listed. If you enter part of a command, then enter “?”, the CLI lists the
options you can enter at the point in the command string.

Advertising