Lantronix SGX 5150 IoT Device Gateway SGX 5150 Command Reference
Lantronix SGX 5150 IoT Device Gateway Manual
View all Lantronix SGX 5150 IoT Device Gateway manuals
Add to My Manuals
Save this manual to your list of manuals |
Lantronix SGX 5150 IoT Device Gateway manual content summary:
- Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 1
PremierWave® 2050 SGXTM 5150 IoT Device Gateway Command Reference Part Number 900-777-R Revision K December 2022 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 2
of their respective holders. Warranty For details on the Lantronix warranty policy, please go to our web site at https://www.lantronix.com/technical-support/warranty. Contacts Lantronix, Inc. 48 Discovery, Suite 250 Irvine, CA 92618, USA Toll Free: 800-526-8766 Phone: 949-453-3990 Fax: 949 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 3
Open Source Software Some applications are Open Source software licensed under the Berkeley Software Distribution (BSD) license, the GNU General Public License (GPL) as published by the Free Software Foundation (FSF), and the Python Software Foundation (PSF) License Agreement for Python 2.7.9 ( - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 4
2 Disclaimer 2 Open Source Software 3 Revision History 3 Table of Contents 4 List of Figures 6 List of Tables 7 1: About This Guide 8 Chapter Summaries 8 Conventions 8 Additional Documentation 9 2: Overview 10 XML Architecture and Control 10 Command Line Interface 10 Web API 10 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 5
Device Actions API 58 File System Web API 63 6: Commands and Levels 67 SGXTM 5150 IoT Device Gateway Command Reference 5 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 6
List of Figures Figure 3-1 CLI Level Hierarchy 14 Figure 3-2 Login Level Commands 15 Figure 3-3 Enable Level Commands 15 Figure 4-4 DTD for XCRs 16 Figure 4-5 XML Example 17 Figure 4-6 XML Example 18 Figure 4-7 XML Example of Multiple Named Values 18 Figure 4-8 XML Example of Multiple Items - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 7
List of Tables Table 3-1 Keyboard Shortcuts 13 Table 4-2 XCR Groups 21 Table 4-3 XSR Group and Items 44 Table 6-4 Commands and Levels 67 SGXTM 5150 IoT Device Gateway Command Reference 7 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 8
1: About This Guide This document describes how to configure the Lantronix® SGXTM 5150 IoT device gateway using the Command Line Interface (CLI) and/or Extensible Markup Language (XML). - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 9
Guide Description CLI terminal sessions and examples of CLI input are depicted in courier new font. Additional Documentation Visit the Lantronix website at www.lantronix.com/support based utility to create virtual com ports. Instructions for using the Lantronix Provisioning Manager application that - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 10
XML. For more information about Web Manager, see the SGX 5150, SGX 5150 MD, and SGX 5150 XL IoT Device Gateway User Guide available at www.lantronix.com/ support/documentation. XML Architecture and Control XML is a fundamental building block for Machine-to-Machine (M2M) and Internet of Things (IoT - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 11
available if Early Initialization is enabled on the serial line. See the SGX 5150, SGX 5150 MD, and SGX 5150 XL IoT Device Gateway User Guide available at www.lantronix.com/support/documentation for additional information. SGXTM 5150 IoT Device Gateway Command Reference 11 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 12
3: Command Line Interface To configure the SGX 5150 IoT device gateway locally using a serial port: 1. Connect a terminal or a PC running a terminal emulation program to one of the gateway's serial ports. 2. Configure the terminal to the following settings: 9600 baud 8-bit No parity 1 stop - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 13
3: Command Line Interface Using Keyboard Shortcuts and CLI One useful shortcut built into the SGX 5150 IoT device gateway is that the complete text of a command does not have to be entered to issue a command. Typing just enough characters to uniquely identify a command, then hitting enter, can be - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 14
3: Command Line Interface A partial overview of the levels in the SGX 5150 IoT device gateway is shown in Figure 3-1. See Chapter 6: Commands and Levels for a full list of levels, commands, and descriptions. Figure 3-1 CLI Level Hierarchy SGXTM 5150 IoT Device Gateway Command Reference 14 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 15
3: Command Line Interface Commands at the login level (see Figure 3-2 below) do not affect current configuration settings and are not displayed initially. If you type ?, you will see the login subcommands. These commands provide diagnostic and status information only. Figure 3-2 Login Level - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 16
4: Configuration Using XML The SGX 5150 IoT device gateway provides an XML interface that you can use to configure SGX 5150 IoT device gateways. Every configuration setting that can be issued from the gateway's Web Manager interface and CLI can be specified using XML. The SGX 5150 IoT device gateway - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 17
in the Web Manager XCR groups or with the "xcr list" CLI command. See the SGX 5150 IoT Device Gateway User Guide (available at www.lantronix.com/support/documentation) for more information about the XCR groups. An empty or missing element in each present clears the setting - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 18
4: Configuration Using XML Record, Group, Item, and Value Tags A is a logical grouping of configuration parameters and must contain one or more elements. It must have a name attribute and may have an instance attribute. A is a specific grouping of - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 19
4: Configuration Using XML Figure 4-8 XML Example of Multiple Items sgx5150 Lantronix SGX5150 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 20
.xcr are not read from or written to the file system. See the FTP section in the SGX 5150 IoT Device Gateway User Guide (available at www.lantronix.com/support/documentation.) Best Practices You can import or export an entire XCR, or just a portion of it, by specifying the group name and - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 21
4: Configuration Using XML XML Configuration Groups Table 4-2 lists the supported SGX 5150 XML configuration record (XCR) groups, items, and possible value names and options in alphabetical order. Note: Any instance of < in the table - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 22
Group Name action attribute of an "instance" is "eth0 link state change", "on scheduled reboot", "usb0 link state change", "wlan0 link state change" Group Item delay email ftp put 4: Configuration Using XML Value Name Value Options alarm email alarm message alarm reminder interval normal email - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 23
4: Configuration Using XML Group Name action attribute of an "instance" is "eth0 link state change", "on scheduled reboot", "usb0 link state change", "wlan0 link state change" (continued) applications arp bluetooth Group Item http post snmp trap reserved start port reserved port python (Attribute - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 24
Group Name Group Item bluetooth line (Attribute of an instance is a number.) name interface state protocol gap timer threshold line mode bridge state ("Instance" attribute bridging mode is "br0") Value Name transparent mode network access for gateway bridging mac address bridging ip - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 25
update apply configuration updates reboot after update audit log allow remote connections remote access local port active connection Value Options manual, SNTP Additional Info <None> enable, disable enable, disable enable, disable Always, Never enable, disable enable, disable enable - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 26
4: Configuration Using XML Group Name consoleflow (continued) cp functions device Group Item Value Name Value Options Additional Info connection (Attribute of an instance is "1" and "2") host connect to port Cloud, on-premise secure port enable, disable validate certificates enable, - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 27
Group Name dhcp server diagnostics discovery email (Attribute of an instance is a number.) Group Item state ipv6 state dhcp relay dhcp server ip address start ip address start ipv6 address end ip address end ipv6 address lease time static leases (Attribute of an instance is a number.) log state - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 28
4: Configuration Using XML Group Name Group Item ethernet ("Instance" attribute is "eth0") speed duplex eapol ieee 802 1x eap-ttls option Value Name filesystem ftp server peap option fast option fast provisioning username password validate certificate credentials inner credentials - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 29
4: Configuration Using XML Group Name gateway gre host (Attribute of an instance is a number.) Group Item wan port forwarding (Attribute of an instance is a number.) static routes (Attribute of an instance is a number.) name state ip address mtu local network remote host remote network name - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 30
Group Name http authentication uri http server icmp input filters (Attribute of an instance is a number.) Group Item Value Name user delete name realm type digest user password (Attribute of an instance is "admin".) state port https state secure port secure protocols secure - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 31
Group Name Group Item interface state ("Instance" ipv4 state attributes are "eth0", "usb0", and "wlan0") dhcp priority ip address default gateway ipv6 state ipv6 dhcp ipv6 auto configure ipv6 address ipv6 default gateway ipv6 domain ipv6 primary dns Value Name ipv6 secondary dns - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 32
Group Name line (Attribute of an instance is a number.) modbus network failover (Attribute of an instance is "eth0", "usb0", and "wlan0".) qos (Attribute of an instance is "eth0", "usb0", and "wlan0".) Group Item name state protocol baud rate parity data bits stop bits flow control xon char xoff - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 33
4: Configuration Using XML Group Name routing protocols Group Item rip ospf rss feed persist max entries security fips 140-2 mode serial command mode (Attribute of an instance is a number.) mode echo serial string serial string signon message wait time sftp server sftp state smart - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 34
4: Configuration Using XML Group Name snmp Group Item snmpd system location Value Name Value Options state port version read community write community username security authentication protocol authentication password privacy protocol privacy password read-only username read-only - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 35
4: Configuration Using XML Group Name snmp (continued) ssh client ssh server Group Item traps delete known hosts known host delete known host delete client users client user delete client user host rsa keys host dsa keys delete authorized users authorized user delete authorized user Value Name - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 36
4: Configuration Using XML Group Name ssh ssl Group Item state port max sessions credentials trusted authority intermediate authority delete all credentials delete credential delete all cas Value Name Value Options enable, disable rsa certificate rsa certificate type rsa pfx password rsa - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 37
Group Name Group Item Value Name syslog state host remote port local port severity log level telnet state port max sessions authentication terminal ("Instance" attribute is a number or "network") terminal type login connect menu exit connect menu send break break duration echo 4: - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 38
Group Name tunnel accept (Attribute of an instance is a number.) Group Item accept mode local port protocol secure protocols credentials tunnel buffer state tunnel buffer size Value Name tcp keep alive tcp keep alive interval tcp keep alive probes tcp user timeout aes encrypt key aes decrypt - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 39
4: Configuration Using XML Group Name tunnel connect (Attribute of an instance is a number.) tunnel disconnect (Attribute of an instance is a number.) Group Item Value Name connect mode start character flush start character local port host (Attribute of an instance is a number.) address - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 40
Group Name tunnel modem (Attribute of an instance is a number.) tunnel packing (Attribute of an instance is a number.) tunnel serial (Attribute of an instance is a number.) usb line (Attribute of an instance is a number.) Group Item echo pluses echo commands verbose response response type error - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 41
Group Name user management virtual ip (Attribute of an instance is a number.) Group Item admin username admin password users (Attribute of an instance is a number) roles (Attribute of an instance is a number) state name ip address lan ip address Value Name username password role name write execute - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 42
Group Name vpn (Attribute of an instance is a number.) Group Item Value Name connection name state connection type ikev2 authentication mode remote peer type mode configuration type interface remote endpoint remote subnet remote id remote next hop local subnet local id local next - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 43
Group Name wlan profile Group Item profile type interface priority bssid basic advanced security Value Name 4: Configuration Using XML Value Options Additional Info network name state enable, disable tx power maximum power management suite key type passphrase wep authentication wep - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 44
Only, 5 GHz Only enable, disable enable, disable enable, disable set to default, unchanged enable, disable XML Status Record Groups and Items Table 4-3 lists the supported SGX 5150 XML status record (XSR) groups and items. These groups and items show the status of the gateway in XML form and can - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 45
Group Name applications Item Name package arp arp entry bridge ("Instance" attribute is "br0") enable state active state bridging mode clock time date timezone consoleflow device serial number device id status product info Value Name File Name Version Summary ip address mac address type - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 46
4: Configuration Using XML Group Name email log (Attribute of an instance is a number.) email (Attribute of an instance is a number.) failover (Attribute of an instance includes "eth0", "usb0", and "wlan0") hardware Item Name entry success failed queued state transitions cpu memory connections - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 47
Group Name icmp Item Name snmp 4: Configuration Using XML Value Name InMsgs InErrors InCsumErrors InDestUnreachs InTimeExcds InParmProbs InSrcQuenchs InRedirects InEchos InEchoReps InTimestamps InTimestampReps InAddrMasks InAddrMaskReps OutMsgs OutErrors OutDestUnreachs OutTimeExcds OutParmProbs - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 48
4: Configuration Using XML Group Name interface (Attribute of an instance is "eth0", "usb0", or "wlan0".) Item Name generic mac address ip address network mask default gateway ipv4 domain ipv4 address type ipv6 link local address ipv6 address type ipv6 domain receive transmit ip sockets ip - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 49
Group Name ip Item Name snmp netstat 4: Configuration Using XML Value Name Forwarding DefaultTTL InReceives InHdrErrors InAddrErrors ForwDatagrams InUnknownProtos InDiscards InDelivers OutRequests OutDiscards OutNoRoutes ReasmTimeout ReasmReqds ReasmOKs ReasmFails FragOKs FragFails FragCreate - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 50
Group Name line (Attribute of an instance is a number.) Item Name receiver transmitter line levels line memory modbus local slave state protocol baud rate parity data bits stop bits flow control xon char xoff char main heap totals 4: Configuration Using XML Value Name bytes breaks parity - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 51
4: Configuration Using XML Group Name Item Name modbus tcp server state (Attribute of an instance local port includes, "additional" and "permanent".) totals last connection network processes dns process (Attribute of an instance is a number.) qos (Attribute of an instance includes: "eth0 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 52
Group Name tcp Item Name snmp Value Name RtoAlgorithm RtoMin RtoMax MaxConn ActiveOpens PassiveOpens AttemptFails EstabResets CurrEstab InSegs OutSegs RetransSegs InErrs OutRsts InCsumErrors 4: Configuration Using XML Valid Values SGXTM 5150 IoT Device Gateway Command Reference 52 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 53
Group Name tcp (continued) Item Name netstat 4: Configuration Using XML Value Name Valid Values SyncookiesSent SyncookiesRecv SyncookiesFailed EmbryonicRsts PruneCalled RcvPruned OfoPruned OutOfWindowIcmps LockDroppedIcmps ArpFilter TW TWRecycled TWKilled PAWSPassive PAWSActive - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 54
Group Name tcp (continued) 4: Configuration Using XML Item Name netstat (continued) Value Name TCPPureAcks TCPHPAcks TCPRenoRecovery TCPSackRecovery TCPSACKReneging TCPFACKReorder TCPSACKReorder TCPRenoReorder TCPTSReorder TCPFullUndo TCPPartialUndo TCPDSACKUndo TCPLossUndo TCPLostRetransmit - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 55
Group Name tcp (continued) tunnel modem 4: Configuration Using XML Item Name netstat (continued) echo commands verbose response response type error unknown commands incoming connection Value Name TCPDSACKIgnoredOld TCPDSACKIgnoredNoUndo TCPSpuriousRTOs TCPMD5NotFound TCPMD5Unexpected - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 56
Group Name tunnel (Attribute of an instance is a number.) Item Name aggregate udp snmp upnp status 4: Configuration Using XML Value Name Valid Values completed connects completed accepts disconnects dropped connects dropped accepts octets from device octets from network connect 0 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 57
Group Name usb line vpn wlan scan wlan status xsr 4: Configuration Using XML Item Name state protocol baud rate parity data bits stop bits flow control xon char xoff char status ipv4 address interface network name state smart roaming radio firmware version out errors Value Name bssid channel rssi - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 58
groups separated by semicolon. If omitted, all status groups will be returned. optionalBoolListOnly: Optional parameter if set to 'true' returns supported group list. CURL example: curl -u admin:PASSWORD http:///export/status -X POST curl -u admin:PASSWORD http:///export - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 59
groups separated by semicolon. If omitted, all status groups will be returned. optionalBoolListOnly: Optional parameter if set to 'true' returns supported group list. CURL example: curl -u admin:PASSWORD http:///export/config -X POST curl -u admin:PASSWORD http:///export - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 60
5: Configuration Using Web API curl -u admin:PASSWORD http:///import/config -X POST --form [email protected] CURL example (configuration as part of command): curl -u admin:PASSWORD http:///import/config -X POST --form-string 'configrecord= - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 61
" The format for setting time is YYYY-MM-DD hh:mm:ss, where the hours are in 24-hour format. The xPico Wi-Fi supports dates in the range 2007-01-01 00:00:00 to 2039-12-31 23:59:59 UTC. group "Device" optionalGroupInstance NULL optionalItem NULL optionalItemInstance - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 62
5: Configuration Using Web API optionalItem NULL optionalItemInstance NULL action "Renew" The Renew action causes the device to drop its dynamic IP address and request an address from the DHCP server. optionalItem NULL optionalItemInstance NULL optionalMethod PushButton (default) or PIN action " - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 63
Connection" optionalItemInstance Required action "Kill" The Kill action manually disconnects an active Tunnel connection. CURL example: curl as such can be used in scripts with HTTP programs such as cURL. Supported file system node operations are implemented via various HTTP request types. The File - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 64
5: Configuration Using Web API HTTP GET Used to read the contents of files and directories in the file system. URL: http:///fs/[node] Where node can be a file, in which case the file content is returned, or a directory, in which case an XML-formatted list of directory objects is returned. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 65
5: Configuration Using Web API Note that PUT will overwrite an existing file by the same name. URL: http:///fs/[path]/file HTTP Response Codes: 201: File successfully created. This code is part of the WebDAV standard. 509: Not enough space 500: Other failure Example: # ls -l -rw-r--r-- 1 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 66
5: Configuration Using Web API dir1 0 HTTP DELETE Used to remove files and directories from the file system. URL: http:///fs/[path]/node Where node can be either a file or directory. HTTP Response - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 67
6: Commands and Levels 6: Commands and Levels Click the level in the tree structure and it will take you to the command list for that level. • root o enable (enable) bluetooth serial 1 (bluetooth-line:1) bluetooth serial 2 (bluetooth-line:2) bluetooth serial 3 (bluetooth-line:3) bluetooth - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 68
6: Commands and Levels applications (config-applications) python 1 (config-applications-python:1) python 2 (config-applications-python:2) python 3 (config-applications-python:3) python 4 (config-applications-python:4) python 5 (config-applications-python:5) python 6 (config- - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 69
ip address filter 8 (config-ip_filter:8) ip address filter 9 (config-ip_filter:9) ip address filter 10 (config-ip_filter:10) ip address filter 11 (config-ip_filter:11) ip address filter 12 (config-ip_filter:12) ip address filter 13 (config-ip_filter:13) ip address filter 14 (config- - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 70
host 4 (config-host:4) host 5 (config-host:5) host 6 (config-host:6) host 7 (config-host:7) host 8 (config-host:8) host 9 (config-host:9) host 10 (config-host:10) host 11 (config-host:11) host 12 (config-host:12) host 13 (config-host:13) host 14 (config-host:14) host 15 ( - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 71
filter 22 (config-ethernet-qos-filter:eth0:22) filter 23 (config-ethernet-qos-filter:eth0:23) filter 24 (config-ethernet-qos-filter:eth0:24) filter 25 (config-ethernet-qos-filter:eth0:25) filter 26 (config-ethernet-qos-filter:eth0:26) filter 27 (config-ethernet-qos-filter:eth0:27) - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 72
6: Commands and Levels filter 2 (config-ethernet-qos-filter:usb0:2) filter 3 (config-ethernet-qos-filter:usb0:3) filter 4 (config-ethernet-qos-filter:usb0:4) filter 5 (config-ethernet-qos-filter:usb0:5) filter 6 (config-ethernet-qos-filter:usb0:6) filter 7 (config-ethernet-qos-filter: - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 73
reboot schedule (device-reboot-schedule) dns (dns) email 1 (email:1) email 2 (email:2) email 3 (email:3) email 4 (email:4) email 5 (email:5) email 6 (email:6) email 7 (email:7) email 8 (email:8) email 9 (email:9) email 10 (email:10) email 11 (email:11) email 12 (email:12) - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 74
6: Commands and Levels Table 6-4: Commands and Levels accept (tunnel-accept:) level commands ( is the number of the line) accept mode always Enables the tunneling server to always accept tunneling connections. accept mode any character Enables the tunneling server to accept - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 75
6: Commands and Levels initial send binary Sets the accept tunnel Initial Send text allowing for binary characters. = string in binary format that will be sent out the network upon connection. Within [] use binary decimal up to 255 or hex up to 0xFF. initial send set - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 76
6: Commands and Levels default first client connect timeout Sets default First Client Connect Timeout for SoftAP trigger mode. default ip address Restores IP address of Access Point to the default value. default key type Restores the key type to the default value (passphrase). default last - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 77
6: Commands and Levels wlan0 link state change write Enters the wlan0 link state change alarm level. Stores the current configuration in permanent memory. applications (config-applications) level commands clrscrn Clears the screen. exit Returns to the config level. no reserved ports - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 78
6: Commands and Levels command mode echo serial Enables user-defined serial boot string to be echoed in the CLI. string enable command mode serial string Enables user to enter a custom string at boot time to enter command mode. command mode serial string Sets a string that can be - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 79
6: Commands and Levels command mode echo serial Disables user-defined serial boot string to be echoed in the CLI. string disable command mode echo serial Enables user-defined serial boot string to be echoed in the CLI. string enable command mode serial string Enables user to enter a custom string - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 80
6: Commands and Levels command mode always Sets the current line to always be in command mode. command mode echo serial Disables user-defined serial boot string to be echoed in the CLI. string disable command mode echo serial Enables user-defined serial boot string to be echoed in the CLI. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 81
6: Commands and Levels clrscrn Clears the screen. command mode always Sets the current line to always be in command mode. command mode echo serial Disables user-defined serial boot string to be echoed in the CLI. string disable command mode echo serial Enables user-defined serial boot string - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 82
6: Commands and Levels auto detect ipv6 address disable Disables learning the global IPv6 address of the bridged client. auto detect ipv6 address enable Enables learning the global IPv6 address of the bridged client. bridging initial scan interval Sets the scan interval before - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 83
6: Commands and Levels apply wlan Try out WLAN settings without saving them to Flash. If the settings do not work, when you reboot the device, it will still have the original settings. clrscrn Clears the screen. exit Exits to the next higher level. no profile Removes reference to the profile - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 84
. default clock timezone Restores the default timezone, which is UTC. default synchronization method Restores the default time synchronization method (Manual). exit Exits to the configuration level. ntp Enters the next lower level. show Displays the current configuration. show history - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 85
6: Commands and Levels synchronization method manual Set time manually. synchronization method sntp Synchronize time with a NTP server. write Stores the current configuration in permanent memory. configure (config) level commands access point Enters the access - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 86
6: Commands and Levels connect mode always Enables the tunneling server to always establish tunneling connections. connect mode any character Enables the tunneling server to establish a tunneling connection when a character is received on the corresponding line (serial port). connect mode - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 87
6: Commands and Levels default port Restores the Port of ConsoleFlow. default proxy port Restores the Port of proxy server. default proxy type Restores the default Proxy server type (SOCKS5). exit Exits to the next higher level. host Sets the Hostname or IP address of ConsoleFlow. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 88
6: Commands and Levels write Stores the current configuration in permanent memory. connection 1 (config-action-ftp_put-connection:wlan0 link state change:1) level commands clrscrn Clears the screen. default filename Sets default FTP remote Filename. default local port Uses a random port - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 89
6: Commands and Levels exit Exits to the next higher level. filename Sets FTP remote Filename. host Sets FTP server IP address or hostname to be connected to. local port Sets a specific port for use as the local port. = the number of the port to use. no host - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 90
6: Commands and Levels port Sets the Port number which FTP server is listening to. protocol ftp Selects FTP Protocol. protocol ftps Selects FTPS Protocol. show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 91
6: Commands and Levels clrscrn Clears the screen. connect to cloud Sets the connection to the Cloud based server. connect to on-premise Sects the connection to the On-Premise server. default connect to Restores the default connection to the Cloud based server. default host Restores the - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 92
6: Commands and Levels port Sets the Port number which HTTP server is listening to. protocol http Selects HTTP Protocol. protocol https Selects HTTPS Protocol. show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 93
6: Commands and Levels connection 2 (config-action-ftp_put-connection:usb0 link state change:2) level commands clrscrn Clears the screen. default filename Sets default FTP remote Filename. default local port Uses a random port number as the local port. default port Sets default Port number. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 94
6: Commands and Levels filename Sets FTP remote Filename. host Sets FTP server IP address or hostname to be connected to. local port Sets a specific port for use as the local port. = the number of the port to use. no host Clears FTP server IP address or - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 95
6: Commands and Levels protocol ftp Selects FTP Protocol. protocol ftps Selects FTPS Protocol. show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session. username Sets the Username used to logon to FTP server. write - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 96
session. write Stores the current configuration in permanent memory. device (device) level commands auto show tlog Continuously displays the internal trouble log. clrscrn Clears the screen. cp functions Enters the cp functions level default long name Restores the default product long name - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 97
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 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 98
history Displays the last 20 commands entered during the current CLI session. show statistics Displays statistics and information about the discovery services. state disable Disables the Query Port server. state enable Enables the Query Port server. upnp port Sets the port number - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 99
6: Commands and Levels exit Exits to the next higher level. no alarm message Removes the alarm email message. no alarm reminder interval Only one message will be sent when the alarm turns on. no normal message Removes the normal email message. no normal reminder interval Only one message - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 100
6: Commands and Levels normal reminder interval Sets the time interval that messages will be sent while the alarm remains off. show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session. write Stores the current - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 101
6: Commands and Levels no message file Removes the file name, so the message body will be empty. no reply to Removes the Reply To address for email alerts. no subject Removes subject used for email alerts. no to Removes the To addresses for email alerts. priority high Sets X-Priority for - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 102
6: Commands and Levels write Stores the current configuration in permanent memory. email 12 (email:12) level commands auto show statistics Continuously displays email statistics. cc Sets Cc addresses for email alerts. = a quoted, semicolon separated list of email addresses. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 103
6: Commands and Levels priority high Sets X-Priority for email alerts to 2 (high). priority low Sets X-Priority for email alerts to 4 (low). priority normal Sets X-Priority for email alerts to 3 (normal). priority urgent Sets X-Priority for email alerts to 1 (urgent). priority very low - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 104
6: Commands and Levels cc Sets Cc addresses for email alerts. = a quoted, semicolon separated list of email addresses. clear log Clears all entries from the mail log. clear mail counters Sets the email counters to zero. clrscrn Clears the screen. default priority Sets X- - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 105
6: Commands and Levels priority urgent Sets X-Priority for email alerts to 1 (urgent). priority very low Sets X-Priority for email alerts to 5 (very low). reply to Sets the Reply To address for email alerts. = email address to place in the Reply To field of the email alert. send - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 106
6: Commands and Levels clrscrn Clears the screen. default priority Sets X-Priority for email alerts to 3 (normal). email Enters the configure email level. exit Exits to the enable level. message file Specifies a text file, the contents of which will be the message body of - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 107
6: Commands and Levels send Sends an email using the current settings. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. show log Displays the email log. show statistics Displays email statistics. subject - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 108
6: Commands and Levels message file Specifies a text file, the contents of which will be the message body of an email alert. = the name of a local file. no cc Removes the Cc addresses for email alerts. no clear mail counters Restores the email counters to the aggregate values. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 109
6: Commands and Levels show statistics Displays email statistics. subject Sets the Subject for email alerts. = text to placed as the subject. to Sets To addresses for email alerts. = a quoted, semicolon separated list of email addresses. write Stores the current - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 110
6: Commands and Levels no message file Removes the file name, so the message body will be empty. no reply to Removes the Reply To address for email alerts. no subject Removes subject used for email alerts. no to Removes the To addresses for email alerts. priority high Sets X-Priority for - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 111
6: Commands and Levels show ip sockets Show UDP/TCP state information show lines Show line information show multicast routes show state of VIFs and multicast routing tables show processes Show thread runtime information show routes show system routing table show rules show system rules - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 112
6: Commands and Levels 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. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 113
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 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 114
6: Commands and Levels BC" 12,3A,BC 12.3a.bc 12:3a:bc Note that quotes must enclose the value if it contains spaces. network Sets the filter Network. no mac address Removes the filter MAC Address. no network Removes the filter Network. no ports Removes the filter Port. ports - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 115
6: Commands and Levels no ports Removes the filter Port. ports Sets the filter Port. priority background Sets the priority to Background. Bandwidth allocated is 5%-100%. priority best effort Sets the priority to Best Effort. Bandwidth allocated is 10%-100%. priority critical - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 116
6: Commands and Levels priority excellent effort Sets the priority to Excellent Effort. Bandwidth allocated is 10%-100%. priority internetwork control Sets the priority to Internetwork Control. Bandwidth allocated is 5%-100%. priority network control Sets the priority to Network Control. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 117
6: Commands and Levels show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session. write Stores the current configuration in permanent memory. filter 11 (config-wlan-qos-filter:wlan0:11) level commands clrscrn Clears the screen. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 118
6: Commands and Levels 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 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 119
6: Commands and Levels BC" 12,3A,BC 12.3a.bc 12:3a:bc Note that quotes must enclose the value if it contains spaces. network Sets the filter Network. no mac address Removes the filter MAC Address. no network Removes the filter Network. no ports Removes the filter Port. ports - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 120
6: Commands and Levels no ports Removes the filter Port. ports Sets the filter Port. priority background Sets the priority to Background. Bandwidth allocated is 5%-100%. priority best effort Sets the priority to Best Effort. Bandwidth allocated is 10%-100%. priority critical - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 121
6: Commands and Levels priority excellent effort Sets the priority to Excellent Effort. Bandwidth allocated is 10%-100%. priority internetwork control Sets the priority to Internetwork Control. Bandwidth allocated is 5%-100%. priority network control Sets the priority to Network Control. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 122
6: Commands and Levels show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session. write Stores the current configuration in permanent memory. filter 15 (config-ethernet-qos-filter:usb0:15) level commands clrscrn Clears the screen - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 123
6: Commands and Levels 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 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 124
6: Commands and Levels BC" 12,3A,BC 12.3a.bc 12:3a:bc Note that quotes must enclose the value if it contains spaces. network Sets the filter Network. no mac address Removes the filter MAC Address. no network Removes the filter Network. no ports Removes the filter Port. ports - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 125
6: Commands and Levels no ports Removes the filter Port. ports Sets the filter Port. priority background Sets the priority to Background. Bandwidth allocated is 5%-100%. priority best effort Sets the priority to Best Effort. Bandwidth allocated is 10%-100%. priority critical - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 126
6: Commands and Levels priority excellent effort Sets the priority to Excellent Effort. Bandwidth allocated is 10%-100%. priority internetwork control Sets the priority to Internetwork Control. Bandwidth allocated is 5%-100%. priority network control Sets the priority to Network Control. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 127
6: Commands and Levels show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session. write Stores the current configuration in permanent memory. filter 18 (config-ethernet-qos-filter:eth0:18) level commands clrscrn Clears the screen - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 128
6: Commands and Levels 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 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 129
6: Commands and Levels BC" 12,3A,BC 12.3a.bc 12:3a:bc Note that quotes must enclose the value if it contains spaces. network Sets the filter Network. no mac address Removes the filter MAC Address. no network Removes the filter Network. no ports Removes the filter Port. ports - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 130
6: Commands and Levels no ports Removes the filter Port. ports Sets the filter Port. priority background Sets the priority to Background. Bandwidth allocated is 5%-100%. priority best effort Sets the priority to Best Effort. Bandwidth allocated is 10%-100%. priority critical - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 131
6: Commands and Levels priority excellent effort Sets the priority to Excellent Effort. Bandwidth allocated is 10%-100%. priority internetwork control Sets the priority to Internetwork Control. Bandwidth allocated is 5%-100%. priority network control Sets the priority to Network Control. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 132
6: Commands and Levels show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session. write Stores the current configuration in permanent memory. filter 21 (config-wlan-qos-filter:wlan0:21) level commands clrscrn Clears the screen. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 133
6: Commands and Levels 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 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 134
6: Commands and Levels BC" 12,3A,BC 12.3a.bc 12:3a:bc Note that quotes must enclose the value if it contains spaces. network Sets the filter Network. no mac address Removes the filter MAC Address. no network Removes the filter Network. no ports Removes the filter Port. ports - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 135
6: Commands and Levels no ports Removes the filter Port. ports Sets the filter Port. priority background Sets the priority to Background. Bandwidth allocated is 5%-100%. priority best effort Sets the priority to Best Effort. Bandwidth allocated is 10%-100%. priority critical - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 136
6: Commands and Levels priority excellent effort Sets the priority to Excellent Effort. Bandwidth allocated is 10%-100%. priority internetwork control Sets the priority to Internetwork Control. Bandwidth allocated is 5%-100%. priority network control Sets the priority to Network Control. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 137
6: Commands and Levels show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session. write Stores the current configuration in permanent memory. filter 25 (config-ethernet-qos-filter:usb0:25) level commands clrscrn Clears the screen - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 138
6: Commands and Levels 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 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 139
6: Commands and Levels BC" 12,3A,BC 12.3a.bc 12:3a:bc Note that quotes must enclose the value if it contains spaces. network Sets the filter Network. no mac address Removes the filter MAC Address. no network Removes the filter Network. no ports Removes the filter Port. ports - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 140
6: Commands and Levels no ports Removes the filter Port. ports Sets the filter Port. priority background Sets the priority to Background. Bandwidth allocated is 5%-100%. priority best effort Sets the priority to Best Effort. Bandwidth allocated is 10%-100%. priority critical - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 141
6: Commands and Levels priority excellent effort Sets the priority to Excellent Effort. Bandwidth allocated is 10%-100%. priority internetwork control Sets the priority to Internetwork Control. Bandwidth allocated is 5%-100%. priority network control Sets the priority to Network Control. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 142
6: Commands and Levels show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session. write Stores the current configuration in permanent memory. filter 28 (config-ethernet-qos-filter:eth0:28) level commands clrscrn Clears the screen - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 143
6: Commands and Levels 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 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 144
6: Commands and Levels BC" 12,3A,BC 12.3a.bc 12:3a:bc Note that quotes must enclose the value if it contains spaces. network Sets the filter Network. no mac address Removes the filter MAC Address. no network Removes the filter Network. no ports Removes the filter Port. ports - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 145
6: Commands and Levels no ports Removes the filter Port. ports Sets the filter Port. priority background Sets the priority to Background. Bandwidth allocated is 5%-100%. priority best effort Sets the priority to Best Effort. Bandwidth allocated is 10%-100%. priority critical - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 146
6: Commands and Levels priority excellent effort Sets the priority to Excellent Effort. Bandwidth allocated is 10%-100%. priority internetwork control Sets the priority to Internetwork Control. Bandwidth allocated is 5%-100%. priority network control Sets the priority to Network Control. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 147
6: Commands and Levels show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session. write Stores the current configuration in permanent memory. filter 31 (config-wlan-qos-filter:wlan0:31) level commands clrscrn Clears the screen. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 148
6: Commands and Levels 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 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 149
6: Commands and Levels BC" 12,3A,BC 12.3a.bc 12:3a:bc Note that quotes must enclose the value if it contains spaces. network Sets the filter Network. no mac address Removes the filter MAC Address. no network Removes the filter Network. no ports Removes the filter Port. ports - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 150
6: Commands and Levels no ports Removes the filter Port. ports Sets the filter Port. priority background Sets the priority to Background. Bandwidth allocated is 5%-100%. priority best effort Sets the priority to Best Effort. Bandwidth allocated is 10%-100%. priority critical - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 151
6: Commands and Levels priority excellent effort Sets the priority to Excellent Effort. Bandwidth allocated is 10%-100%. priority internetwork control Sets the priority to Internetwork Control. Bandwidth allocated is 5%-100%. priority network control Sets the priority to Network Control. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 152
6: Commands and Levels show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session. write Stores the current configuration in permanent memory. filter 6 (config-ethernet-qos-filter:usb0:6) level commands clrscrn Clears the screen. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 153
6: Commands and Levels 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 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 154
6: Commands and Levels BC" 12,3A,BC 12.3a.bc 12:3a:bc Note that quotes must enclose the value if it contains spaces. network Sets the filter Network. no mac address Removes the filter MAC Address. no network Removes the filter Network. no ports Removes the filter Port. ports - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 155
6: Commands and Levels no ports Removes the filter Port. ports Sets the filter Port. priority background Sets the priority to Background. Bandwidth allocated is 5%-100%. priority best effort Sets the priority to Best Effort. Bandwidth allocated is 10%-100%. priority critical - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 156
6: Commands and Levels priority excellent effort Sets the priority to Excellent Effort. Bandwidth allocated is 10%-100%. priority internetwork control Sets the priority to Internetwork Control. Bandwidth allocated is 5%-100%. priority network control Sets the priority to Network Control. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 157
6: Commands and Levels show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session. write Stores the current configuration in permanent memory. filter 9 (config-ethernet-qos-filter:eth0:9) level commands clrscrn Clears the screen. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 158
6: Commands and Levels reminder interval Sets the FTP Put reminder interval. show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session. write Stores the current configuration in permanent memory. ftp put (config-action- - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 159
6: Commands and Levels add ip address filter Add a IP Address filter. add mac address filter add route Add a static route without a name. add route with name Add a static - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 160
6: Commands and Levels operating mode disabled Disables routing on WAN interface. operating mode gateway Enables routing with NAT on WAN interface. operating mode router Enables routing without NAT on WAN interface. port forwarding rule Change to config gateway port forwarding level. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 161
6: Commands and Levels aes decrypt key text Sets the connect tunnel AES decrypt key with up to 16 bytes. Each byte is represented by a single character. Note that quotes must enclose the value if it contains spaces. aes encrypt key Sets the connect tunnel AES encrypt key - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 162
6: Commands and Levels ssh username Sets the SSH user name for use when establishing tunneling connections with other devices. = SSH user name. tcp keep alive Sets the TCP keep alive idle time. This is the initial keep alive timeout. = timer value, in - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 163
6: Commands and Levels credentials Selects the RSA/DSA certificates by name for the SSL client. default protocol Restores the default connect mode tunneling protocol as 'TCP'. default secure protocols Restores the default secure protocol selections. default tcp keep alive Defaults the - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 164
6: Commands and Levels tunnel buffer state enable Enables buffering of tunnel data when network connection is lost or not established. validate certificate disable Skips verification of the server certificate when connecting. validate certificate enable Requires verification of the server - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 165
6: Commands and Levels initial send set Sets the host connect tunnel Initial Send text. = ascii string that will be sent out the network upon connection. no address Removes the remote host address used to establish tunneling connections. no aes decrypt key Removes the connect - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 166
6: Commands and Levels name Sets the name of the host. = name of the host. no name Clears the name of the host. no remote address Clears the remote address of the host. no ssh username Clears the SSH username associated with the host. protocol ssh Sets the protocol to SSH. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 167
6: Commands and Levels protocol ssh Uses SSH protocol for connect mode tunneling. protocol ssl Uses SSL protocol for connect mode tunneling. protocol tcp Uses TCP protocol for connect mode tunneling. protocol tcp aes Uses TCP protocol with AES encryption for connect mode tunneling. protocol - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 168
6: Commands and Levels write Stores the current configuration in permanent memory. host 13 (tunnel-connect-host::13) level commands ( is the number of the line) address Sets the remote host to establish tunneling connections with. = IP address or host name of the - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 169
6: Commands and Levels secure protocols tls1.1 disable Disables the protocol. secure protocols tls1.1 enable Enables the protocol. secure protocols tls1.2 disable Disables the protocol. secure protocols tls1.2 enable Enables the protocol. show Shows the current configuration. show history - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 170
6: Commands and Levels aes encrypt key Sets the connect tunnel AES encrypt key with up to 16 bytes. Each byte is represented by two adjacent hex digits. Bytes may run together or be separated by optional punctuation: 123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc Note that quotes must - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 171
6: Commands and Levels tcp keep alive interval Enables TCP keep alive for connect mode tunneling and sets the timer. = TCP keep alive for connect mode in milliseconds. tcp keep alive probes Sets the number of TCP keep alive probes. = number of TCP - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 172
6: Commands and Levels default tcp keep alive interval Restores the default 45 second connect mode TCP keep alive timeout. default tcp keep alive probes Defaults the TCP keep alive probes. default tunnel buffer size Defaults the tunnel buffer size. exit Exits to the next higher level. initial - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 173
6: Commands and Levels host 15 (config-host:15) level commands clrscrn Clears the screen. default protocol Restores the default value of the protocol (Telnet). default remote port Sets the remote port (used to connect to the host) to the default value, which depends on the selected protocol. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 174
6: Commands and Levels no credentials Clears the RSA/DSA certificate selection for the SSL client. no initial send Removes the host connect tunnel Initial Send string. no port Removes the remote port used to establish tunnel connections. no ssh username Removes the SSH user name. no tcp - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 175
6: Commands and Levels protocol telnet Sets the protocol to Telnet. remote address Sets the IP address of the remote host to connect to when this host is selected on the login connect menu. = IP address. remote port Sets the remote port used to connect to the host. < - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 176
6: Commands and Levels exit Exits to the configuration level. host Change to config host level name Sets the name of the host. = name of the host. no name Clears the name of the host. no remote address Clears the remote address of the host. no ssh username Clears - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 177
6: Commands and Levels no tcp user timeout Restores the default. port Sets the remote port to use for connect mode tunneling. = number of the port to use. protocol ssh Uses SSH protocol for connect mode tunneling. protocol ssl Uses SSL protocol for connect mode tunneling. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 178
6: Commands and Levels show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. ssh username Sets the username for logging into the host via SSH. = username. write Stores the current configuration in permanent - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 179
6: Commands and Levels no remote address Clears the remote address of the host. no ssh username Clears the SSH username associated with the host. protocol ssh Sets the protocol to SSH. protocol telnet Sets the protocol to Telnet. remote address Sets the IP address of the remote host - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 180
6: Commands and Levels default protocol Restores the default value of the protocol (Telnet). default remote port Sets the remote port (used to connect to the host) to the default value, which depends on the selected protocol. exit Exits to the configuration level. host Change to - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 181
6: Commands and Levels remote port Sets the remote port used to connect to the host. = port to be used. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. ssh username Sets the username for - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 182
6: Commands and Levels aes decrypt key text Sets the connect tunnel AES decrypt key with up to 16 bytes. Each byte is represented by a single character. Note that quotes must enclose the value if it contains spaces. aes encrypt key Sets the connect tunnel AES encrypt key - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 183
6: Commands and Levels ssh username Sets the SSH user name for use when establishing tunneling connections with other devices. = SSH user name. tcp keep alive Sets the TCP keep alive idle time. This is the initial keep alive timeout. = timer value, in - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 184
6: Commands and Levels show history Displays the last 20 commands entered during the current CLI session. ssh username Sets the username for logging into the host via SSH. = username. write Stores the current configuration in permanent memory. host 31 (config-host:31) level - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 185
6: Commands and Levels aes encrypt key Sets the connect tunnel AES encrypt key with up to 16 bytes. Each byte is represented by two adjacent hex digits. Bytes may run together or be separated by optional punctuation: 123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc Note that quotes must - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 186
6: Commands and Levels tcp keep alive interval Enables TCP keep alive for connect mode tunneling and sets the timer. = TCP keep alive for connect mode in milliseconds. tcp keep alive probes Sets the number of TCP keep alive probes. = number of TCP - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 187
6: Commands and Levels default tcp keep alive interval Restores the default 45 second connect mode TCP keep alive timeout. default tcp keep alive probes Defaults the TCP keep alive probes. default tunnel buffer size Defaults the tunnel buffer size. exit Exits to the next higher level. initial - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 188
6: Commands and Levels host 5 (config-host:5) level commands clrscrn Clears the screen. default protocol Restores the default value of the protocol (Telnet). default remote port Sets the remote port (used to connect to the host) to the default value, which depends on the selected protocol. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 189
6: Commands and Levels no credentials Clears the RSA/DSA certificate selection for the SSL client. no initial send Removes the host connect tunnel Initial Send string. no port Removes the remote port used to establish tunnel connections. no ssh username Removes the SSH user name. no tcp - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 190
6: Commands and Levels protocol telnet Sets the protocol to Telnet. remote address Sets the IP address of the remote host to connect to when this host is selected on the login connect menu. = IP address. remote port Sets the remote port used to connect to the host. < - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 191
6: Commands and Levels protocol udp Uses UDP protocol for connect mode tunneling. protocol udp aes Uses UDP protocol with AES encryption for connect mode tunneling. secure protocols ssl3 disable Disables the protocol. secure protocols ssl3 enable Enables the protocol. secure protocols tls1.0 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 192
6: Commands and Levels aes decrypt key Sets the connect tunnel AES decrypt key with up to 16 bytes. Each byte is represented by two adjacent hex digits. Bytes may run together or be separated by optional punctuation: 123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc Note that quotes must - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 193
6: Commands and Levels show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session. show statistics show connection statistics ssh username Sets the SSH user name for use when establishing tunneling connections with other - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 194
6: Commands and Levels aes encrypt key text Sets the connect tunnel AES encrypt key with up to 16 bytes. Each byte is represented by a single character. Note that quotes must enclose the value if it contains spaces. auto show statistics show connection statistics clrscrn Clears the - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 195
6: Commands and Levels tcp user timeout Sets the timeout for TCP retransmissions. = timeout value, in milliseconds. tunnel buffer size Sets the maximum tunnel data to be buffered. = buffer size, in Mbytes. tunnel buffer state disable Disables - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 196
6: Commands and Levels sent excluding headers (0 = '-') %h remote host (same as %a) %{h}i header contents from request (h = header string) %m request method %p ephemeral local port value used for request %q query string (prepend with '?' or empty '-') %t timestamp HH:MM:SS (same as Apache - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 197
6: Commands and Levels exit Exits to the next higher level. mode sequential Sets sequential mode; will stop after first connection that goes through. mode simultaneous Sets simultaneous mode; will make all possible connections. no reminder interval Clears the HTTP Post reminder interval. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 198
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 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 199
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 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 200
6: Commands and Levels state enable Enables the interface. write Stores the current configuration in permanent memory. if 3 (config-if:usb0) level commands clrscrn Clears the screen. default gateway Sets the configurable gateway IP address to the default value. default mtu - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 201
6: Commands and Levels 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 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 202
6: Commands and Levels ip address filter Change to config ip filter level. no ip address Removes the filter IP Address. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. write Stores the current configuration - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 203
6: Commands and Levels write Stores the current configuration in permanent memory. ip address filter 16 (config-ip_filter:16) level commands action accept Sets the action to ACCEPT. action drop Sets the action to DROP. clrscrn Clears the screen. default action Restores the default value - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 204
6: Commands and Levels clrscrn Clears the screen. default action Restores the default value of action (ACCEPT). exit Exits to the config-gateway level. ip address Sets the filter IP Address. ip address filter Change to config ip filter level. no ip address Removes the - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 205
6: Commands and Levels ip address filter Change to config ip filter level. no ip address Removes the filter IP Address. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. write Stores the current configuration - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 206
6: Commands and Levels write Stores the current configuration in permanent memory. ip address filter 28 (config-ip_filter:28) level commands action accept Sets the action to ACCEPT. action drop Sets the action to DROP. clrscrn Clears the screen. default action Restores the default value - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 207
6: Commands and Levels clrscrn Clears the screen. default action Restores the default value of action (ACCEPT). exit Exits to the config-gateway level. ip address Sets the filter IP Address. ip address filter Change to config ip filter level. no ip address Removes the - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 208
6: Commands and Levels ip address filter Change to config ip filter level. no ip address Removes the filter IP Address. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. write Stores the current configuration - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 209
6: Commands and Levels command mode echo serial Enables user-defined serial boot string to be echoed in the CLI. string enable command mode serial string Enables user to enter a custom string at boot time to enter command mode. command mode serial string Sets a string that can be - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 210
6: Commands and Levels protocol modbus ascii Applies Modbus ASCII protocol on the line. protocol modbus rtu Applies Modbus RTU protocol on the line. protocol none Uses no protocol on the line. protocol tunnel Applies tunnel protocol on the line. reassert Asserts line status with current - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 211
6: Commands and Levels line 2 (line:2) level commands auto show statistics Continuously displays line statistics. baud rate Sets the line speed. = the speed. Standard speeds include 1200, 2400, 4800, 9600, 19200, and so on. bluetooth serial Enters the - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 212
6: Commands and Levels name Sets the name for this line. no clear line counters Restores the serial counters to the aggregate values. no command mode Disables command mode for the current line. no command mode signon message Clears the signon message displayed at boot time and when - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 213
6: Commands and Levels local port Sets the local port for ConsoleFlow client. When configured, a total of 16 consecutive ports will be reserved. no project tag Restores the default Project Tag. project tag Sets the Project Tag. show Displays the current configuration. show - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 214
6: Commands and Levels line 5 (config-consoleflow-line:5) level commands clrscrn Clears the screen. command delimiter Sets the command delimiter. content check interval Sets the firmware and configuration check interval. default command delimiter Restores the command delimiter. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 215
6: Commands and Levels local port Sets the local port for ConsoleFlow client. When configured, a total of 16 consecutive ports will be reserved. no project tag Restores the default Project Tag. project tag Sets the Project Tag. show Displays the current configuration. show - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 216
6: Commands and Levels clrscrn Clears the screen. credentials Selects the RSA certificate by configured name. default duplex Restores the default duplex setting, which is auto. default eap-ttls option Restores the default EAP-TTLS protocol option, which is EAP-MSCHAP V2. default fast - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 217
6: Commands and Levels log (config-diagnostics-log) level commands clrscrn Clears the screen. default max length Restores the factory default maximum Log file size. default output Restores the default log output, which is disable. exit Exits to the next higher level. max length - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 218
6: Commands and Levels BC" 12,3A,BC 12.3a.bc 12:3a:bc Note that quotes must enclose the value if it contains spaces. mac address filter Change to config mac filter level. no mac address Removes the filter MAC Address. show Displays the current configuration. show history Displays - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 219
6: Commands and Levels action drop Sets the action to DROP. clrscrn Clears the screen. default action Restores the default value of action (ACCEPT). exit Exits to the config-gateway level. mac address Sets the filter MAC Address. Each byte is represented by two adjacent hex - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 220
. incoming connection automatic Automatically answer incoming network connections. incoming connection disabled Disable incoming network connections. incoming connection manual Wait for an ATA command before answering an incoming network connection. no connect string Removes optional CONNECT - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 221
6: Commands and Levels clrscrn Clears the screen. default packing mode Sets to default packing mode, which is 'Disable' default send character Removes the send character for packing mode. default threshold Restores the default threshold. default timeout Restores the default packing mode - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 222
6: Commands and Levels show history Displays the last 20 commands entered during the current CLI session. state disable Disables the port forwarding rule. state enable Enables the port forwarding rule. target port Sets the LAN destination port for port forwarding rule. = port. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 223
6: Commands and Levels clrscrn Clears the screen. default protocol Restores the default value of the protocol (Both). exit Exits to the config-gateway level. friendly name Set the friendly name for port forwarding rule = friendly name ingress ip address Sets the - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 224
6: Commands and Levels no friendly name Remove the friendly name. no ingress ip address Clears the original WAN destination IP address for port forwarding rule. no ip address Clears the LAN destination IP address for port forwarding rule. no port or range Clears the WAN port or range for - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 225
6: Commands and Levels port or range Sets the WAN port or range for port forwarding rule. = port or range. protocol both Sets the protocol to Both (TCP and UDP). protocol tcp Sets the protocol to TCP. protocol udp Sets the protocol to UDP. show Displays the current - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 226
6: Commands and Levels no parameters Clear the script parameters. onshutdown disable Do not run the script on shutdown. onshutdown enable Run the script on shutdown. onstart disable Do not run the script on startup. onstart enable Run the script on startup. output Sets the script - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 227
6: Commands and Levels no filename Clear the script path. no output Clear the script output path. no parameters Clear the script parameters. onshutdown disable Do not run the script on shutdown. onshutdown enable Run the script on shutdown. onstart disable Do not run the script on - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 228
6: Commands and Levels exit Exits to the next higher level. filename Sets the script path. no filename Clear the script path. no output Clear the script output path. no parameters Clear the script parameters. onshutdown disable Do not run the script on shutdown. onshutdown enable - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 229
6: Commands and Levels python 5 (config-applications-python:5) level commands clrscrn Clears the screen. exit Exits to the next higher level. filename Sets the script path. no filename Clear the script path. no output Clear the script output path. no parameters Clear the script - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 230
6: Commands and Levels state enable Enables script. write Stores the current configuration in permanent memory. python 8 (config-applications-python:8) level commands clrscrn Clears the screen. exit Exits to the next higher level. filename Sets the script path. no filename Clear - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 231
6: Commands and Levels write Stores the current configuration in permanent memory. qos (config-wlan-qos:wlan0) level commands clrscrn Clears the screen. default uplink data speed Restores the default uplink speed. exit Exit back to interface configuration level filter Enters - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 232
6: Commands and Levels write Stores the current configuration in permanent memory. root level commands enable Enters the enable level. exit Exit from the system iperf Run iperf with command line parameters passed in quoted string. ping Ping destination continuously with 5 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 233
6: Commands and Levels clrscrn Clears the screen. default dtr Restores default DTR control, asserted while connected. dtr asserted while connected Asserts DTR whenever a connect or accept mode tunnel connection is active. dtr continuously asserted Asserts DTR regardless of any connections. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 234
6: Commands and Levels default scan threshold 2.4ghz Restores the default Threshold value for 2.4GHz band based on current roaming level. default scan threshold 5ghz Restores the default Threshold value for 5GHz band based on current roaming level. exit Exit back to interface configuration level - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 235
6: Commands and Levels snmp trap (config-action-snmp_trap:wlan0 link state change) level commands alarm message Sets the message to be sent when the alarm turns on. clrscrn Clears the screen. exit Exits to the next higher level. no alarm message Removes the alarm message. no normal - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 236
6: Commands and Levels show history Displays the last 20 commands entered during the current CLI session. state disable Does not send SNMP Trap. state enable Sends SNMP Trap when alarm condition is met. write Stores the current configuration in permanent memory. snmpd (config-snmp-snmpd) - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 237
6: Commands and Levels read-only security no authentication and no priv No Authentication, No Privacy for agent. read-only username Sets SNMPv3 read-only username for agent. security authentication and privacy Authentication and Privacy for agent. security authentication but no - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 238
6: Commands and Levels view csr View generated CSR (Certificate Signing Request). write Stores the current configuration in permanent memory. static leases 1 (config-dhcpd-static_leases:1) level commands clrscrn Clears the screen. exit Exits to the config-dhcpd level. ip address - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 239
6: Commands and Levels ipv6 address Sets the reserved IPv6 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 - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 240
6: Commands and Levels no mac address Removes the MAC Address. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. static leases Change to dhcpd static lease level. write Stores the current configuration in - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 241
6: Commands and Levels show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. state disable Disables the static route. state enable Enables the static route. static route Change to config gateway static route - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 242
6: Commands and Levels network Sets the IP address and network mask for static route network. no friendly name Remove the friendly name no gateway Clears the gateway for static route network. no interface Clears the route interface. The WAN interface is used if no interface is - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 243
6: Commands and Levels exit Exits to the config-gateway level. friendly name Set the friendly name for static route. = friendly name gateway Sets the gateway for static route network. interface Sets the route interface = interface name metric - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 244
6: Commands and Levels show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. show statistics Displays the Telnet statistics. state disable Disables the Telnet Server. state enable Enables the Telnet Server. write - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 245
6: Commands and Levels exit connect menu disable On the login connect menu, removes the menu item allowing the user to exit to the CLI. exit connect menu enable On the login connect menu, inserts the menu item allowing the user to exit to the CLI. line Enters the line level. = - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 246
6: Commands and Levels terminal network Enters the configure-terminal level for the network. terminal type Sets the terminal type. tunnel Enters the tunnel level. = number of the tunnel line (serial port) to be configured. usb Enters the usb level. = number - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 247
6: Commands and Levels exit connect menu disable On the login connect menu, removes the menu item allowing the user to exit to the CLI. exit connect menu enable On the login connect menu, inserts the menu item allowing the user to exit to the CLI. line Enters the line level. = - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 248
6: Commands and Levels terminal network Enters the configure-terminal level for the network. terminal type Sets the terminal type. tunnel Enters the tunnel level. = number of the tunnel line (serial port) to be configured. usb Enters the usb level. = number - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 249
6: Commands and Levels exit connect menu disable On the login connect menu, removes the menu item allowing the user to exit to the CLI. exit connect menu enable On the login connect menu, inserts the menu item allowing the user to exit to the CLI. line Enters the line level. = - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 250
6: Commands and Levels secondary destination Sets the secondary SNMP trap host. = IP address or hostname of SNMP trap receiver. secondary destination port Sets the secondary SNMP trap host port. security authentication and privacy Authentication and Privacy for traps. - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 251
6: Commands and Levels default max tries Restores the default connection error threshold. default ping interval Restores the default ping interval. exit Exits to the next higher level. host Sets the host name. = host name to Ping. max tries Sets the connection error - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 252
6: Commands and Levels line mode host Sets the usb line to host mode. line mode serial device Sets the usb line to serial device mode. name Sets the name for this usb line. no clear line counters Restores the serial counters to the aggregate values. no command mode Disables command - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 253
6: Commands and Levels write Stores the current configuration in permanent memory. user management (config-user-management) level commands admin password Sets the CLI login password. Password must be 4 to 15 characters and contain combination of the following characters: uppercase - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 254
6: Commands and Levels show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. state disable Disables Virtual IP instance. state enable Enables Virtual IP instance. write Stores the current configuration in permanent - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 255
6: Commands and Levels esp dh group dh2 esp dh group dh5 esp encryption 3des esp encryption aes128 esp encryption aes256 esp encryption any esp encryption des exit ike authentication any ike authentication md5 ike authentication sha1 ike authentication sha2 ike dh group any ike dh group dh1 ike dh - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 256
6: Commands and Levels password Sets the password. = password. perfect forward secrecy disable Disables perfect forward secrecy (PFS). perfect forward secrecy enable Enables perfect forward secrecy (PFS). psk Sets the pre shared key (PSK). = pre shared key. remote - Lantronix SGX 5150 IoT Device Gateway | SGX 5150 Command Reference - Page 257
6: Commands and Levels clrscrn Clears the screen. exit Exits to the enable level. jsr dump Dump JSON Status Records to the console jsr dump Dump specified JSON Status Records to the console jsr export Save JSON Status Record to a file jsr export
Part Number 900-777-R
Revision K December 2022
PremierWave® 2050
SGX
5150 IoT Device Gateway
Command Reference
TM