Show Hosts - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

15
361

15.9 show hosts

Use the show hosts command in privileged EXEC mode to display the default
domain name, the style of name lookup service, a list of name server hosts, and
the cached list of hostnames and addresses.
Syntax
hostname
show hosts [all |
Parameters
all—The specified host name cache information is to be displayed for all
configured DNS views. This is the default.
hostname
—The specified host name cache information displayed is to be
limited to entries for a particular host name.
Command Mode
Privileged EXEC mode
Default Configuration
Default is all.
User Guidelines
This command displays the default domain name, a list of name server hosts, and
the cached list of host names and addresses.
Example
The following is sample output with no parameters specified:
switchxxxxxx#
show hosts
Name/address lookup is enabled
Domain Timeout: 3 seconds
Domain Retry: 4 times
Domain Polling Interval: 10 seconds
Default Domain Table
]
OL-32830-01 Command Line Interface Reference Guide
DNS Client Commands

Advertisement

Table of Contents
loading

Table of Contents