127.0.0.1
ip: 127.0.0.1
hostname: localhost
alias:
127.0.0.1/
3. Type add then press Return.
--:- hosts cli-> add<Return>
--:#- [hosts] cli-> ls
ip =
hostname =
alias =
--:#- [hosts] cli->
4. Enter set hostname=<hostname> ip=<IP_address> to add the name of a host and the IP
address for the host.
NOTE: Eachparameter thatfollowsthe add command is separate d by a space.
--:#- [hosts] cli-> set hostname=sharedacs6000 ip=172.26.31.164
5. Enter commit.
--:#- [hosts] cli-> save
6. Enter show to verify the changes too k place and to view th e new host entry.
--:- hosts cli-> show
127.0.0.1
ip: 127.0.0.1
hostname: localhost
alias:
172.26.31.164
ip: 172.26.31.164
hostname: sharedacs6000
alias:
127.0.0.1/add
172.26.31.164/
7. Enter cd <IP_address>/settings to navi gate to the level where you can perform additional
configuration of th e host entry.
--:-ho sts cli-> cd 172.26.31 .164/settings
8. Enter show to view the addi tions to the host tabl e and the Settings option .
Chapter 4: CLI Overvi ew for Administrators 37