Reference Guide

IP Addressing Commands 197
Command Mode
Global Configuration mode
User Guidelines
The preference of the servers is determined by the order in which they were entered.
Up to 8 servers can be defined using one command or using multiple commands.
Examples
The following example sets the available name server.
ip host
The ip host Global Configuration mode command defines static host name-to-address mapping
in the host cache. To remove the host name-to-address mapping, use the no form of this
command.
Syntax
ip host
name address
no ip host
name
name —
Name of the host (Range: 1-158 characters)
address —
Associated IP address.
Default Configuration
No host is defined.
Command Mode
Global Configuration mode
User Guidelines
Up to 64 host name-to address mapping entries are permitted in the host cache.
Examples
The following example defines a static host name-to-address mapping in the host cache.
Console(config)# ip name-server 176.16.1.18
Console(config)# ip host accounting.dell.com 176.10.23.1