Cisco Cisco IOS Software Release 12.4(4)T

Page de 22
VRF-Aware DNS
  clear host
10
Cisco IOS Release 12.4(4)T
clear host
To delete entries from the hostname-to-address cache, use the clear host command in EXEC mode.
clear host [vrf vrf-name] {all | hostname}
Syntax Description
Command Modes
EXEC
Command History
Usage Guidelines
The host name entries will not be removed from NVRAM, but will be cleared in running memory.
Examples
The following example shows how to clear all entries from the hostname-to-address cache:
Router> clear host all
The following example shows how to clear all entries from the hostname-to-address cache in the VPN 
name vpn1:
Router> clear host vrf vpn1
Related Commands
vrf vrf-name
(Optional) Virtual Private Network (VPN) routing and forwarding 
(VRF).
all
Removes all entries.
hostname
Particular hostname to remove.
Release
Modification
10.0
This command was introduced.
12.4(4)T
The vrf keyword, vrf-name argument, and all keyword were added.
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.