5: Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference 296
Clears the name of the secondary DNS server.
primary dns <IP ad-
dress>
Sets the IP address of the primary DNS server.
Sets the priority for interface. <number> = priority number.
Enter QoS configuration level
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.
Stores the current configuration in permanent memory.
if 2 (config-if:wlan0) level commands
default gateway <IP ad-
dress>
Sets the configurable gateway IP address to the default value.
Restores the default Maximum Transmission Unit (MTU) size.
Restores the default priority for the interface.
Sets the domain name. <text> = name of the domain.
Exits to the config level.
Enter failover configuration level
Sets the host name. <text> = name of the host.
Changes to the interface configuration level.
ip address <ip ad-
dress/cidr>
Sets the IP address and network mask. Formats accepted: 192.168.1.1 (default mask)
192.168.1.1/24 (CIDR) "192.168.1.1 255.255.255.0" (explicit mask)
Disables IPv4 for the interface.
Enables IPv4 for the interface.
ipv6 address <ipv6 ad-
dress/prefix>
Sets the IPv6 static address. IPv6 addresses are written in eight groups of four hexadeci-
mal digits separated by colons, such as 2001:0db8:85a3:0000:0000:8a2e:0370:7334 Net-
work address ranges are written in CIDR notation. A network is denoted by the first ad-
dress in the block (ending in all zeroes), a slash (/), and a decimal value equal to the size
in bits of the prefix
ipv6 auto configure ena-
ble
Enables IPv6 stateless address autoconfiguration.
ipv6 default gateway
<ipv6 address>
Sets the IPv6 default gateway. IPv6 addresses are written in eight groups of four hexadec-
imal digits separated by colons, such as 2001:0db8:85a3:0000:0000:8a2e:0370:7334 Net-
work address ranges are written in CIDR notation. A network is denoted by the first ad-
dress in the block (ending in all zeroes), a slash (/), and a decimal value equal to the size
in bits of the prefix
Sets the IPv6 domain name. <text> = name of the domain.
ipv6 primary dns <ipv6
address>
Sets the IPv6 address of the primary DNS server. IPv6 addresses are written in eight
groups of four hexadecimal digits separated by colons, such as
2001:0db8:85a3:0000:0000:8a2e:0370:7334 Network address ranges are written in CIDR