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

189
Views
System view
Default Level
2: System level
Parameters
max-number: Specifies the maximum number of sessions, in the range of 0 to 10000.
Examples
# Configure the system to allow 300 concurrent NAT-PT sessions.
<Sysname> system-view
[Sysname] natpt max-session 300
natpt prefix
Use natpt prefix to configure a NAT-PT prefix.
Use undo natpt prefix to remove the configured NAT-PT prefix.
Syntax
natpt prefix natpt-prefix [ interface interface-type interface-number [ nexthop ipv4-address ] ]
undo natpt prefix natpt-prefix
Views
System view
Default Level
2: System level
Parameters
natpt-prefix: Specifies the prefix of an IPv6 address, 96 bits in length.
interface interface-type interface-number: Specifies an interface by its type and number. The IPv6
packets matching the natpt-prefix are translated and then forwarded through the specified interface.
nexthop ipv4-address: Specifies the IPv4 address of the next hop for translated IPv6 packets.
Usage guidelines
A NAT-PT prefix must be different from the IPv6 address prefix of the receiving interface on the NAT-PT
device. Otherwise, NAT-PT translation for a received packet with the prefix results in packet loss.
To delete a NAT-PT prefix that has been referenced by using the natpt v4bound dynamic or natpt
v6bound dynamic command, you must cancel the reference configuration first.
The execution of the undo natpt prefix command might affect the translation of some mappings.
Therefore, use this command with caution.
Examples
# Configure a NAT-PT prefix.
<Sysname> system-view
[Sysname] natpt prefix 2001::