R2511-HP MSR Router Series Layer 3 - IP Services Command Reference(V5)

191
natpt v4bound dynamic
Use natpt v4bound dynamic to configure a dynamic source address mapping policy for packets from
IPv4 hosts to IPv6 hosts by associating an ACL with a NAT-PT prefix.
Use undo natpt v4bound dynamic to remove the association.
Syntax
natpt v4bound dynamic acl number acl-number prefix natpt-prefix
undo natpt v4bound dynamic acl number acl-number
Views
System view
Default Level
2: System level
Parameters
acl number acl-number: Specifies the IPv4 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