Lantronix SGX 5150 IoT Device Gateway SGX 5150 Command Reference - Page 97

Enables IPv6 DHCP server.

Page 97 highlights

6: Commands and Levels delete static lease Deletes an entry from the static lease table = index of the entry being removed dhcp relay disable Disables DHCP server relay mode. dhcp relay enable Enables DHCP server relay mode. dhcp server ip address Sets the IP address of DHCP server. end ip address Sets the end IP address of DHCP address pool. end ipv6 address Sets the end IPv6 address of DHCP address pool. IPv6 addresses are written in eight groups of four hexadecimal digits separated by colons, such as 2001:0db8:85a3:0000:0000:8a2e:0370:7334 Network address ranges are written in CIDR notation. A network is denoted by the first address in the block (ending in all zeroes), a slash (/), and a decimal value equal to the size in bits of the prefix ipv6 state disable Disables IPv6 DHCP server. ipv6 state enable Enables IPv6 DHCP server. lease time Sets the lease time. = lease time in hours. no dhcp server ip address Clears the IP address of DHCP server. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. start ip address Sets the start IP address of DHCP address pool. start ipv6 address Sets the start IPv6 address of DHCP address pool. IPv6 addresses are written in eight groups of four hexadecimal digits separated by colons, such as 2001:0db8:85a3:0000:0000:8a2e:0370:7334 Network address ranges are written in CIDR notation. A network is denoted by the first address in the block (ending in all zeroes), a slash (/), and a decimal value equal to the size in bits of the prefix state enable Enables DHCP server. static leases Change to dhcpd static lease level. write Stores the current configuration in permanent memory. diagnostics (config-diagnostics) level commands clrscrn Clears the screen. exit Returns to the config level. log Enters the next lower level. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. write Stores the current configuration in permanent memory. disconnect (tunnel-disconnect:) level commands ( is the number of the line) clrscrn Clears the screen. exit Returns to the tunnel level. flush serial disable Does not flush serial data upon closing a tunneling connection. flush serial enable Flushes serial data buffer when a tunneling connection is closed. flush stop character disable Forwards the stop character from the Line to the network. flush stop character enable Prevents the stop character from the Line from being forwarded to the network. modem control disable Does not watch the modem control pin to disconnect. modem control enable Watches the modem control pin and disconnects if it is not asserted. no stop character Removes the stop character. no timeout Disables disconnect after timeout feature for tunneling sessions. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. stop character Sets the stop character. The character may be input as text, control, decimal, or hex. A control character has the form C. A decimal value character has the form \99. A hex value character has the form 0xFF. timeout Disconnects when no data has been received on the line (serial port) for the specified length of time. = timeout in milliseconds. write Stores the current configuration in permanent memory. discovery (config-discovery) level commands SGX™ 5150 IoT Device Gateway Command Reference 97

  • 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
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257

6:
Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference
97
delete static lease
<instance>
Deletes an entry from the static lease table <instance> = index of the entry being
removed
dhcp relay disable
Disables DHCP server relay mode.
dhcp relay enable
Enables DHCP server relay mode.
dhcp server ip address
<IP
address>
Sets the IP address of DHCP server.
end ip address
<IP address>
Sets the end IP address of DHCP address pool.
end ipv6 address
<ipv6
address/prefix>
Sets the end IPv6 address of DHCP address pool. IPv6 addresses are written in
eight groups of four hexadecimal digits separated by colons, such as
2001:0db8:85a3:0000:0000:8a2e:0370:7334 Network address ranges are written in
CIDR notation. A network is denoted by the first address in the block (ending in all
zeroes), a slash (/), and a decimal value equal to the size in bits of the prefix
ipv6 state disable
Disables IPv6 DHCP server.
ipv6 state enable
Enables IPv6 DHCP server.
lease time
<hours>
Sets the lease time. <number> = lease time in hours.
no dhcp server ip address
Clears the IP address of DHCP server.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current CLI session.
start ip address
<IP address>
Sets the start IP address of DHCP address pool.
start ipv6 address
<ipv6
address/prefix>
Sets the start IPv6 address of DHCP address pool. IPv6 addresses are written in
eight groups of four hexadecimal digits separated by colons, such as
2001:0db8:85a3:0000:0000:8a2e:0370:7334 Network address ranges are written in
CIDR notation. A network is denoted by the first address in the block (ending in all
zeroes), a slash (/), and a decimal value equal to the size in bits of the prefix
state enable
Enables DHCP server.
static leases
<number>
Change to dhcpd static lease level.
write
Stores the current configuration in permanent memory.
diagnostics (config-diagnostics) level commands
clrscrn
Clears the screen.
exit
Returns to the config level.
log
Enters the next lower level.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current CLI session.
write
Stores the current configuration in permanent memory.
disconnect (tunnel-disconnect:
<line>
) level commands (
<line>
is the number of the line)
clrscrn
Clears the screen.
exit
Returns to the tunnel level.
flush serial disable
Does not flush serial data upon closing a tunneling connection.
flush serial enable
Flushes serial data buffer when a tunneling connection is closed.
flush stop character disable
Forwards the stop character from the Line to the network.
flush stop character enable
Prevents the stop character from the Line from being forwarded to the network.
modem control disable
Does not watch the modem control pin to disconnect.
modem control enable
Watches the modem control pin and disconnects if it is not asserted.
no stop character
Removes the stop character.
no timeout
Disables disconnect after timeout feature for tunneling sessions.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current CLI session.
stop character
<control>
Sets the stop character. The character may be input as text, control, decimal, or hex.
A control character has the form <control>C. A decimal value character has the form
\99. A hex value character has the form 0xFF.
timeout
<milliseconds>
Disconnects when no data has been received on the line (serial port) for the
specified length of time. <milliseconds> = timeout in milliseconds.
write
Stores the current configuration in permanent memory.
discovery (config-discovery) level commands