для Cisco Cisco Packet Data Gateway (PDG)

Скачать
Страница из 1952
ip localhost
Configures or removes the static local host logical name to IP address mapping for the current context.
Product
All
Privilege
Security Administrator, Administrator
Command Modes
Exec > Global Configuration > Context Configuration
configure > context context_name
Entering the above command sequence results in the following prompt:
[
context_name
]
host_name
(config-ctx)#
Syntax Description
[ no ] ip localhost name ip_address
no
Specifies that the static mapping must be removed.
name
Specifies the logical host name (DNS) for the local machine on which the current context resides. name is an
alphanumeric string of 1 through 1023 characters formatted to be a valid IP host name.
ip_address
Specifies the IP address for the static mapping. ip_address must be expressed in IPv4 dotted-decimal or IPv6
colon-separated-hexadecimal notation.
Usage Guidelines
Avoid excessive DNS lookups across the network by statically mapping the logical host name to the local
host's context.
Examples
ip localhost localHostName 10.2.3.4
no ip localhost localHostName 10.2.3.4
Command Line Interface Reference, Modes C - D, StarOS Release 19    
709
Context Configuration Mode Commands I-M
ip localhost