HP VPN Firewall Appliances NAT and ALG Command Reference
33
Parameters
acl6 number acl6-number: Specifies the IPv6 ACL number. If the source IPv6 address of a packet sent
from an IPv6 network to an IPv4 network matches this IPv6 ACL, the source IPv6 address is translated
based on the command. The IPv6 ACL number ranges 2000 to 2999.
prefix natpt-prefix: Specifies the NAT-PT prefix. If the destination IPv6 address of a packet sent from an
IPv6 network to an IPv4 network is in this NAT-PT prefix, the source IPv6 address is translated based on
the command. The NAT-PT prefix is 96 bits in length.
address-group address-group: Specifies the number of the IPv4 address pool for the translation of the
source IPv6 address. The IPv4 address pool number is in the range of 1 to 32.
no-pat: Specifies no port address translation. If the no-pat keyword is not provided, port address
translation is performed.
interface interface-type interface-number: Specifies the IPv4 address of the interface as the translated
source IPv6 address. The interface-type interface-number argument specifies the interface type and
number.
Examples
# Configure a dynamic source address mapping policy for packets from IPv6 hosts to IPv4 hosts.
Translate the source address of an IPv6 packet that matches IPv6 ACL 2001 into an IPv4 address in
address pool 1.
<Sysname> system-view
[Sysname] natpt address-group 1 2.3.4.5 2.3.4.10
[Sysname] natpt v6bound dynamic acl6 number 2001 address-group 1
Related commands
display natpt address-mapping
natpt v6bound static
Use natpt v6bound static to configure a static IPv4/IPv6 address mapping on the IPv6 side.
Use undo natpt v6bound static to remove a static IPv4/IPv6 address mapping on the IPv6 side.
Syntax
natpt v6bound static ipv6-address ipv4-address
undo natpt v6bound static ipv6-address ipv4-address
Views
System view
Default command level
2: System level
Parameters
ipv6-address: Specifies the IPv6 address to be mapped.
ipv4-address: Specifies the IPv4 address to which an IPv6 address is mapped.
Examples
# Configure the static mapping between the IPv6 address 2001::1 and the IPv4 address 2.3.4.5 on the
IPv6 side.