875
Description Use the natpt v6bound dynamic command to configure a dynamic mapping
for packets going from an IPv6 node to an IPv4 node.
Use the
undo natpt v6bound dynamic command to remove the configured
dynamic mapping.
Example # 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
Parameter ipv6-address: Source IPv6 address to be mapped.
ipv4-address: IPv4 address to which an IPv6 address is mapped.
Description Use the
natpt v6bound static command to configure the static IPv6-to-IPv4
address mapping.
Use the
undo natpt v6bound static command to remove the static IPv6-to-IPv4
address mapping.
Example # Configure the static mapping between the source IPv6 address 2001::1 and the
IPv4 address 2.3.4.5.
<Sysname> system-view
[Sysname] natpt v6bound static 2001::1 2.3.4.5
reset natpt dynamic-mappings
Syntax reset natpt dynamic-mappings
View User view
Parameter None
Description Use the
reset natpt dynamic-mappings command to clear dynamic NAT-PT
address mappings.
Example # Clear dynamic NAT-PT address mappings.