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

Clears the DHCP client ID., Enables IPv6 DHCP.

Page 199 highlights

6: Commands and Levels dhcp client id dhcp disable dhcp enable dhcp renew domain exit failover hostname if ip address ipv4 state disable ipv4 state enable ipv6 address ipv6 auto configure enable ipv6 default gateway ipv6 dhcp enable ipv6 domain ipv6 primary dns ipv6 state enable link mtu no default gateway no dhcp client id no domain no hostname no ip address no ipv6 address no ipv6 default gateway no ipv6 domain no ipv6 primary dns no ipv6 secondary dns no primary dns no secondary dns primary dns priority qos secondary dns show show history show status state disable Sets the DHCP client ID. Disables DHCP. Enables DHCP. Force DHCP to renew Sets the domain name. = name of the domain. Exits to the config level. Enter failover configuration level Sets the host name. = name of the host. Changes to the interface configuration level. Sets the IP address and network mask. Formats accepted: 192.168.1.1 (default mask) 192.168.1.1/24 (CIDR) "192.168.1.1 255.255.255.0" (explicit mask) Disables IPv4 for the interface. Enables IPv4 for the interface. Sets the IPv6 static address. 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 Enables IPv6 stateless address autoconfiguration. Sets the IPv6 default gateway. 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 Enables IPv6 DHCP. Sets the IPv6 domain name. = name of the domain. Sets the IPv6 address of the primary DNS server. 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 Enables IPv6 for the interface. Enter link configuration level Sets the Maximum Transmission Unit (MTU) size. Clears the default gateway. Clears the DHCP client ID. Clears the domain name. Clears the host name. Clears the IP address. Clears the IPv6 static address. Clears the IPv6 default gateway. Clears the IPv6 domain name. Clears the IPv6 address of the primary DNS server. Clears the IPv6 address of the secondary DNS server. Clears the name of the primary DNS server. Clears the name of the secondary DNS server. Sets the IP address of the primary DNS server. Sets the priority for interface. = priority number. Enter QoS configuration level Sets the IP address of the secondary DNS server. Displays the current configuration. Displays the last 20 commands entered during the current CLI session. Show interface status Disables the interface. SGX™ 5150 IoT Device Gateway Command Reference 199

  • 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
199
dhcp client id
<text>
Sets the DHCP client ID.
dhcp disable
Disables DHCP.
dhcp enable
Enables DHCP.
dhcp renew
Force DHCP to renew
domain
<text>
Sets the domain name. <text> = name of the domain.
exit
Exits to the config level.
failover
Enter failover configuration level
hostname
<text>
Sets the host name. <text> = name of the host.
if
<instance>
Changes to the interface configuration level.
ip address
<ip address/cidr>
Sets the IP address and network mask. Formats accepted: 192.168.1.1 (default
mask) 192.168.1.1/24 (CIDR) "192.168.1.1 255.255.255.0" (explicit mask)
ipv4 state disable
Disables IPv4 for the interface.
ipv4 state enable
Enables IPv4 for the interface.
ipv6 address
<ipv6
address/prefix>
Sets the IPv6 static address. 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 auto configure enable
Enables IPv6 stateless address autoconfiguration.
ipv6 default gateway
<ipv6
address>
Sets the IPv6 default gateway. 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 dhcp enable
Enables IPv6 DHCP.
ipv6 domain
<text>
Sets the IPv6 domain name. <text> = name of the domain.
ipv6 primary dns
<ipv6
address>
Sets the IPv6 address of the primary DNS server. 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 enable
Enables IPv6 for the interface.
link
Enter link configuration level
mtu
<bytes>
Sets the Maximum Transmission Unit (MTU) size.
no default gateway
Clears the default gateway.
no dhcp client id
Clears the DHCP client ID.
no domain
Clears the domain name.
no hostname
Clears the host name.
no ip address
Clears the IP address.
no ipv6 address
Clears the IPv6 static address.
no ipv6 default gateway
Clears the IPv6 default gateway.
no ipv6 domain
Clears the IPv6 domain name.
no ipv6 primary dns
Clears the IPv6 address of the primary DNS server.
no ipv6 secondary dns
Clears the IPv6 address of the secondary DNS server.
no primary dns
Clears the name of the primary DNS server.
no secondary dns
Clears the name of the secondary DNS server.
primary dns
<IP address>
Sets the IP address of the primary DNS server.
priority
<number>
Sets the priority for interface. <number> = priority number.
qos
Enter QoS configuration level
secondary dns
<IP address>
Sets the IP address of the secondary DNS server.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current CLI session.
show status
Show interface status
state disable
Disables the interface.