R3303-HP HSR6800 Routers Layer 3 - IP Services Command Reference

Table Of Contents
130
Parameters
domain domain-name: Specifies the domain name of an internal server. A domain name is a string
containing no more than 255 case-insensitive characters. It consists of several labels separated by dots
(.). Each label has no more than 63 characters that must begin and end with letters or digits. Dashes (-)
can also be included.
protocol pro-type: Specifies the protocol type used by the internal server, tcp or udp.
ip global-ip: Specifies the public IP address used by the internal server to provide services to the external
network.
port global-port: Specifies the port number used by the internal server to provide services to the external
network. The global-port argument is in the range of 1 to 65535.
Usage guidelines
A device can support a maximum of 16 DNS mappings.
Examples
# A company provides Web service to external users. The domain name of the internal server is
www.server.com, and the public IP address is 202.112.0.1. Configure a DNS mapping, so that internal
users can access the Web server using its domain name.
<Sysname> system-view
[Sysname] nat dns-map domain www.server.com protocol tcp ip 202.112.0.1 port www
Related commands
display nat dns-map
nat outbound
Use nat outbound or nat outbound acl-number to associate an ACL with the IP address of an interface
and enable Easy IP.
Use undo nat outbound to remove an association.
Syntax
nat outbound [ acl-number ] [ address-group group-number [ vpn-instance vpn-instance-name ]
[ no-pat ] ] [ track vrrp virtual-router-id ]
undo nat outbound [ acl-number ] [ address-group group-number [ vpn-instance vpn-instance-name ]
[ no-pat ] ] [ track vrrp virtual-router-id ]
Views
Interface view
Default command level
2: System level
Parameters
acl-number: Specifies an ACL number in the range of 2000 to 3999.
address-group group-number: Specifies an address pool for NAT. The value range for the group-number
argument is 0 to 127. If you do not specify any address is specified, the IP address of the interface is used
as the translated IP address. That is, Easy IP is enabled.