5: Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference
296
no secondary dns
Clears the name of the secondary DNS server.
primary dns
<IP ad-
dress>
Sets the IP address of the primary DNS server.
priority
<number>
Sets the priority for interface. <number> = priority number.
qos
Enter QoS configuration level
secondary dns
<IP ad-
dress>
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 status
Show interface status
state disable
Disables the interface.
state enable
Enables the interface.
write
Stores the current configuration in permanent memory.
if 2 (config-if:wlan0) level commands
clrscrn
Clears the screen.
default gateway
<IP ad-
dress>
Sets the configurable gateway IP address to the default value.
default mtu
Restores the default Maximum Transmission Unit (MTU) size.
default priority
Restores the default priority for the interface.
dhcp client id
<text>
Sets the DHCP client ID.
dhcp disable
Disables DHCP.
dhcp enable
Enables DHCP.
dhcp renew
Force DHCP to renew
domain
<text>
Sets the domain name. <text> = name of the domain.
exit
Exits to the config level.
failover
Enter failover configuration level
hostname
<text>
Sets the host name. <text> = name of the host.
if
<instance>
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)
ipv4 state disable
Disables IPv4 for the interface.
ipv4 state enable
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
ipv6 dhcp enable
Enables IPv6 DHCP.
ipv6 domain
<text>
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