404
C
HAPTER
5: N
ETWORK
P
ROTOCOL
Static Domain Name
Resolution
display ip host
Syntax
display ip host
View
Any view
Parameter
None
Description
Using the display ip host command, you can display all the host names and their
corresponding IP addresses.
Example
Display all the host names and their corresponding IP addresses.
<3Com> display ip host
Host Age Flags Address(es)
eth 0 static 6.1.1.1
3Com 0 static 1.1.1.1
ip host
Syntax
ip host hostname ip-address
undo ip host hostname [ ip-address ]
View
System view
Parameter
■
hostname: The name of a host, a character string with its length from 1 to 20.
■
ip-address: The IP address corresponding to a host name, whose format can be
A.B.C.D
Description
Using the ip host command, you can configure the IP address corresponding to a
host name; while using the undo ip host command, you can remove the IP address
corresponding to a host name.
By default, the static domain name table is empty, i.e. there’s no host name and IP
address pair.
Summary of Contents for Router 3031
Page 6: ......
Page 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Page 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...