871

Parameter max-number: Maximum number of sessions, in the range of 0 to 2,048.

Description Use the natpt max-sessioncommand to set the maximum number of NAT-PT sessions.

Use the undo natpt max-sessioncommand to restore the default maximum number of NAT-PT sessions.

By default, the maximum number of NAT-PT sessions is 2,048.

Example # Configure the system to allow 300 concurrent NAT-PT sessions.

<Sysname> system-view

[Sysname] natpt max-session 300

natpt prefix

Syntax natpt prefix natpt-prefix [ interface interface-type interface-number [ nexthop ipv4-address ] ]

undo natpt prefix natpt-prefix

View System view

Parameter natpt-prefix: Prefix of an IPv6 address, 96 bits in length.

interface-typeinterface-number: Interface from which an IPv6 packet is forwarded if the prefix of the destination address of the packet complies with the format of the natpt-prefixargument during a dynamic mapping on the IPv6 network side.

ipv4-address: IPv4 address of the specified next hop to which an IPv6 packet is forwarded if the prefix of the destination address of the packet complies with the format natpt-prefixfor a dynamic IPv6-to-IPv4 mapping.

Description Use the natpt prefix command to configure the NAT-PT prefix.

Use the undo natpt prefix command to remove the configured NAT-PT prefix.

Note that:

A NAT-PT prefix must be different from an IPv6 address prefix of an interface on the NAT-PT device. Otherwise, the NAT-PT device will implement a NAT-PT after receiving such a packet from an IPv6 node, resulting in packet loss.

The execution of the undo natpt prefix command may affect the translation of some dynamic mappings. Therefore, be careful with this command.

Example # Configure a NAT-PT prefix.

<Sysname> system-view

[Sysname] natpt prefix 2001::

Page 871
Image 871
3Com MSR 50, MSR 30 manual Natpt prefix, Undo natpt prefix natpt-prefix, Example # Configure a NAT-PT prefix, 871