The nat64 reverse-session-limit command sets the maximum number of reverse (IPv4-to-IPv6) sessions of a specific or all three IP protocols.
The undo nat64 reverse-session-limit command restores the default maximum numbers.
By default, the maximum number of reverse IP sessions for each user of a specific or all three protocols is as follows:
If the total parameter is set, this parameter takes precedence.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
tcp limit-number |
Indicates the maximum number of TCP reverse IP sessions for each user. |
The value is an integer ranging from 50 to 65535. |
udp limit-number |
Indicates the maximum number of UDP reverse IP sessions for each user. |
The value is an integer ranging from 50 to 65535. |
icmp limit-number |
Indicates the maximum number of ICMP reverse IP sessions for each user. |
The value is an integer ranging from 50 to 65535. |
total limit-number |
Indicates the maximum number of all reverse IP sessions for each user. If the total number of TCP, UDP, and ICMP reverse IP sessions for each user reaches the upper limit, NAT cannot be performed even if the number of TCP, UDP, or ICMP reverse IP sessions for each user has not reached the maximum number. |
The value is an integer ranging from 50 to 65535. |
Usage Scenario
Reverse sessions refer to sessions initiated from IPv4-side devices to IPv6-side devices. Some unauthorized users may consume a lot of reverse session resources to attack devices. As a result, there is a possibility that no NAT64 session can be used by authorized users. To prevent this problem, run the nat64 reverse-session-limit command to limit the number of sessions that can be used.
Prerequisites
The device has been enabled to monitor the number of reverse IP sessions in a specified NAT64 instance.
Configuration Impact
When the number of reverse NAT64 sessions of a user reaches the specified upper limit, no more sessions can be established. New NAT64 sessions can be established only after the number of reverse NAT64 sessions falls below the threshold.