D-Link DES-3010G Reference Manual - Page 11

Command Syntax, <angle brackets&gt, square brackets], vertical bar

Page 11 highlights

DES-3010F / DES-3010G / DES-3018 / DES-3026 Layer 2 Switch CLI Reference Manual 3 COMMAND SYNTAX 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. Purpose Syntax Description Example Command Encloses a variable or value that must be specified. config ipif [{ipaddress | vlan | state [enable | disable]} | bootp | dhcp In the above syntax example, you must supply an IP interface name in the space, a VLAN name in the space, and the network address in the space. Do not type the angle brackets. config ipif System ipaddress 10.24.22.5/255.0.0.0 vlan Design state enable [square brackets] Purpose Syntax Description Example Command Encloses a required value or set of required arguments. One value or argument can be specified. create account [admin | user] In the above syntax example, you must specify either an admin or a user level account to be created. Do not type the square brackets. create account admin | vertical bar Purpose Syntax Description Example Command Separates two or more mutually exclusive items in a list, one of which must be entered. show multicast_fdb {vlan | mac_address } In the above syntax example, you must specify either a VLAN, or a MAC address by which to show multicast FDB entries. Do not type the vertical bar. show snmp community 9

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147

DES-3010F / DES-3010G / DES-3018 / DES-3026 Layer 2 Switch CLI Reference Manual
3
C
OMMAND
S
YNTAX
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
Description
In the above syntax example, you must supply an IP interface name in the
<ipif_name> 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 System 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 account [admin | user]
Description
In the above syntax example, you must specify either an
admin
or a
user
level account to be created. Do not type the square brackets.
Example
Command
create account admin
| vertical bar
Purpose
Separates two or more mutually exclusive items in a list, one of which must
be entered.
Syntax
show multicast_fdb {vlan <vlan_name 32> | mac_address <macaddr>}
Description
In the above syntax example, you must specify either a
VLAN,
or a
MAC
address
by which to show multicast FDB entries. Do not type the vertical
bar.
Example
Command
show snmp community
9