AB291A Fabric Clustering System Support Guide (12-port Switch), April 2004

Table Of Contents
Chapter 5
Administration and Management
Switch Administration and Management
61
Entering CLI Modes
The CLI has four command modes
user-execute mode
privileged-execute mode
global-configuration mode
sub-command mode
The commands you can enter depend upon the current command mode and who you log in as. You may enter
a question mark (?) at the CLI prompt to list the commands appropriate for the current mode and user
identity.
All CLI sessions begin in the user-execute mode. This mode provides commands for viewing some of the
system configuration and some user information. Guest users may only work in the user-execute mode.
The user-execute mode is also the entry point to the privileged-execute mode. The privileged-execute mode
can view the entire system configuration and all user information. It is used to perform some high-level
administrative tasks, such as saving the current configuration and setting the system clock. It is also the
access point to the global-configuration and sub-command modes. You must enter the privileged-execute
mode before entering the configuration modes. This is done simply by entering the enable keyword after
starting the CLI session. Note that administrative and unrestricted users may enter the privileged-execute
mode.
# telnet HP-IB
Login: super
Password: xxxx
HP-IB> enable
HP-IB#
Mode changes are reflected in changes to the CLI prompt. Going from the user-execute to privileged-execute
mode, the prompt changes from:
HP-IB>
to
HP-IB#.
You enter the global-configuration mode from the privileged-execute mode. The global-configuration mode is
used to configure everything except system interface cards and their ports. The global-configuration mode
configures system-level attributes, such as SNMP, SNMP agents, and the networks. To enter the
global-execute mode, enter the config keyword while in the privileged-execute mode.
HP-IB# configure
HP-IB(config)#
Going from the privileged-execute to global-configuration mode, the prompt changes from:
HP-IB#
to
HP-IB(config)#.
The final mode is sub-command mode. Anything to do with the HP Fabric Clustering System is done in this
mode. This mode is used to assign IP addresses to interface ports, set connection speeds, set connection types,
and other settings.