C
OMMAND
L
INE
I
NTERFACE
4-158
ip host
This command creates a static entry in the DNS table that maps a host
name to an IP address. Use the
no
form to remove an entry.
Syntax
[
no
]
ip host
name
address1
[
address2
…
address8
]
• name - Name of the host. (Range: 1-64 characters)
•
address1
- Corresponding IP address.
•
address2
…
address8
- Additional corresponding IP addresses.
Default Setting
No static entries
Command Mode
Global Configuration
Command Usage
Servers or other network devices may support one or more
connections via multiple IP addresses. If more than one IP address is
associated with a host name using this command, a DNS client can try
each address in succession, until it establishes a connection with the
target device.
Example
This example maps two address to a host name.
Console(config)#ip host rd5 192.168.1.55 10.1.0.55
Console(config)#end
Console#show hosts
Hostname
rd5
Inet address
10.1.0.55 192.168.1.55
Alias
Console#
Содержание 8648T - annexe 1
Страница 2: ......
Страница 34: ...INTRODUCTION 1 10 ...
Страница 48: ...INITIAL CONFIGURATION 2 14 ...
Страница 159: ...PORT CONFIGURATION 3 111 Figure 3 48 Displaying Etherlike and RMON Statistics ...
Страница 411: ...DNS COMMANDS 4 167 ...
Страница 536: ...COMMAND LINE INTERFACE 4 291 ...
Страница 542: ...TROUBLESHOOTING B 2 ...
Страница 555: ......