Show Hosts - Cisco 300 Series Cli Manual

Small business 300 series managed switches command line interface guide release 1.3
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

8
160
Parameters
server-address1—IPv4 or IPv6 addresses of a single name server.
server-address2...server-address8—IPv4 or IPv6 addresses of additional
name servers.
Default Configuration
No name server IP addresses are defined.
Command Mode
Global Configuration mode
User Guidelines
The preference of the servers is determined by the order in which they were
entered.
Each ip name-server command replaces the configuration defined by the previous
one (if one existed).
Example
The following example shows how to specify IPv4 hosts 172.16.1.111, 172.16.1.2,
and IPv6 host 2001:0DB8::3 as the name servers:
ip name-server 172.16.1.111 172.16.1.2 2001:0DB8::3
89

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 host names 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.
]
78-21075-01 Command Line Interface Reference Guide
DNS Client Commands

Advertisement

Table of Contents
loading

Table of Contents