xStack
®
DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
6
1-3
Command Syntax Symbols
Syntax
Description
angle brackets < >
Encloses a variable or value. Users must specify the variable or value.
For example, in the syntax
config command_history
<value 1-40>
users must enter how many entries for
<value 1-40>
when entering the
command. DO NOT TYPE THE ANGLE BRACKETS.
square brackets [ ]
Encloses a required value or list of required arguments. Only one value or
argument must be specified. For example, in the syntax
create account
[admin | operator | power_user | user]
<username 15>
{encrypt [plain_text | sha_1] <password>}
users must specify either the admin, operator, power_user or user-level
account when entering the command. DO NOT TYPE THE SQUARE
BRACKETS.
vertical bar |
Separates mutually exclusive items in a list. For example, in the syntax
reset {[
config | system
]} {force_agree}
users must specify either the community or trap receiver in the command.
DO NOT TYPE THE VERTICAL BAR.
braces { }
Encloses an optional value or a list of optional arguments. One or more
values or arguments can be specified. For example, in the syntax
reset
{[config | system]} {force_agree}
users may choose configure or system in the command. DO NOT TYPE
THE BRACES.
parentheses ( )
Indicates at least one or more of the values or arguments in the preceding
syntax enclosed by braces must be specified. For example, in the syntax
config bpdu_protection ports [<portlist> | all] {state [enable | disable] |
mode [drop | block | shutdown]}
(1)
users have the option to specify hops or time
or both of them. The "(1)"
following the set of braces indicates at least one argument or value within
the braces must be specified. DO NOT TYPE THE PARENTHESES.
ipif <ipif_name 12>
metric <value 1-31>
12
means the maximum length of the IP interface name.
1-31
means the legal range of the metric value.
1-4
Line Editing Keys
Keys
Description
Delete
Delete character under cursor and shift remainder of line to left.
Backspace
Delete character to left of cursor and shift remainder of line to left.
CTRL+R
Toggle on and off. When toggled on, inserts text and shifts previous
text to right.
Summary of Contents for xStack DGS-3120-24PC
Page 1: ......
Page 42: ...xStack DGS 3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 38...
Page 168: ...xStack DGS 3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 164...
Page 765: ...xStack DGS 3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 761...