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

Ping using ICMP-ECHO., Enables Failover.

Page 113 highlights

6: Commands and Levels failover threshold Sets the Failover threshold. If attempts go unanswered, the device will Failover to selected interface. hostname Sets the host name. = name of the host to ping. interval Sets the Ping interval in seconds. method icmp Ping using ICMP-ECHO. method tcp Ping using TCP. no hostname Clears the host name. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. show status Show failover status state disable Disables Failover. state enable Enables Failover. test Test failover configuration timeout Sets the Ping response timeout in seconds. write Stores the current configuration in permanent memory. filesystem (filesystem) level commands cat Show the contents of a file cd Change the current directory to the specified directory clrscrn Clears the screen. cp dump Show contents of a file as a hex dump exit Exits to the enable level. format Format the file system and lose all data ls Show all files and directories in the current directory ls Show all files and directories in the specified directory mass storage Enters the next lower level. mkdir Create a directory mv pwd Print working directory rm Remove a file rmdir Remove a directory show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. show statistics Show file system statistics show tree Show all files and directories from current directory tftp get Get a file using TFTP tftp get Get a file using TFTP tftp put Put a file using TFTP tftp put Put a file using TFTP touch Create a file filter 1 (config-ethernet-qos-filter:usb0:1) level commands clrscrn Clears the screen. default priority Restores the default value of the priority (Excellent Effort). exit Exits to the next higher level. mac address Sets the filter MAC Address. Each byte is represented by two adjacent hex digits. Bytes may run together or be separated by optional punctuation: 123ABC "12 3A SGX™ 5150 IoT Device Gateway Command Reference 113

  • 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
113
failover threshold
<pings>
Sets the Failover threshold. If <pings> attempts go unanswered, the device will
Failover to selected interface.
hostname
<text>
Sets the host name. <text> = name of the host to ping.
interval
<seconds>
Sets the Ping interval in seconds.
method icmp
Ping using ICMP-ECHO.
method tcp
Ping using TCP.
no hostname
Clears the host name.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current CLI session.
show status
Show failover status
state disable
Disables Failover.
state enable
Enables Failover.
test
Test failover configuration
timeout
<seconds>
Sets the Ping response timeout in seconds.
write
Stores the current configuration in permanent memory.
filesystem (filesystem) level commands
cat
<file>
Show the contents of a file
cd
<directory>
Change the current directory to the specified directory
clrscrn
Clears the screen.
cp
<source file>
<destination
file>
Copy an existing file
dump
<file>
Show contents of a file as a hex dump
exit
Exits to the enable level.
format
Format the file system and lose all data
ls
Show all files and directories in the current directory
ls
<directory>
Show all files and directories in the specified directory
mass storage
Enters the next lower level.
mkdir
<directory>
Create a directory
mv
<source file>
<destination
file>
Move a file on the file system
pwd
Print working directory
rm
<file>
Remove a file
rmdir
<directory>
Remove a directory
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current CLI session.
show statistics
Show file system statistics
show tree
Show all files and directories from current directory
tftp get
<source file>
<destination file>
<host>
Get a file using TFTP
tftp get
<source file>
<destination file>
<host>
<port>
Get a file using TFTP
tftp put
<source file>
<destination file>
<host>
Put a file using TFTP
tftp put
<source file>
<destination file>
<host>
<port>
Put a file using TFTP
touch
<file>
Create a file
filter 1 (config-ethernet-qos-filter:usb0:1) level commands
clrscrn
Clears the screen.
default priority
Restores the default value of the priority (Excellent Effort).
exit
Exits to the next higher level.
mac address
<hexadecimal>
Sets the filter MAC Address. Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation: 123ABC "12 3A