HP VPN Firewall Appliances NAT and ALG Command Reference
32
Syntax
natpt v4bound static v6server protocol protocol-type ipv4-address-destination ipv4-port-number
ipv6-address-destination ipv6-port-number
undo natpt v4bound static v6server protocol protocol-type ipv4-address-destination ipv4-port-number
ipv6-address-destination ipv6-port-number
Views
System view
Default command level
2: System level
Parameters
protocol protocol-type: Specifies the protocol type. The protocol-type argument can be:
• tcp: Specifies the TCP protocol.
• udp: Specifies the UDP protocol.
ipv4-address-destination: Specifies the IPv4 address to which an IPv6 address is mapped.
ipv4-port-number: Specifies the IPv4 port number in the range of 1 to 12287.
ipv6-address-destination: Specifies the destination IPv6 address to be mapped.
ipv6-port-number: Specifies the 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 command level
2: System level