beautypg.com

Show hosts, Show hosts -285 – SMC Networks SMC TigerStack III SMC6824MPE User Manual

Page 546

background image

C

OMMAND

L

INE

I

NTERFACE

4-284

Command Usage

• At least one name server must be specified before you can enable DNS.
• If all name servers are deleted, DNS will automatically be disabled.

Example
This example enables DNS and then displays the configuration.

Related Commands

ip domain-name (4-280)
ip name-server (4-282)

show hosts

This command displays the static host name-to-address mapping table.

Command Mode

Privileged Exec

Console(config)#ip domain-lookup
Console(config)#end
Console#show dns
Domain Lookup Status:
DNS enabled
Default Domain Name:
.sample.com
Domain Name List:
.sample.com.jp
.sample.com.uk
Name Server List:
192.168.1.55
10.1.0.55
Console#