3Com 5104M-FIB Switch User Manual


 
2-120
SET HOST
SET HOST
Use the SET HOST command to assign host names to IP addresses. Doing this
allows you to use the name or the IP address to identify a device. The host table
can contain up to 20 entries. You can then use the name in place of the
address for PING and TELNET commands.
Format
Example
The following command assigns the name Calvin to IP address 153.17.9.2:
CB5000> set host Calvin 153.17.9.2
Host name ip address set.
Related Commands
CLEAR HOST
SHOW HOST
name The name to associate with the IP address. The name must begin with a
letter. The remainder of the address can be either letters or numbers.
ip address The IP address. Enter the address as a series of four decimal bytes
separated by periods. For example, 192.122.19.4.
set host
name ip address