HP StorageWorks 2/140 CLI reference guide for directors and edge switches - Page 29
Commenting Scripts, line. The following lines are valid
![]() |
View all HP StorageWorks 2/140 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 29 highlights
Introduction • If the question mark is used at the end of a recognized command, any parameters for that command display. Root> config port name ? - 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 Root> config port config.port CR> config.port> ## Begin Script ## 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 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 Root> maint system beacon true or Root> maint system beacon true Root> # Turn on beaconing 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 1-15
![](/manual_guide/products/hewlettpackard-316095b21-cli-reference-guide-directors-edge-switches-4b9015e/29.png)