IP Configuration
DNS
(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
---------------------
host1
host2
Host
Cisco Small Business 200E Series Advanced Smart Switch Command Reference
Related Commands
Command
ip host
show hosts
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.
Addresses
----------------------
10.131.11.7
10.131.11.9
Total
Elapsed
Description
Defines static hostname-to-IPv4 address mapping in the
host cache.
Displays the default domain name, a list of name server
hosts, the static and the cached list of hostnames and
addresses.
Type
Addresses
10
413