Commenting Scripts - HP 316095-B21 - StorageWorks Edge Switch 2/24 Reference Manual

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

Advertisement

If the question mark is used at the end of a recognized command, any parameters
for that command display.
Root> config port name ?
If the question mark is used after one or more characters of a keyword, any
keywords at that level of the CLI command tree display.
Root> config s?
security snmp switch system

Commenting Scripts

The pound sign (#) can be used to add comments in a script file. The pound sign must
be the first character in the line; the CLI ignores everything after the pound sign in that
line. The following lines are valid:
Root> #Change port 3 to an E_Port<CR>
Root> config port<CR>
config.port> ##################<CR>
config.port> ## Begin Script ##<CR>
config.port> ##################<CR>
The pound sign cannot be used after any other characters (a command, for example) to
start a comment. The following is an invalid script line:
Root> maint system beacon true # Turn on beaconing<CR>
To correct the previous script line, move the comment either before or after the line
with the command. For example, the following examples are both valid:
Root> # Turn on beaconing<CR>
Root> maint system beacon true<CR>
or
Root> maint system beacon true<CR>
Root> # Turn on beaconing<CR>
NOTE: Comments of over 200 characters in length may cause unpredictable system behavior.
Limit comments to 200 characters per line.
CLI reference guide for directors and edge switches
- name <portNumber> <portName>
Introduction
1–15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Storageworks 2/24 - edge switch

Table of Contents