HP (Hewlett-Packard) zl Switch User Manual


 
21
Sub-Command Mode
The final mode is sub-command mode. Anything to do with InfiniBand, Ethernet, and Fibre Channel
interface cards, ports, and gateways is done in this mode, including the Management-Ethernet ports.
This mode is used to assign IP addresses to interface gateway ports, set connection speeds, set
connection types, etc.
Using the CLI
Entering the Sub-Command Mode
1. Enter global-configuration mode
2. Enter the interface keyword
3. Enter the type of interface to be configured
For example, to enter the interface-configuration mode for configuring the Management-Ethernet
port, enter:
Exiting Command Modes
Most commands are mode-dependent. For example, you can only log out of a Topspin system session in
the user-execute or privileged-execute mode. To configure the Topspin system, you will have to enter
and exit Topspin system modes.
The
exit
command is used to return to the previous mode.
You may also enter the
exit
command with the
all
argument to return to the user-execute mode in
one step. If you are currently in the privileged-execute mode,
exit
with the
all
keyword will log you
out of the CLI session.
To exit the privileged-execute mode and return to the user-execute mode, enter the
disable
command. For example:
Using Command Completion
The system provides command completion by way of the [Tab] key. If you enter a partial command and
press the [Tab], the CLI will complete the command and place the cursor at the end of the command.
To facilitate command entry, CLI commands do not have to be entered in their entirety. You may enter
just enough of each command or argument to make it uniquely identifiable.
Topspin-90(config)# interface mgmt-ethernet
Topspin-90(config-if-mgmt-ethernet)#
Topspin-360(config-if-fc-5/1)# exit
Topspin-360(config)# exit
Topspin-360#
Topspin-360(config)# disable
Topspin-360>