Cisco Cisco IOS Software Release 12.4(4)T

Page de 22
 
VRF-Aware DNS
  ip host
15
Cisco IOS Release 12.4(4)T
ip host
To define a static hostname-to-address mapping in the host cache, use the ip host command in global 
configuration mode. To remove the hostname-to-address mapping, use the no form of this command.
ip host [vrf vrf-name] {name | tmodem-telephone-number} [tcp-port-number] address1 
[address2...address8
no ip host [vrf vrf-name] {name | tmodem-telephone-number} [tcp-port-number] address1 
[address2...address8]
Syntax Description
Defaults
Disabled
Command Modes
Global configuration
Command History
Usage Guidelines
The first character can be either a letter or a number. If you use a number, the types of operations you 
can perform (such as ping) are limited.
vrf vrf-name
(Optional) Defines a Virtual Private Network (VPN) routing and 
forwarding instance (VRF) table. The vrf-name argument specifies a 
name for the VRF table.
name 
Name of the host. The first character can be either a letter or a number. If 
you use a number, the types of operations you can perform are limited.
tmodem-telephone-number
Modem telephone number that is mapped to the IP host address for use 
in Cisco modem user interface mode. You must enter the letter “t” before 
the telephone number.
tcp-port-number
(Optional) TCP port number to connect to when using the defined 
hostname in conjunction with an EXEC connect or Telnet command. The 
default is Telnet (port 23).
address1
Associated IP host address. 
address2...address8
(Optional) Additional associated IP addresses. You can bind up to eight 
addresses to a hostname. 
Release
Modification
10.0
This command was introduced.
12.2(4)T
The capability to map a modem telephone number to an IP host was 
added for the Cisco modem user interface feature.
12.4(4)T
The vrf keyword and vrf-name argument were added.