Command Line Interface
68 1553-CNH 160 0787 Uen PA2 2005-09-23
11.3 Entering Commands
This section describes how to enter CLI commands.
11.3.1 Keywords and Arguments
A CLI command is a series of keywords, arguments and parameters sepa-
rated by spaces. Keywords identify a command, and arguments specify
configuration parameters. For example, in the command config system
interface default-gateway 192.168.3.254, config, system
and interface are keywords, default-gateway is an argument that
specifies the interface type, and 192.168.3.254 is a parameter speci-
fies the value of the argument. Commands can be entered as follows:
• Enter the required sequence of keywords, arguments and parameters
all at once. For example, to configure the IP Address of the default
gateway, enter:
ecn330# config system interface default-gateway
192.168.3.254
• Enter the required sequence of keywords, arguments and parameters
one by one. The prompt will display the command level. For example,
to configure the IP Address default gateway, enter:
ecn330(config)# system
ecn330(config system)# interface
ecn330(config system interface)# default-gateway
192.168.3.254
When entering a new command level or after a keywords, argument and
parameter the ? character or the Tab key can be used to display a list of
possible keywords, arguments and parameters. The commands exit (see
section
11.5.2 on page 74) and end (section 11.5.2 on page 74) will
change the command level. The CLI is not case sensitive.
11.3.2 Minimum Abbreviation
The CLI will accept a minimum number of characters that uniquely identify
a command. For example, the command config can be entered as co. If
an entry is ambiguous, the system will prompt for further input. In the ex-
ample in
Figure 40 on page 69, the command show system calendar is
typed as s s ca <Enter>.