To delete entries from the host-name-and-address cache, use the clear host EXEC command.
clear host {name | * }
name  Particular host entry to remove.
* Removes all entries.
EXEC
Release | Modification | 10.0 | This command was introduced. |
---|
The host name entries will not be removed from nonvolatile random-access memory (NVRAM), but will be cleared in running memory.
The following example clears all entries from the host name-and-address cache:
clear host *
Command | Description |
---|---|
ip host | Defines a static host name-to-address mapping in the host cache. |
show hosts | Displays the default domain name, the style of name lookup service, a list of name server hosts, and the cached list of host names and addresses. |
Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003
All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.