Administrator Guide

Layer 2 Switching Commands 508
ip host
Use the ip host command in Global Configuration mode to define static host
name-to-address mapping in the host cache. To delete the name-to-address
mapping, use the no form of this command.
Syntax
ip host
name address
no ip host
name
name
— Host name.
address
— IP address of the host.
Default Configuration
No host is defined.
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
Example
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 name-server
Use the ip name-server command in Global Configuration mode to define
available IPv4 or IPv6 name servers. To delete a name server, use the no form
of this command.
Syntax
ip name-server
server-address1
[
server-address2 … server-address8
]
no ip name-server [
server-address1 … server-address8
]
2CSNXXX_SWUM204.book Page 508 Monday, January 25, 2016 1:25 PM