firewall enable
ip address filter <num-
ber>
ip address filter disable
ip address filter enable
mac address filter <num-
ber>
mac address filter disable Disables MAC Address filtering.
mac address filter enable Enables MAC Address filtering.
no primary dns
no secondary dns
operating mode disabled Disables routing on WAN interface.
operating mode gateway Enables routing with NAT on WAN interface.
operating mode router
port forwarding rule
<number>
primary dns <IP ad-
dress>
router ip address <ip
address/cidr>
router ipv6 address <ipv6
address/prefix>
secondary dns <IP ad-
dress>
show
show history
show routing table
show status
static route <number>
virtual ip <number>
wan interface <text>
write
gre 1 (config-gre:1) level commands
clrscrn
default local network
default mtu
exit
gre <instance>
ip address <text>
local network <text>
mtu <bytes>
name <text>
SGX™ 5150 IoT Device Gateway Command Reference
Enables firewall on WAN interface.
Change to config ip filter level.
Disables IP Address filtering.
Enables IP Address filtering.
Change to config mac filter level.
Clears the name of the primary DNS server.
Clears the name of the secondary DNS server.
Enables routing without NAT on WAN interface.
Change to config gateway port forwarding level.
Sets the IP address of the primary DNS server.
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)
Sets the IPv6 address of router. IPv6 addresses are written in eight groups of four hexa-
decimal 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
Sets the IP address of the secondary DNS server.
Displays the current configuration.
Displays the last 20 commands entered during the current CLI session.
Show current routing table.
Show gateway configuration and status.
Change to config gateway static route level.
Change to virtual ip level.
Sets the preferred WAN interface. <text> = interface name. NOTE: When WAN interface is
wlan0, the LAN interfaces are eth0 and usb0. When WAN interface is eth0, the LAN inter-
faces are usb0 and Access Point. When WAN interface is usb0, the LAN interfaces are
eth0 and Access Point.
Stores the current configuration in permanent memory.
Clears the screen.
Restores the default local network name.
Restores the default Maximum Transmission Unit (MTU) size.
Exits to the config level.
Change to gre level.
Sets the IP address and network mask.
Sets the local network name. <text> = local network name.
Sets the Maximum Transmission Unit (MTU) size.
Sets the name. <text> = name.
5: Commands and Levels
172
Need help?
Do you have a question about the SGX 5150 and is the answer not in the manual?
Questions and answers