5: Commands and Levels
EDS-MD® Wired IoT Device Gateway Command Reference
160
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>
<target port>
<end port>
<protocol>
<ingress ip>
<ip>
Add a forwarding rule based on ip address with a
name.
add route
<network>
<gateway>
<interface>
<metric>
Add a static route without a name.
add route with name
<name>
<network>
<gateway>
<interface>
<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 routes
Deletes all static routes.
delete all rules
Deletes all port forwarding rules.
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.
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.
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)
"192.168.1.1 255.255.255.0" (explicit mask)
secondary dns
<IP address>
Sets the IP address of the secondary DNS server.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the
current CLI session.
show routing table
Show current routing table.
show status
Show gateway configuration and status.
static route
<number>
Change to config gateway static route level.
wan interface
<text>
Sets the preferred WAN interface. <text> = interface
name.
write
Stores the current configuration in permanent
memory.
host 1 (tunnel-connect-host:16:1) level commands