5: Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference
328
write
Stores the current configuration in permanent memory.
password (tunnel-accept-password:1) level commands
clrscrn
Clears the screen.
exit
Exits to the next higher level.
no password
Removes the password so connections will be accepted unchallenged.
password
<text>
Sets the password required on the network side of the tunnel to begin a connection.
prompt disable
Inhibits any prompting for password on the network side of the tunnel.
prompt enable
Sets up so a user on the network side of the tunnel will be prompted for a password.
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.
port forwarding rule 1 (config-portforwarding:1) level commands
clrscrn
Clears the screen.
default protocol
Restores the default value of the protocol (Both).
exit
Exits to the config-gateway level.
friendly name
<text>
Set the friendly name for port forwarding rule <text> = friendly name
ingress ip address
<text>
Sets the original WAN destination IP address for port forwarding rule.
ip address
<text>
Sets the LAN destination IP address for port forwarding rule.
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 port forwarding rule.
no target port
Clears the LAN destination port for port forwarding rule.
port forwarding rule
<number>
Change to config gateway port forwarding level.
port or range
<text>
Sets the WAN port or range for port forwarding rule. <text> = 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 configuration.
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
<text>
Sets the LAN destination port for port forwarding rule. <text> = port.
write
Stores the current configuration in permanent memory.
port forwarding rule 2 (config-portforwarding:2) level commands
clrscrn
Clears the screen.
default protocol
Restores the default value of the protocol (Both).
exit
Exits to the config-gateway level.
friendly name
<text>
Set the friendly name for port forwarding rule <text> = friendly name
ingress ip address
<text>
Sets the original WAN destination IP address for port forwarding rule.
ip address
<text>
Sets the LAN destination IP address for port forwarding rule.
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.