5: Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference
298
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.
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.
ip (config-ip) level commands