[Top] [Table Of Contents] [Prev] [Next] [Index]
16 out of 25 total pages
Hosts 13
- This chapter describes how to configure the PortMaster to recognize hostnames. The configuration settings are stored in the host table in the nonvolatile RAM of the PortMaster 4.
- Each host attached to an IP network has a unique IP address. The PortMaster 4 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 System (DNS) or Network Information Service (NIS) for hostname resolution rather than using the local host table.
- For information on setting the NIS or DNS server and domain, refer to Chapter 3, "Global Settings."
Displaying Host Information
- To display information about hostnames, use the following command:
Summary of Host Commands
- The commands in Table 13-1 are used to configure the host table.
Table 13-1 Host Configuration Commands
Command Syntax
|
|
---|
add host Ipaddress String
| - see page 13-2
|
delete host Ipaddress|String
| - see page 13-2
|
save host
| - see page 13-2
|
show table host
| - see page 13-3
|
Note ¯
The PortMaster always checks its local host table before using DNS or NIS.
-
Description of Host Commands
- 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
Ipaddress
| IP address of the host.
|
String
| String of printable characters representing the hostname. Maximum length is 39 characters.
|
Caution ¯
You can add duplicate IP addresses, but hostnames must be unique.
delete host
- This command deletes a host from the host table.
delete host Ipaddress|String
Ipaddress
| IP address of the host.
|
String
| Hostname.
|
Caution ¯
If you delete a duplicate IP address, the first IP address from the host table will be 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.
show table host
- This command displays the host table from the PortMaster.
show table host
Example
Command> show table host
|
192.168.200.4
| chopin
|
172.16.200.3
| elgar
|
[Top] [Table Of Contents] [Prev] [Next] [Index]
16 out of 25 total pages
spider@livingston.com
Copyright © 1999, Lucent Technologies. All rights
reserved.