D-Link DES-3010FA/GA CLI Reference Guide
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]
Parameters
•
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# 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
Configured host name-to-address mapping:
Host
----
accounting.gm.com
Cache:
Host
----
www.stanford.edu
Addresses
---------
176.16.8.8 176.16.8.9 (DHCP)
TTL(Hours)
Total
Elapsed
Type
-----
-------
------
72
3
IP
Page 127
Addresses
---------
171.64.14.203