Default Configuration
No name server addresses are specified.
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.
Console(config)# ip name-server 176.16.1.18
ip host
The ip host Global Configuration mode command defines static host name-to-address mapping in the
host cache. Use the no form of this command to remove the host name-to-address mapping.
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 host accounting.dell.com 176.10.23.1
IP Addressing Commands
209