Using The Undo Form Of A Command; Cli Views - HP 5830 Series Configuration Manual

Hide thumbs Also See for 5830 Series:
Table of Contents

Advertisement

Figure 1 Understanding command-line parameters
For example, to set the system time to 10:30:20, February 23, 201 1, enter the following command line
at the CLI and press Enter:
<Sysname> clock datetime 10:30:20 2/23/2011

Using the undo form of a command

Most configuration commands have an undo form for canceling a configuration, restoring the default, or
disabling a feature. For example, the info-center enable command enables the information center, and
the undo info-center enable command disables the information center.

CLI views

Commands are grouped in different views by function. To use a command, you must enter the view of the
command.
CLI views are organized in a hierarchical structure, as shown in
from which you can identify where you are and what you can do. For example, the prompt
[Sysname-vlan100] shows that you are in the view of VLAN 100 and can configure attributes for the
VLAN.
You are placed in user view immediately after you are logged in to the CLI. The user view prompt is
<Device-name>, where the Device-name argument defaults to HP and can be changed by using the
sysname command. In user view, you can perform some basic operations, including display, debug, file
management, FTP, Telnet, clock setting, and reboot. For more information about the sysname command,
see Fundamentals Command Reference.
From user view, you can enter system view to configure global settings, including the daylight saving time,
banners, and hotkeys. The system view prompt is [Device-name].
From system view, you can enter different function views. For example, you can enter interface view to
configure interface parameters, enter VLAN view to add ports to the specific VLAN, enter user interface
view to configure login user attributes, or create a local user and enter local user view to configure
attributes for the local user.
To display all commands available in a view, enter a question mark (?) at the view prompt.
Figure
2
2. Each view has a unique prompt,

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents