McDATA® 4Gb SAN Switch for HP p-Class BladeSystem Command Line Interface Guide (AA-RWEJA-TE, November 2006)

14
Opening and closing an Admin session
The command line interface performs monitoring and configuration tasks. Commands that perform
monitoring tasks are available to all user accounts. Commands that perform configuration tasks are
available only after entering the Admin Start command to open an Admin session. A user account must
have Admin authority to enter the Admin Start command.
The following is an example of how to open and close an Admin session:
McDATA4GbSAN #> admin start
McDATA4GbSAN (admin) #>
.
.
.
McDATA4GbSAN (admin) #> admin end
See the ”Admin command” on page 99.
Entering commands
The command-line completion feature makes entering and repeating commands easier. Table 2 describes
the command-line completion keystrokes.
Getting help
To display help for a command, enter the Help command followed by the command. The following is an
example of the help that is available for the Config Edit command:
McDATA4GbSAN #> help config edit
config edit [CONFIG_NAME]
This command initiates a configuration session and places the current session
into config edit mode.
If CONFIG_NAME is given and it exists, it gets edited; otherwise, it gets
created. If it is not given, the currently active configuration is edited.
Admin mode is required for this command.
Usage: config edit [CONFIG_NAME]
See the ”Help command” on page 120.
Table 2 Command-line completion
Keystroke Effect
Tab Completes the command line. Enter at least one character and press the
tab key to complete the command line. If more than one possibility
exists, press the Tab key again to display all possibilities.
Up Arrow Scrolls backward through the list of previously entered commands.
Down Arrow Scrolls forward through the list of previously entered commands.
Control-A Moves the cursor to the beginning of the command line
Control-E Moves the cursor to the end of the command line.
Control-U Clears the command line.