[Top] [Table Of Contents] [Prev] [Next] [Index]
This chapter describes how to configure the host table in the nonvolatile RAM of the PortMaster.
Each host attached to an IP network has a unique IP address. The PortMaster supports a local host table to map hostnames to IP addresses. Hostnames are for the convenience of the administrator who uses the command line interface, and to record hostnames entered by users at the host prompt. To avoid confusion and reduce administrative overhead, Lucent recommends using the Domain Name Service (DNS) or Network Information Service (NIS) for hostname resolution rather than using the local host table.
To display information about the host table, use the following command:
For information on setting the NIS or DNS server and domain, refer to Chapter 3, "Global Commands."
The host table commands in Table 16-1 are used to configure the host table.
Note ¯
The PortMaster always checks the local host table before using DNS or NIS.
These commands are used to maintain the PortMaster host table.
add host
This command adds a host to the host table.
add host Ipaddress String
Note ¯
You can add duplicate IP addresses, but hostnames must be unique.
Command> add host 192.168.200.4 chopin
New host entry successfully added
delete host
This command deletes a host from the host table.
delete host Ipaddress|String
Note ¯
If you delete a duplicate IP address, the first IP address from the host table will be deleted.
Command> delete host chopin
Host entry successfully deleted
save host
This command writes the current host table to the nonvolatile RAM of the PortMaster.
save host
The command can also be entered as save hosts; save all can also be used.
Command> save host
Hosts table successfully saved
New configurations successfully saved.
show table host
This command displays the host table from the PortMaster.
show table host
[Top] [Table Of Contents] [Prev] [Next] [Index]
spider@livingston.com
Copyright © 1998, Lucent Technologies. All rights
reserved.