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

192
Default Level
2: System level
Parameters
ipv4-address: Specifies the IPv4 address to be mapped.
ipv6-address: Specifies the IPv6 address to which an IPv4 address is mapped.
Usage guidelines
The ipv6-address prefix should be contained in the configured NAT-PT prefix.
Examples
# Configure a static mapping between the IPv4 address 2.3.4.9 and the IPv6 address 2001::1 on the
IPv4 side.
<Sysname> system-view
[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. 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, and the IPv6 address and port number are 2001::1 and
80.