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

Sets the Maximum Transmission Unit MTU size., Clears the DHCP client ID.

Page 198 highlights

6: Commands and Levels hostname Sets the host name. = name of the host. if Changes to the interface configuration level. ip address 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 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 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 Sets the IPv6 domain name. = name of the domain. ipv6 primary dns 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 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 Sets the IP address of the primary DNS server. priority Sets the priority for interface. = priority number. qos Enter QoS configuration level secondary dns 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. state enable Enables the interface. write Stores the current configuration in permanent memory. if 2 (config-if:wlan0) level commands clrscrn Clears the screen. default gateway Sets the configurable gateway IP address to the default value. default mtu Restores the default Maximum Transmission Unit (MTU) size. default priority Restores the default priority for the interface. SGX™ 5150 IoT Device Gateway Command Reference 198

  • 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
198
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.
state enable
Enables the interface.
write
Stores the current configuration in permanent memory.
if 2 (config-if:wlan0) level commands
clrscrn
Clears the screen.
default gateway
<IP address>
Sets the configurable gateway IP address to the default value.
default mtu
Restores the default Maximum Transmission Unit (MTU) size.
default priority
Restores the default priority for the interface.