12: Command Line Interface
Command syntax
To see the syntax conventions used for all help commands, type
syntax to display the following information:
Description:
Display CLI syntax explanations.
Syntax:
syntax
Syntax metacharacters
{} - Matches one in the set
[] - Optionally matches one in the set
* - Repeat 0 or more times
+ - Repeat 1 or more times
- - Matches one in the range
| - Separates options in a set
\ - Escape a metacharacter
_ - Single space character
<> - Syntax variable
<command> - <command-name> <command-modifier>* [[<target>] <attribute-specifier>*]
<attribute-specifier> - <attribute-name> <attribute-value-list>
<attribute-value_list> - <attribute-value> [, <attribute-value-list>]
<command-name> - <key-word>
<attribute-name> - <key-word>
<attribute-value> - {<key-word> | <number> | <string>}
<key-word> - {a-z} [{a-z} | {0-9} | {\-}]*
<string> - {<characters> | <quoted-string>}
<quoted-string> - {"} <characters> [[ _ | <characters>]* <characters>] {"}
<characters> - {a-z | A-Z} [{a-z | A-Z |0-9 | : | ! | $ | % | ^ | & | \-}]*
<number> - <decimal> | <hexadecimal>
<decimal> - {0-9}+
<hexadecimal> - 0{x | X}{0-9 | a-f | A-F } [0-9 | a-f | A-F]*
<ip-addr> - <0-255>.<0-255>.<0-255>.<0-255>
<mac-addr> - <0-FF>:<0-FF>:<0-FF>:<0-FF>:<0-FF>:<0-FF>
<url> - <ip-addr>/[<path>]<file-name>
<path> - {<string>/}+
<file-name> - <string>
<dns-name> - <string>[.<string>]+
<port-name> - <string>
<connector-name> - <string>
Getting help
To get help on any CLI command type
help command_name