5: Commands and Levels
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.
gateway (config-gateway) level commands
add forwarding rule
<start port>
<end port>
<protocol>
<ip>
Add a forwarding rule without a name.
add forwarding rule
<start port>
<end port>
<target port>
<protocol>
<ingress ip>
<ip>
Add a forwarding rule based on ip address without a
name.
add forwarding rule with name
<name>
<start port>
<end
port>
<protocol>
<ip>
Add a forwarding rule with a name.
add forwarding rule with name
<name>
<start port>
<tar-
get port>
<end port>
<protocol>
<ingress ip>
<ip>
Add a forwarding rule based on ip address with a name.
add mac address filter
<MAC address>
<action>
Add a MAC Address filter.
add route
<network>
<gateway>
<interface>
<metric>
Add a static route without a name.
add route with name
<name>
<network>
<gateway>
<in-
terface>
<metric>
Add a static route with a name.
clrscrn
Clears the screen.
default operating mode
Restores operating mode to the default value (Disabled).
default router ip address
Restores IP address of router to the default value.
default wan interface
Restores preferred WAN interface to the default value.
delete all mac address filters
Deletes all mac address filters.
delete all routes
Deletes all static routes.
delete all rules
Deletes all port forwarding rules.
delete mac address filter
<instance>
Deletes an entry from the mac address filters <instance>
= index of the entry being removed
delete route
<instance>
Deletes an entry from the static routes <instance> = index
of the entry being removed.
delete rule
<instance>
Deletes an entry from the port forwarding rules <instance>
= index of the entry being removed.
dhcpserver
Enters the dhcpserver level.
exit
Returns to the config level.
firewall disable
Disables firewall on WAN interface.
firewall enable
Enables firewall on WAN interface.
mac address filter
<number>
Change to config mac filter level.
mac address filter disable
Disables MAC Address filtering.
mac address filter enable
Enables MAC Address filtering.
no primary dns
Clears the name of the primary DNS server.
no secondary dns
Clears the name of the secondary DNS server.
operating mode disabled
Disables routing on WAN interface.
operating mode gateway
Enables routing with NAT on WAN interface.
operating mode router
Enables routing without NAT on WAN interface.
port forwarding rule
<number>
Change to config gateway port forwarding level.
primary dns
<IP address>
Sets the IP address of the primary DNS server.
router ip address
<ip address/cidr>
Sets the IP address of router. Formats accepted:
192.168.1.1 (default mask) 192.168.1.1/24 (CIDR)
PremierWave® XC Intelligent Gateway Command Reference
140