User guide
2-2 B
LACK
D
IAMOND
U
SER
G
UIDE
A
CCESSING
T
HE
S
YSTEM
U
NDERSTANDING
THE
C
OMMAND
S
YNTAX
This section describes the steps to take when entering a command. Refer to the sections
that follow for detailed information on using the command-line interface.
To use the command-line interface, follow these steps:
1 When entering a command at the prompt, ensure that you have the appropriate
privilege level.
Most configuration commands require you to have the administrator privilege level.
2 Enter the command name.
If the command does not include a parameter or values, skip to Step 3. If the
command requires more information, continue to Step 2a.
a If the command includes a parameter, enter the parameter name and values.
The value part of the command specifies how you want the parameter to be set.
Values include numerics, strings, or addresses, depending on the parameter.
3 After entering the complete command, press [Return].
If an asterisk (*) appears in front of the command-line prompt, it indicates that
you have outstanding configuration changes that have not been saved. For more
information on saving configuration changes, refer to Chapter 13.
S
YNTAX
H
ELPER
The command-line interface has a built-in syntax helper. If you are unsure of the
complete syntax for a particular command, enter as much of the command as possible
and press [Return]. The syntax helper provides a list of options for the remainder of the
command.
The syntax helper also provides assistance if you have entered an incorrect command.
C
OMMAND
C
OMPLETION
WITH
S
YNTAX
H
ELPER
The BlackDiamond provides command completion by way of the [Tab] key. If you enter
a partial command, pressing the [Tab] key posts a list of available options, and places
the cursor at the end of the command.