Example
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 command deletes entries from the DHCP host name-to-
address mapping cache.
Syntax
clear host dhcp {name address |*}
•
name—Host name to be deleted from the DHCP host name-to-address mapping cache
(Range: 1-158 characters).
•
*—Deletes all entries in the DHCP host name-to-address mapping cache.
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
There are no user guidelines for this command.
Example
The following example deletes all entries from the DHCP host name-to-address mapping cache.
Console# clear host dhcp *
show hosts
The show hosts user EXEC command displays the default domain name, a list of name server hosts
and the static and cached list of host names and addresses.
Syntax
show hosts [name]
•
name—Host name (Range: 1-158 characters).
Default Configuration
This command has no default configuration.
IP Addressing Commands
173