IP Configuration
DNS
Cisco Small Business 200E Series Advanced Smart Switch Command Reference 413
10
Related Commands
show hosts
Use this command to display the default domain name, a list of name server hosts,
the static and the cached list of hostnames and addresses. name ranges from 1-
255 characters. This command displays both IPv4 and IPv6 entries.
show hosts
Command Modes
Privileged Exec
Examples
The following example shows the output for this command.
(Switch) #show hosts
hostname....................................... host1
Default domain................................. Domain name is not configured
Default domain list............................ Domain Name List is not configured
Domain Name Lookup............................. Enabled
Number of retries.............................. 2
Retry timeout period........................... 3
Name servers (Preference order)................ 10.131.138.20
Configured hostname-to-address mapping:
Host Addresses
--------------------- ----------------------
host1 10.131.11.7
host2 10.131.11.9
Host Total Elapsed Type Addresses
Command Description
ip host Defines static hostname-to-IPv4 address mapping in the
host cache.
show hosts Displays the default domain name, a list of name server
hosts, the static and the cached list of hostnames and
addresses.