R3721-F3210-F3171-HP High-End Firewalls NAT and ALG Command Reference-6PW101
18
Parameters
acl-number: Specifies an ACL by its number, in the range of 2000 to 3999.
local-network: Internal network address.
vpn-instance local-name: Specifies the L3VPN to which the internal network belongs. The local-name
argument is a case-sensitive string of 1 to 31 characters. Without this option, the internal network does
not belong to any VPN.
global-network: External network address.
vpn-instance global-name: Specifies the L3VPN to which the external network belongs. The global-name
argument is a case-sensitive string of 1 to 31 characters. Without this option, the external network does
not belong to any VPN.
mask-length: Length of the network mask.
mask: Network mask.
Description
Use nat static net-to-net to configure a net-to-net static NAT mapping.
Use undo nat static net-to-net to remove a net-to-net static NAT mapping.
The IP addresses of the internal network must be on the same network segment according to the mask
length of the external network address.
Related commands: display nat static.
Examples
# Configure a bidirectional static NAT mapping between internal network address 192.168.1.0/24 and
external network address 2.2.2.0/24.
<Sysname> system-view
[Sysname] nat static net-to-net 192.168.1.1 192.168.1.255 global 2.2.2.0 24