kcos networking ip set
Use the kcos networking ip set command to set the IPv4 or IPv6 address for an interface on the
node on which KCOS is running. You can designate the address as either DHCP-assigned or staticIP.
Syntax
kcosnetworking ip set [flags] <interface> (<dhcp>) || (IP/subnet> <gateway>)
Flags
-h, --help Display help for the command
Arguments
<interface> The Interface name.
<dhcp> Designates the address as DHCP-assigned.
<IP/subnet> The static IPv4 or IPv6 address and subnet.
<gateway> The address of the gateway.
Examples
kcos networking ip set mgmt0 dhcp
kcos networking ip set mgmt1 10.200.1.20/24 10.200.1.1
See also
kcos networking ip show
Appendix A KCOS CLI command reference
– 57 – 913-2626-01