R3721-F3210-F3171-HP High-End Firewalls NAT and ALG Command Reference-6PW101

29
no-pat: Specifies no port address translation. If the no-pat keyword is not provided, port address
translation will be performed.
interface interface-type interface-number: Specifies the IPv4 address of the interface as the translated
source IPv6 address. interface-type interface-number specifies the interface type and number.
Description
Use natpt v6bound dynamic to configure a dynamic source address mapping policy for packets from
IPv6 hosts to IPv4 hosts.
Use undo natpt v6bound dynamic to remove the dynamic mapping.
Related commands: display natpt address-mapping.
Examples
# Configure a dynamic source address mapping policy for packets from IPv6 hosts to IPv4 hosts in system
view. 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
natpt v6bound static
Syntax
natpt v6bound static ipv6-address ipv4-address
undo natpt v6bound static ipv6-address ipv4-address
View
System view
Default level
2: System level
Parameters
ipv6-address: IPv6 address to be mapped.
ipv4-address: IPv4 address to which an IPv6 address is mapped.
Description
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.
Related commands: display natpt address-mapping.
Examples
# Configure the static mapping between the IPv6 address 2001::1 and the IPv4 address 2.3.4.5 on the
IPv6 side in system view.
<Sysname> system-view
[Sysname] natpt v6bound static 2001::1 2.3.4.5