Chapter 4: Accessing the PM PDU via the Command Line Interface 59
**:- eth0 cli-> set ipv4_method=static
3. Enter set ipv<4|6>_method/static/ address=<IP_Address> mask=<netmask> to set the IP
address and subnet mask then enter
commit to save the change.
--:- eth0 cli-> set ipv4_method/static/ ipv4_address=172.26.31.10
ipv4_mask=255.255.255.0
**:- eth0 cli-> commit
4. Enter show to view the changes.
--:- eth0 cli-> show
Network/Hosts
The following procedure describes how to add a host to the hosts table.
To add a host to the host table:
1. Enter
cd network/hosts to navigate to the Hosts level.
--:- / cli-> cd network/hosts
2. Enter show to view the current host settings.
--:- hosts cli-> show
ip hostname alias
===== ======== =====
127.0.0.1 localhost
3. Type add then press Return.
--:- hosts cli-> add<Return>
--:#- [hosts] cli-> show
ip =
hostname =
Table 4.8: Network/Devices Options
Devices Navigation Tree
devices
eth0
ipv4_method=
ipv6_method=
mode=
status=