R3303-HP HSR6800 Routers Layer 3 - IP Services Command Reference

Table Of Contents
266
[Sysname] natpt v4bound static 2.3.4.9 2001::1
Related commands
display natpt address-mapping
natpt v4bound static v6server
Use natpt v4bound static v6server to configure a static NAPT-PT mapping for an IPv6 server.
Use undo natpt v4bound static v6server to remove a static NAPT-PT mapping for an IPv6 server.
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 Level
2: System level
Parameters
protocol protocol-type: Specifies the protocol type:
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, and the IPv6 address and port number are 2001::1 and
80.
<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.