ERR No such file or directory
cli> get network hosts 192.168.160.222
name fruitbat
alias
set
The set command sets the value(s) of the last parameter. When multiple parameters are
specified in one command, either all are set successfully or none of the values are changed.
The set command is used to set an existing value, in contrast to add command which is used to
add something to the parameter tree. For example, this set command is used to specify the IP
address for an Ethernet interface which already is identified by the eth0 parameter in the
parameter tree: set network interface eth0 address <IPaddress>. In contrast, new hosts need to be
added with the add command before their parameters can be specified; add network hosts
<IPaddress> makes an entry for a host with the specified IP address in the hosts list. Parameters
for this new host can then be changed with the set command: set network hosts <IPaddress>
name <hostname>.
Synopsis
set parameter(s) value(s)
Examples
cli> set network resolv dns0 10.0.0.1
OK
cli> set network interface eth1 address 10.0.0.3 netmask 255.255.255.0
broadcast 10.0.0.255
OK
shell
The shell command escapes to the shell.
Synopsis
shell
Examples
cli> shell
root@MergePoint:~#
root@MergePoint:~# whoami
root
root@MergePoint:~# logout
cli>
Chapter 7: Using the CLI Utility 135