HP 316095-B21 - StorageWorks Edge Switch 2/24 Reference Manual page 22

Cli reference guide for directors and edge switches
Hide thumbs Also See for 316095-B21 - StorageWorks Edge Switch 2/24:
Table of Contents

Advertisement

Introduction
At this point, to enter the maint.port.beacon command to set the beaconing
state of port 4, the following series of commands is entered:
Config.Port> ..
Config> ..
Root> maint
Maint> port
Maint.Port> beacon 4 true
NOTE: You must return all the way to the root of the tree to transition to another extended
branch. When traversing back to the root, the name of each branch cannot be used. Instead use
the double-dot command (two periods) to move back towards the root. Only one double-dot
command may be entered at a time.
One approach to making the navigation more concise is to use the root command to
jump directly to the root of the CLI command tree. The previous example, which
shows stepping back to the root with the double-dot command, is simplified as
follows:
Config.Port> root
Root> maint
Maint> port
Maint.Port> beacon 4 true
Another approach to making the navigation more concise is to use the complete
command syntax from the Root> prompt each time. For example, to issue the
config.port.name command and then the maint.port.beacon command,
the commands are entered as follows:
Root> config port name 4 "HP Tape Drive"
Root> maint port beacon 4 true
As shown in this example, use of the complete command syntax avoids navigating up
and down the branches of the CLI command tree, and the prompt stays at the root. The
use of complete command syntax is particularly useful when writing scripts.
When coding a script, remember to code the appropriate character sequences, which
are described in
Root> config port name 4 "HP Tape Drive"<CR>
Root> maint port beacon 4 true<CR>
1–8
Navigation Conventions on page
CLI reference guide for directors and edge switches
1-2.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Storageworks 2/24 - edge switch

Table of Contents