Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch

Rev 1.6.2
Mellanox Technologies
19
1.2 Syntax Conventions
To help you identify the parts of a CLI command, this section uses conventions to show the syntax of
commands.
1.3 Getting Help
You may request context-sensitive help at any time by pressing “?” on the command line. This will
show a list of choices for the word you are on, or a list of top-level commands if you have not
typed anything yet.
For example, if you are in Standard mode and you type “?” at the command line, then you will get
the following list of available commands
Table 6 - Syntax Conventions
Syntax Convention Description Example
< > Angled brackets Indicates a value/variable that
must be replaced.
<1...65535> or <switch inter-
face>
[ ] Square brackets Encloses optional parameters.
However, only one parameter out
of the list of parameters listed can
be used. You cannot have a com-
bination of the parameters unless
otherwise stated.
[destination-ip | destination-port |
destination-mac]
{ } Braces Encloses alternatives or variables
that are required for the parameter
in square brackets.
[mode {active | on | passive}]
| Vertical bar Identifies mutually exclusive
choices.
active | on | passive
Do not enter the angled or square brackets, vertical bar, or braces in command lines.
This guide uses these symbols only to show the types of entries.
CLI commands and options are in lowercase and are case-sensitive.
For example, when you enter the enable command, enter it all in lowercase, not
ENABLE or Enable. Text entries you create are also case-sensitive. For example, if you
set a LAG name to Lag1, enter it exactly, not lag1 or LAG1.
switch [standalone: master] > ?