Under Construction
ms chvmi
Available: from 1.9.1.0
The command “ms chvmi” can be used to change the network configuration of the VMI interfaces on eBMC systems:
ms [-h <hmc>] chvmi [-f] [-v] <ms> <interface> {ipv4dhcp|ipv6dhcp|slaac|<IPv4> <netmask> <gateway>|<IPv6> <gateway>}
-f : force changing the interface currently in use.
When using the command, the interface to be changed (eth0 or eth1) must be specified in addition to the managed system. The following configurations are possible:
<interface> ipv4dhcp
<interface> ipv6dhcp
<interface> slaac
<interface> <IPv4-address> <netmask> <gateway>
<interface> <IPv6-address>/<prefix-length> <gateway>
To enable DHCP on an interface, the keyword ipv4dhcp (for IP) or ipv6dhcp (for IPv6) must be specified:
$ ms chvmi ms19 eth0 ipv4dhcp
$
$ ms chvmi ms29 eth0 ipv6dhcp
$
To use Stateless Address Auto Configuration (SLAAC) for IPv6, slaac must be specified as an argument:
$ ms chvmi ms30 eth1 slaac
$
To set a static IPv4 address, the network mask and a gateway must always be specified in addition to the IP address. If no gateway is required, 0.0.0.0 should be specified as the gateway:
$ ms chvmi ms5 eth0 192.168.99.3 255.255.255.0 0.0.0.0
$
The resulting configuration can be viewed with the command “ms lsvmi”.