1-3
The keywords of H3C command lines are case insensitive.
Take the
clock datetime
time date
command as an example to understand the command meaning
according to
.
Figure 1-2
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 typically restores the default, disables a function, or removes a
configuration.
Almost every configuration command has its
undo
form.
For example, the
info-center enable
command is used to enable the information center, while the
undo info-center enable
command is used to disable the information center.
CLI View Description
To facilitate CLI usage, commands are grouped into different classes by function. To use a command,
you must enter the class (view) of the command.
CLI views adopt a hierarchical structure, as shown in
z
After logging in to the switch, you are in user view. The prompt of user view is <
device name
>. In
user view, you can perform display, debugging, and file management operations, set the system
time, restart your device, and perform FTP and telnet operations.
z
You can enter system view from user view. In system view, you can configure parameters such as
daylight saving time, banners, and short-cut keys.
z
In system view, you can enter different function views. For example, enter interface view to
configure interface parameters, create a VLAN and enter its view, enter user interface view to
configure login user attributes, create a local user and enter local user view to configure the
password and level of the local user, and enter OSPF view to configure OSPF parameters.