Name
network — Manages and controls system network configuration. When creating a new IP address, the netmask must be created at the same time.
Syntax
network
network ip [[del | v6 | ib] <IP>[/netmask]]
network chassis [[v6] <IP>[/netmask]]
network gateway [[v6 | ib] <IP>]
network dns [<add | del> [v6] <IP>]
network ib [--enable | --disable]
network autoconf [--enable | --disable]
network dhcp [--enable | --disable]
network snmp [--enable | --disable]
network snmp [<IP> <PORT>]
Options
- No option
Displays all of the information about the network.
ipSets or deletes the IP address.
Options include:
delDeletes the IP address.
v6Specifies IPv6.
ibSpecifies IPoIB.
<IP>[/netmask]Specifies the IP address and netmask or prefix length. This is optional.
chassisDisplays or sets the chassis IP address.
Options include:
v6Specifies IPv6. If not specified, defaults to IPv4.
<IP>[/netmask]Specifies the IP address and netmask or prefix length. This is optional.
gatewaySets the default route.
Options include:
v6Specifies IPv6 gateway.
ibSpecifies IPoIB gateway.
<IP>Sets the IP address for the default route.
dnsAdds domain name servers (DNS).
Options include:
addAdds the IP address.
delDeletes the IP address.
v6Specifies IPv6 DNS. If not specified, defaults to IPv4 DNS.
<IP>Sets the IP address for the DNS.
autoconfEnables or disables Stateless Address Autoconfiguration (SLAAC).
Options include:
--enableEnables autoconfiguration.
--disableDisables autoconfiguration.
dhcpEnables or disables DHCP.
Caution
Before disabling DHCP, you must have a USB-A (male to male) cable connected to the serial port.
Options include:
--enableEnables DHCP.
--disableDisables DHCP.
snmpEnables or disables SNMP.
Options include:
--enableEnables SNMP.
--disableDisables SNMP.
<IP>Sets the IP address.
<PORT>Sets the port.
ibEnables or disables ib.
Options include:
--enableEnables ib.
--disableDisables ib.
Examples
network ip 198.51.100.0/255.255.255.0 network ip del 198.51.100.0 network ip 198.51.100.0/24 ib network ip v6 2001:db8::1/64 network chassis 198.51.100.0/255.255.255.0 network chassis v6 2001:db8::1/64 network chassis network gateway 192.1.1.0 network dns add 8.8.8.8 network autoconf --enable network dhcp --disable network snmp --enable network snmp 198.51.100.1 162