210 IP Addressing Commands
clear host
The clear host Privileged EXEC mode command deletes entries from the host name-to-address cache.
Syntax
•
clear host
{
name
|
*
}
•
name —
Specifies the host entry to be removed. (Range: 1 - 158 characters
)
•
*
— Removes all entries.
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode.
User Guidelines
There are no user guidelines for this command.
Examples
The following example deletes all entries from the host name-to-address cache.
clear host dhcp
The clear host dhcp Privileged EXEC mode command deletes entries from the host name-to-address
mapping received from Dynamic Host Configuration Protocol (DHCP).
Syntax
•
clear host dhcp
{
name
|
*
}
•
name —
Specifies the host entry to be removed. (Range: 1 - 158 characters
)
•
*
— Removes all entries.
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode.
Console# clear host *
book.book Page 210 Thursday, December 18, 2008 7:40 PM