Ip host – Microsens MS453490M Management Guide User Manual

Page 904

Advertising
background image

C

HAPTER

39

| Domain Name Service Commands

– 904 –

Name Server List:

Console#

R

ELATED

C

OMMANDS

ip domain-list (901)

ip name-server (905)

ip domain-lookup (902)

ip host

This command creates a static entry in the DNS table that maps a host

name to an IPv4 address. Use the no form to remove an entry.

S

YNTAX

[no] ip host name address

name - Name of an IPv4 host. (Range: 1-100 characters)
address - Corresponding IPv4 address.

D

EFAULT

S

ETTING

No static entries

C

OMMAND

M

ODE

Global Configuration

C

OMMAND

U

SAGE

Use the no ip host command to clear static entries, or the

clear host

command to clear dynamic entries.

E

XAMPLE

This example maps an IPv4 address to a host name.

Console(config)#ip host rd5 192.168.1.55

Console(config)#end

Console#show hosts

No. Flag Type IP Address TTL Domain

---- ---- ------- -------------------- ----- ------------------------------

0 2 Address 192.168.1.55 rd5

Console#

Advertising