Cisco Ultra-Reliable Wireless Backhaul Standalone, Software Configuration Guide, Release 26.1.x

PDF

Configure SNAT using CLI

Want to summarize with AI?

Log in

Configure SNAT functionality to enable upstream data flow on the AP using command line interface commands.


This task enables SNAT functionality to allow upstream data flow on the access point by configuring NAT rules, inside IPv4 addresses, outside port ranges, and saving the configuration.

Perform this task to configure SNAT functionality to enable upstream data flow on the AP.

Follow these steps to configure SNAT using CLI:

Procedure

1.

Use the configure ip nat enable command to enable the NAT rules on the AP.

Example:

Device# configure ip nat enable
Note

You can use the configure ip nat disable command to disable the NAT configuration on the AP.

2.

Use the configure ip nat inside ipv4 ipv4-address netmask command to configure inside IPv4 address on the NAT.

Example:

Device# configure ip nat inside ipv4 192.168.70.2 255.255.255.0
3.

Use the configure ip nat outside port range left-limit-port-number right-limit-port-number command to configure outside port range on the NAT.

Example:

Device# configure ip nat outside port range 22000 23000

The valid range for the outside port is 1 to 25000. This range must not overlap with the NAPT port range. By default, the minimum port value is 20000 and the maximum is 25000. The minimum configurable value for both ranges is 1.

Note

When a TCP/UDP port below 1024 is configured, the system displays this warning:

Port values below 1024 may conflict with system services and are not recommended.
4.

Use the write command to save the current configuration.

Example:

Device# write
5.

Use the reload command to reload the device.

Example:

Device# reload