F3215-HP Load Balancing Module Network Management Command Reference-6PW101
128
• tcp: Specifies the TCP protocol.
• udp: Specifies the UDP protocol.
ipv4-address-destination: IPv4 address to which an IPv6 address is mapped.
ipv4-port-number: IPv4 port number in the range of 1 to 12287.
ipv6-address-destination: Destination IPv6 address to be mapped.
ipv6-port-number: IPv6 port number in the range of 1 to 12287.
Examples
# Configure a static NAPT-PT mapping for an IPV6 server, in which the protocol type is TCP, the IPv4
address and port number are 2.3.4.5 and 80 respectively, and the IPv6 address and port number are
2001::1 and 80 respectively.
<Sysname> system-view
[Sysname] natpt v4bound static v6server protocol tcp 2.3.4.5 80 2001::1 80
Related commands
display natpt address-mapping
natpt v6bound dynamic
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.
Syntax
natpt v6bound dynamic { acl6 number acl6-number | prefix natpt-prefix } { address-group
address-group [ no-pat ] | interface interface-type interface-number }
undo natpt v6bound dynamic { acl6 number acl6-number | prefix natpt-prefix }
Views
System view
Default Level
2: System level
Parameters
acl6 number acl6-number: Specifies the IPv6 ACL number in the range of 2000 to 3999. If the source
IPv6 address of a packet sent from an IPv6 network to an IPv4 network matches this IPv6 ACL, the source
IPv6 address is translated based on the command.
prefix natpt-prefix: Specifies the NAT-PT prefix, 96 bits in length. If the destination IPv6 address of a
packet sent from an IPv6 network to an IPv4 network is in this NAT-PT prefix, the source IPv6 address is
translated based on the command.
address-group address-group: Specifies the number of the IPv4 address pool for the translation of the
source IPv6 address. The IPv4 address pool number is in the range of 1 to 32.
no-pat: Specifies no port address translation. If the no-pat keyword is not provided, port address
translation is performed.