DELL PC6224F User Manual

Page of 1356
IP Addressing Commands
367
show hosts
Use the show hosts command in User EXEC mode to display the default 
domain name, a list of name server hosts, and the static and cached list of 
host names and addresses. The command itself shows hosts [hostname].
• Host name. (Range: 1–255 characters)
Default Configuration
This command has no default configuration.
Command Mode
User EXEC mode
User Guidelines
This command has no user guidelines.
Example
The following example displays information about IP hosts.
console>show hosts
Host name: 
Default domain: gm.com, sales.gm.com, usa.sales.gm.com
Name/address lookup is enabled
Name servers (Preference order): 176.16.1.18 176.16.1.19
Configured host name-to-address mapping:
Host
Addresses
--------------------------
----------------------------
accounting.gm.com
176.16.8.8
Cache:
TTL (Hours)
Host
Total
Elapsed
Type
Addresses
----------------
-----
-------
----
------------
www.stanford.edu
72
3
IP
171.64.14.203