F3215-HP Load Balancing Module Network Management Command Reference-6PW101
110
Usage guidelines
A device supports 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 to enable outbound NAT on an interface.
Use undo nat outbound to disable outbound NAT.
Syntax
nat outbound acl-number [ address-group group-number [ vpn-instance vpn-instance-name ] [ no-pat |
port-preserved ] ] [ track vrrp virtual-router-id ]
undo nat outbound acl-number [ address-group group-number [ vpn-instance vpn-instance-name ]
[ no-pat | port-preserved ] ] [ track vrrp virtual-router-id ]
Views
Interface view
Default command level
2: System level
Parameters
acl-number: ACL number in the range of 2000 to 3999. A packet matching a permit rule in the ACL is
translated by NAT. If you do not specify any ACL, a packet that is not sourced from the outbound
interface is translated by NAT.
address-group group-number: Specifies an address pool for NAT. The value range for the group-number
argument is 0 to 255. If no address pool is specified, the IP address of the interface is used as the
translated IP address. That is, Easy IP is enabled.
vpn-instance vpn-instance-name: Specifies the VPN to which the addresses of the address pool belong.
The vpn-instance-name argument is a case-sensitive string of 1 to 31 characters. With this option,
inter-VPN access through NAT is supported. Without this option, the addresses in the address pool do
not belong to any VPN.
no-pat: Specifies not to use the TCP/UDP port number for many-to-many NAT. If you do not specify this
keyword, the TCP/UDP port number is used for many-to-one NAT.
port-preserved: Reserves port number for many-to-one NAT.
track vrrp virtual-router-id: Associates address translation on a specific outbound interface with a VRRP
group. The virtual-router-id argument indicates the number of the VRRP group in the range of 1 to 255.
Without this argument specified, no VRRP group is associated.