cisco Catalyst 9300 — Configuring Rate Limit

Configuring Rate Limit Perform the following task to configure a limit on the dynamically created NAT entries. Packets exceeding the set limit will fail to get translated and get dropped. Procedure Configuring Network Address Translation Configuring Rate Limit Command or Action Purpose Switch(config-route-map)# ip nat inside source route-map RM1 pool POOL1 Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. • Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode.

Step 3 ip nat translation max-entries { number | all-host number | all-vrf number | host ip-address number | list list name number | vrf name number} Example: Device(config)# ip nat translation max-entries 300 Configures the maximum number of NAT entries that are allowed from the specified source. • The maximum number of allowed NAT entries is 2147483647, although a typical range for a NAT rate limit is 100 to 300 entries. • When you configure a NAT rate limit for all VRF instances, each VRF instance is limited to the maximum number of NAT entries that you specify.

• When you configure a NAT rate limit for a specific VRF instance, you can specify a maximum number of NAT entries for the named VRF instance that is greater than or less than that allowed for all VRF instances. Step 4 end Example: Device(config)# end Exits global configuration mode and returns to privileged EXEC mode. Step 5 show ip nat statistics Example: Optional) Displays current NAT usage information, including NAT rate limit settings. IP Addressing Services Configuration Guide, Cisco IOS XE 17.16.x (Catalyst 9300 Switches) 157