5: Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference
297
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
ipv6 state enable
Enables IPv6 for the interface.
link
Enter link configuration level
mtu
<bytes>
Sets the Maximum Transmission Unit (MTU) size.
no default gateway
Clears the default gateway.
no dhcp client id
Clears the DHCP client ID.
no domain
Clears the domain name.
no hostname
Clears the host name.
no ip address
Clears the IP address.
no ipv6 address
Clears the IPv6 static address.
no ipv6 default gateway Clears the IPv6 default gateway.
no ipv6 domain
Clears the IPv6 domain name.
no ipv6 primary dns
Clears the IPv6 address of the primary DNS server.
no ipv6 secondary dns
Clears the IPv6 address of the secondary DNS server.
no primary dns
Clears the name of the primary DNS server.
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 3 (config-if:usb0) 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)