118
Convention Description
{ x | y | ... }
Alternative items are grouped in braces and separated by vertical bars. One is
selected.
[ x | y | ... ]
Optional alternative items are grouped in square brackets and separated by
vertical bars. One or none is selected.
{ x | y | ... } *
Alternative items are grouped in braces and separated by vertical bars. A
minimum of one or a maximum of all can be selected.
[ x | y | ... ] *
Optional alternative items are grouped in square brackets and separated by
vertical bars. Many or none can be selected.
&<1-n>
The argument(s) before the ampersand (&) sign can be entered 1 to n times.
#
A line starting with the # sign is comments.
NOTE:
The keywords of HP command lines are case insensitive.
Take the
clock datetime
time date
command as an example to understand the meaning of the command
Figure 76
Read command line parameters
For example, you can type the following command line at the CLI of your device and press
Enter
to set
the device system time to 10 o’clock 30 minutes 20 seconds, February 23, 2010.
<sysname> clock datetime 10:30:20 2/23/2010
You can read any command that is more complicated according to
.
Undo form of a command
The
undo
form of a command restores the default, disables a function, or removes a configuration.
Almost all configuration commands have an
undo
form. For example, the
info-center enable
command
enables the information center, and the
undo info-center enable
command disables the information
center.
CLI views
CLI view description
Commands are grouped into different classes by function. To use a command, you must enter the class
view of the command.