Technical data
PortServer Terminal Server Page 47
host
Syntax: set host [range=range]
set host name=hostname ip=ipaddress
set host rmhost=hostname
set host rmhost=on range=range
This sets or displays the host name table, which maps host names to IP addresses. If name service
is configured, this table is filled in automatically, and manual modification of this table will
probably not be required. Making changes with this command requires root privileges.
Options are:
ip name range rmhost
set host [range=range]
If the set host command is entered with no options (or just a range), it prints the
current host table (or a range of entries from the table).
set host name=hostname ip=ipaddress
This form of the set host command makes a new entry, or changes an existing
entry. Set hostname to the name of the host, and set ipaddress to the ip address of the
host. If the host name already existed in the table, the new ip address will replace the
old ip address; otherwise a new table entry will be created for this hostname and
address.
set host rmhost=hostname
This form of the set host command is used for removing entries from the host
table. set host rmhost=hostname removes the entry that refers to the hostname
set host rmhhost=on range=range
This form of the set host command is also used for removing entries from the
host table. set host rmhhost=on range=range is used to remove entries from
the host table by index number(s); these can be found in the table listing (by typing
set host with no options).
You may define up to 16 host table entries.