5: Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference
295
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
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.