5: Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference 172
Enables firewall on WAN interface.
ip address filter <num-
ber>
Change to config ip filter level.
ip address filter disable
Disables IP Address filtering.
Enables IP Address filtering.
mac address filter <num-
ber>
Change to config mac filter level.
mac address filter disable
Disables MAC Address filtering.
mac address filter enable
Enables MAC Address filtering.
Clears the name of the primary DNS server.
Clears the name of the secondary DNS server.
Disables routing on WAN interface.
Enables routing with NAT on WAN interface.
Enables routing without NAT on WAN interface.
port forwarding rule
<number>
Change to config gateway port forwarding level.
primary dns <IP ad-
dress>
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)
router ipv6 address <ipv6
address/prefix>
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
secondary dns <IP ad-
dress>
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.
gre 1 (config-gre:1) level commands
Restores the default local network name.
Restores the default Maximum Transmission Unit (MTU) size.
Exits to the config 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.