Skip to main content

Cornelis Technical Documentation

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.

ip

Sets or deletes the IP address.

Options include:

del

Deletes the IP address.

v6

Specifies IPv6.

ib

Specifies IPoIB.

<IP>[/netmask]

Specifies the IP address and netmask or prefix length. This is optional.

chassis

Displays or sets the chassis IP address.

Options include:

v6

Specifies IPv6. If not specified, defaults to IPv4.

<IP>[/netmask]

Specifies the IP address and netmask or prefix length. This is optional.

gateway

Sets the default route.

Options include:

v6

Specifies IPv6 gateway.

ib

Specifies IPoIB gateway.

<IP>

Sets the IP address for the default route.

dns

Adds domain name servers (DNS).

Options include:

add

Adds the IP address.

del

Deletes the IP address.

v6

Specifies IPv6 DNS. If not specified, defaults to IPv4 DNS.

<IP>

Sets the IP address for the DNS.

autoconf

Enables or disables Stateless Address Autoconfiguration (SLAAC).

Options include:

--enable

Enables autoconfiguration.

--disable

Disables autoconfiguration.

dhcp

Enables or disables DHCP.

Caution

Before disabling DHCP, you must have a USB-A (male to male) cable connected to the serial port.

Options include:

--enable

Enables DHCP.

--disable

Disables DHCP.

snmp

Enables or disables SNMP.

Options include:

--enable

Enables SNMP.

--disable

Disables SNMP.

<IP>

Sets the IP address.

<PORT>

Sets the port.

ib

Enables or disables ib.

Options include:

--enable

Enables ib.

--disable

Disables 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