5: Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference
96
show history
Displays the last 20 commands entered during the current CLI 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.
default short name
Restores the default product short name.
exit
Exit to the enable level.
long name
<name>
Sets the product long name, displayed in command mode and the Web interface.
reboot schedule
Enters the reboot schedule level
short name
<name>
Sets the product short name, displayed in command mode and the Web interface. <name>
= maximum of eight characters.
show
Show system information
show hardware infor-
mation
Displays information about the hardware.
show history
Displays the last 20 commands entered during the current CLI session.
show lines
Show line information
show memory
Displays current memory usage information.
show task state
Displays current task states.
show tlog
Displays the internal trouble log.
write
Stores the current configuration in permanent memory.
dhcpserver (config-dhcpd) level commands
clrscrn
Clears the screen.
default end ip address
Restores end IP address of DHCP address pool to the default value.
default end ipv6 address Clears the end IPv6 address of DHCP address pool.
default lease time
Restores the lease time to default value (24 hours).
default start ip address
Restores start IP address of DHCP address pool to the default value.
default start ipv6 address Clears the start IPv6 address of DHCP address pool.
delete all static leases
Deletes all static leases.
delete static lease
<in-
stance>
Deletes an entry from the static lease table <instance> = 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
<
IP address
>
Sets the IP address of DHCP server.
end ip address
<IP ad-
dress>
Sets the end IP address of DHCP address pool.
end ipv6 address
<ipv6
address/prefix>
Sets the end IPv6 address of DHCP address pool. IPv6 addresses are written in eight
groups of four hexadecimal digits separated by colons, such as
2001:0db8:85a3:0000:0000:8a2e:0370:7334 Network address ranges are written in CIDR
notation. A network is denoted by the first address in the block (ending in all zeroes), a
slash (/), and a decimal value equal to the size in bits of the prefix
ipv6 state disable
Disables IPv6 DHCP server.
ipv6 state enable
Enables IPv6 DHCP server.
lease time
<hours>
Sets the lease time. <number> = lease time in hours.
no dhcp server ip ad-
Clears the IP address of DHCP server.