5: Commands and Levels
PremierWave® 2050 Enterprise Wi-Fi® IoT Module Command Reference
384
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.
python 1 (config-applications-python:1) level commands
clrscrn
Clears the screen.
exit
Exits to the next higher level.
filename
<text>
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
Run the script on shutdown.
onstart disable
Do not run the script on startup.
onstart enable
Run the script on startup.
output
<text>
Sets the script output path.
parameters
<text>
Sets the script parameters.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
state disable
Disables script.
state enable
Enables script.
write
Stores the current configuration in permanent memory.
python 10 (config-applications-python:10) level commands
clrscrn
Clears the screen.
exit
Exits to the next higher level.
filename
<text>
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.