
Chapter 7: Using the cli Utility 153
Synopsis
cd [parameter(s)]
Examples
cli> cd network
network> get hostname
dingo
network> set hostname kookaburra
OK
network> cd interface eth0
network interface eth0> set
active address alias broadcast gateway method mtu
netmask
ip address for interface eth0
netmask for interface eth0
network interface eth0> set address 192.168.160.10 netmask \ 255.255.255.0
OK
network interface eth0> cd ..
network interface> cd eth1
network interface eth1> set address 192.168.50.10
OK
network interface eth1> cd
cli>
commit
Saves changes in configuration files and creates a compressed copy of the configuration files in a
backup directory.
NOTE: If you make a change but do not commit it, the configuration files are not updated, and your changes will
be lost after the next reboot.
Synopsis
commit
delete
Deletes the last parameter in the command line. Deleting certain parameters deletes associated
parameters. For instance, if an IP address is deleted from the host list, other parameters associated
with a host (name, alias) are also deleted.
Komentarze do niniejszej Instrukcji