ip host name-of-host [tcp-port-number] ip-address [ip-address2 ... address8]
name-of-host Hostname to associate with an ip address tcp-port-number Specifies a default Tcp-port to associate with the host. The telnet command will use this port as the default for this host. ip-address Address to associate with a hostname ip-address2 ... address8 Auxiliary addresses for this host
To define a static host name-to-address mapping in the host cache, use the ip host global configuration command. To remove the name-to-address mapping, use the no form of this command. It is possible to specify up to 8 alternate addresses. The tcp-port-number argument is the TCP port number to connect to when using the defined host name in conjunction with an EXEC connect or Telnet command. The default is Telnet (port 23).
Router(config)#ip host Lab_A 18.104.22.168 22.214.171.124
� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education
|Converted from CHM to HTML with chm2web Pro 2.85 (unicode)|