5: Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference 75
Enables power management.
Displays the current configuration.
Displays the last 20 commands entered during the current CLI session.
Sets the TX power maximum in dBm. <dBm> = measure of power in decibels with respect
to one milliwatt.
Stores the current configuration in permanent memory.
applications (config-applications) level commands
Returns to the config level.
Restores the default reserved ports.
Clears the reserved start port.
Enters the next lower level. Specify the instance for the next lower level.
python install <zip|tar.gz
file>
Install a python package <zip | tar.gz file> = path of package to install.
Kill a python script <pid> = PID of running script or 'all' for all scripts.
Uninstall python package and all installed packages.
Runs a python script <instance> = index of the script to be executed.
Show installed python packages.
Show running python scripts.
python uninstall
<zip|tar.gz file|File>
Uninstall a python package <zip | tar.gz file> = path of package to uninstall. <File> = file to
uninstall (from list of installed packages).
Sets the number of reserved ports.
reserved start port
<number>
Sets the reserved start port. <number> = start port number.
Displays the current configuration.
Displays the last 20 commands entered during the current CLI session.
Stores the current configuration in permanent memory.
arp (config-arp) level commands
add <IP address> <MAC
address> <Interface
name>
Adds an entry to the ARP table, mapping an IP address to a MAC address. <ip address> =
IP address to be mapped. <mac address> = MAC address in colon-separated form. <inter-
face name> = Interface name
Exits to the configuration level.
Removes all entries from the ARP cache.
remove ip <IP address>
<Interface name>
Removes an entry from the ARP cache. <ip address> = address of the entry being re-
moved. <interface name> = Interface name
Displays the ARP cache table.
Displays the last 20 commands entered during the current CLI session.
Stores the current configuration in permanent memory.
bluetooth (config-bluetooth) level commands
Returns to the config level.
Displays the current configuration.
Displays the last 20 commands entered during the current CLI session.
Displays the Bluetooth statistics.