HP Surestore Director FC-64 Command Line Interface User's Guide

8 Entering Command Line Interface Commands
Note that the order in whic h c o mmands are entered determines the order in which the
show commands display the values. Refer to Chapter 2, CLI Commands for examples of
show commands output.
Navigation of the CLI Command Tree
Once the Administrator or Operator logs in and receives the Root> prompt, the CLI
co mmands are acc essed by navigating up and down the CLI command tree.
To move from the root through the any o f the fo ur extended branches, enter the name of
the next branch as shown in Table 2, Command Line Interface Command Tree. For
example, to use the co nfig.port.name co mmand to configure the name for po rt 4 o n the
switch, this series of commands is entered:
Root >
config
Config> port
Config.Port> name 4 "Sam’s Tape Drive"
At this po int, to enter the maint.port.beacon co mmand to set the beaco ning state of port 4,
the following series of commands is entered:
Config.Port>
..
Config> ..
Root > maint
Maint> port
Maint.Port> beacon 4 true
Note that yo u must return all the way to the ro ot of the tree to transitio n 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.
Note that only one double-dot c o mmand may be entered at a time.
One approac h to making the navigation more co nc ise is to use the root c o mmand 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: