ip nat translation max-entries

Use this command to configure the IPv4 NAT maximum number of translation entries.

Syntax

ip nat translation max-entries number
no ip nat translation max-entries

Parameters

number Specifies the maximum number of translation entries allowed for this router. Default value of 0 (no-limit). Valid values: 1 - 65535.

Defaults

The maximum number of translation entries defaults to 0 (no-limit).

Mode

Configuration command, Global configuration.

Usage

65535 entries is currently the maximum value allowed for this command. Certain applications such as NAT, LSNAT, TWCB share the same hardware resource pool of 65535 bindings on a first come first serve basis. Lowering this value assures resources will be available for other applications.

The “no” form of the command resets the number of maximum entries to the default value of 0 (no-limit).

Example

This example sets the maximum number of NAT translation entries to 20000:

System(rw-config)->ip nat translation max-entries 20000