F3215-HP Load Balancing Module Network Management Command Reference-6PW101

129
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 Level
2: System level
Parameters
ipv6-address: IPv6 address to be mapped.
ipv4-address: 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.
<Sysname> system-view
[Sysname] natpt v6bound static 2001::1 2.3.4.5
Related commands
display natpt address-mapping
reset natpt statistics
Use reset natpt statistics to clear NAT-PT statistics.
Syntax
reset natpt statistics