F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices NAT and ALG Command Reference-6PW100
31
Views
System view
Default Level
2: System level
Parameters
acl number acl-number: Specifies the IPv4 access control list (ACL) number, in the range of 2000 to
2999.
prefix natpt-prefix: Specifies the NAT-PT prefix, which is 96 bits in length.
Usage guidelines
For a packet from an IPv4 host to an IPv6 host, if the source IPv4 address matches the specified ACL, the
NAT-PT prefix is added to translate the source IPv4 address into an IPv6 address.
The natpt-prefix argument in the natpt v4bound dynamic command must be specified by the natpt prefix
command in advance.
Examples
# Configure a dynamic source address mapping policy for packets from IPv4 hosts to IPv6 hosts. Use ACL
2000 to match IPv4 packets and add the NAT-PT prefix 2001:: to translate the source IPv4 address into
an IPv6 address.
<Sysname> system-view
[Sysname] natpt prefix 2001::
[Sysname] natpt v4bound dynamic acl number 2000 prefix 2001::
Related commands
display natpt address-mapping
natpt v4bound static
Use natpt v4bound static to configure a static IPv4/IPv6 address mapping on the IPv4 side.
Use undo natpt v4bound static to remove a static IPv4/IPv6 address mapping on the IPv4 side.
Syntax
natpt v4bound static ipv4-address ipv6-address
undo natpt v4bound static ipv4-address ipv6-address
Views
System view
Default Level
2: System level
Parameters
ipv4-address: IPv4 address to be mapped.
ipv6-address: IPv6 address to which an IPv4 address is mapped.
Usage guidelines
The ipv6-address prefix should be contained in the configured NAT-PT prefix.