
IP Addressing Commands
199
DELL CONFIDENTIAL – PRELIMINARY 9/13/06 – FOR PROOF ONLY
User Guidelines
•
This command deletes the host name-to-address mapping temporarily until the next renewal
of the IP address.
Examples
The following example deletes all entries from the host name-to-address mapping.
show hosts
The
show hosts
Privileged EXEC mode command displays the default domain name; a list of
name server hosts; the static and the cached list of host names and addresses.
Syntax
show hosts
[
name
]
•
name —
Specifies the host name. (Range: 1-158 characters)
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 displays host information.
Console#
clear host dhcp *
Console#
show hosts
Host name: Device
Default domain is gm.com, sales.gm.com, usa.sales.gm.com(DHCP)
Name/address lookup is enabled
Name servers (Preference order): 176.16.1.18 176.16.1.19