Command Reference Guide
Using the “No” Form of a Command
CLI Command Reference
September 2014 Page 13
HP Moonshot Switch Module CLI Command Reference
The CLI Command Reference lists each command by the command name and provides a brief description of
the command. Each command reference also contains the following information:
• Format shows the command keywords and the required and optional parameters.
• Mode identifies the command mode you must be in to access the command.
• Default shows the default value, if any, of a configurable setting on the device.
The
show commands also contain a description of the information that the command shows.
Using the “No” Form of a Command
The no keyword is a specific form of an existing command and does not represent a new or distinct command.
Almost every configuration command has a
no form. In general, use the no form to reverse the action of a
command or reset a value back to the default. For example, the
no shutdown configuration command reverses
the shutdown of an interface. Use the command without the keyword
no to re-enable a disabled feature or to
enable a feature that is disabled by default. Only the configuration commands are available in the
no form.
Command Conventions
The parameters for a command might include mandatory values, optional values, or keyword choices.
Parameters are order-dependent. Table 1 describes the conventions this document uses to distinguish
between value types.
Table 1: Parameter Conventions
Symbol Example Description
[] square brackets
[value]
Indicates an optional parameter.
italic font in a
parameter
.
value or [value]
Indicates a variable value. You must replace the italicized text
and brackets with an appropriate value, which might be a
name or number.
{} curly braces
{choice1 | choice2}
Indicates that you must select a parameter from the list of
choices.
| Vertical bars
choice1 | choice2
Separates the mutually exclusive choices.
[
{}] Braces within
square brackets
[{choice1 | choice2}]
Indicates a choice within an optional element.