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.
Console# clear host *
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
D E L L C O N F I D E N T I A L – P R E L I M I N A R Y 9 / 1 3 / 0 6 – F O R P R O O F O N LY
198
IP Addressing Commands
)
)