5: Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference
75
power management ena-
ble
Enables power management.
security
Switch to security level
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current CLI session.
tx power maximum
<dBm>
Sets the TX power maximum in dBm. <dBm> = measure of power in decibels with respect
to one milliwatt.
write
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
Restores the default reserved ports.
no reserved start port
Clears the reserved start port.
python
<instance>
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.
python kill
<pid>
Kill a python script <pid> = PID of running script or 'all' for all scripts.
python remove all
Uninstall python package and all installed packages.
python run
<instance>
Runs a python script <instance> = index of the script to be executed.
python show installed
Show installed python packages.
python show status
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).
reserved ports
<number>
Sets the number of reserved ports.
reserved start port
<number>
Sets the reserved start port. <number> = start port number.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current CLI session.
write
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
clrscrn
Clears the screen.
exit
Exits to the configuration level.
remove all
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
show cache
Displays the ARP cache table.
show history
Displays the last 20 commands entered during the current CLI session.
write
Stores the current configuration in permanent memory.
bluetooth (config-bluetooth) level commands
clrscrn
Clears the screen.
exit
Returns to the config level.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current CLI session.
show statistics
Displays the Bluetooth statistics.