![D-Link DGS-3700 Series Скачать руководство пользователя страница 11](http://html.mh-extra.com/html/d-link/dgs-3700-series/dgs-3700-series_reference-manual_76575011.webp)
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 11
C
OMMAND
S
YNTAX
S
YMBOLS
The following symbols are used to describe how command entries are made and values and arguments are
specified in this manual. The online help contained in the CLI and available through the console interface
uses the same syntax.
Note:
All commands are case-sensitive. Be sure to disable Caps Lock or any other
unwanted function that changes text case.
<
ANGLE BRACKETS
>
Purpose
Encloses a variable or value that must be specified.
Syntax
config ipif <ipif_name 12> [{ipaddress <network_address> |vlan <vlan_name 32>
|state [enable |disable]} | bootp |dhcp | ipv6 [ipv6address <ipv6networkaddr> |
state [enable| disable]] |ipv4 state [enable | disable] | dhcpv6_client
[enable|disable]
Description
In the above syntax example, users must supply an IP interface name in the
<ipif_name 12> space, a VLAN name in the <vlan_name 32> space, and the
network address in the <network_address> space. Do not type the angle brackets.
Example
Command
config ipif Engineering ipaddress
10.24.22.5/255.0.0.0 vlan Design state enable
[
SQUARE BRACKETS
]
Purpose
Encloses a required value or set of required arguments. One value or argument can be
specified.
Syntax
create vlan_counter [vlan <vlan_name> | vlanid <vidlist>] {ports [<portlist> |
all]} [all_frame | broadcast | multicast | unicast] [packet | byte]
Description
In the above syntax example, users must specify either an
admin
or a
user
level
account to be created. Do not type the square brackets.
Example
Command
create vlan_counter vlanid 1 unicast packet
|
VERTICAL BAR
Purpose
Separates two or more mutually exclusive items in a list, one of which must be
entered.
Syntax
create account [admin | operator | user] <username 15>
Description
In the above syntax example, users must specify either
admin,
or
user
. Do not type
the backslash.
Example
Command
create account admin Tommy
{
BRACES
}
Purpose
Encloses an optional value or set of optional arguments.
Syntax
reset {[config |system]} {force_agree}
Description
In the above syntax example, users have the option to specify
config
or
system
. It is
not necessary to specify either optional value, however the effect of the system
reset is dependent on which, if any, value is specified. Therefore, with this example
there are three possible outcomes of performing a system reset. See the following
chapter, Basic Commands for more details about the reset command.
Example
reset config