A SERVICE OF

logo

356 IP Addressing Commands
clear host
Use the clear host command in Privileged EXEC mode to delete entries from
the host name-to-address cache.
Syntax
clear host {
name
|*}
name
— Host name to be deleted from the host name-to-address cache.
(Range: 1-255 characters)
*
— Deletes all entries in the host name-to-address cache.
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
This command has no user guidelines.
Example
The following example deletes all entries from the host name-to-address
cache.
console#clear host *
ip address
Use the ip address command in Global Configuration mode to set an IP
address. To remove an IP address, use the no form of this command.
Syntax
ip address
ip-address
{
mask
|
prefix-length
}
no ip address
ip-address
— Specifies a valid IP address.