R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)
181
[Sysname-acl-adv-3001] rule permit ip destination 3.3.3.0 0.0.0.255
[Sysname-acl-adv-3001] quit
[Sysname] nat static outbound 192.168.1.1 2.2.2.2 acl 3001
Related commands
• display nat all
• display nat static
• nat static enable
nat static outbound net-to-net
Use nat static outbound net-to-net to configure a net-to-net outbound static NAT mapping.
Use undo nat static outbound net-to-net to remove the specified net-to -net outbound static NAT mapping.
Syntax
nat static outbound net-to-net local-start-address local-end-address [ vpn-instance local-name ] global
global-network { mask-length | mask } [ vpn-instance global-name ] [ acl acl-number [ reversible ] ]
undo nat static outbound net-to-net local-start-address local-end-address [ vpn-instance local-name ]
Default
No NAT mapping exists.
Views
System view
Predefined user roles
network-admin
Parameters
local-start-address local-end-address: Specifies an internal network address pool which can contain a
maximum of 255 addresses. The local-end-address must not be lower than local-start-address. If they are
the same, the internal network address pool has only one address.
global-network: Specifies an external network address.
mask-length: Specifies the mask length of the external network address, in the range of 8 to 31.
mask: Specifies the mask of the external network address.
acl acl-number: Specifies an ACL number in the range of 3000 to 3999. You can use an ACL to specify
the destination addresses that internal hosts can access.
reversible: Translates the destination address of a packet that originates from internal hosts to the
external host if the packet is permitted by ACL reverse matching.
Usage guidelines
You can specify an internal network through a start address and an end address, and an external
network through an external address and a mask.
An internal end address cannot be greater than the greatest IP address in the network segment
determined by an internal start address and an external network mask. For example, an external address
is 2.2.2.0 with a mask 255.255.255.0, and the internal start address is 1.1.1.100. The internal end
address cannot be greater than 1.1.1.255, the greatest IP address in the network segment 1.1.1.0/24.