HP StorageWorks 2/140 CLI reference guide for directors and edge switches - Page 22
command and then the, prompt each time. For example, to issue
![]() |
View all HP StorageWorks 2/140 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 22 highlights
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 Navigation Conventions on page 1-2. Root> config port name 4 "HP Tape Drive" Root> maint port beacon 4 true 1-8 CLI reference guide for directors and edge switches
![](/manual_guide/products/hewlettpackard-316095b21-cli-reference-guide-directors-edge-switches-4b9015e/22.png)