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

PDF

Configure NAPT using CLI

Want to summarize with AI?

Log in

Configure NAPT functionality to enable downstream data flow on the AP using CLI commands.


Configure NAPT functionality to enable downstream data flow on the AP.

Perform this task to configure NAPT functionality to enable downstream data flow on the AP.

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 inside port range first-port-number second-port-number command to configure inside port range on the NAT.

Example:

Device# configure ip nat inside port range 32000 33000

The valid range for the inside port is 1 to 35000. This range must not overlap with the SNAT port range. By default, the minimum port value is 30000 and the maximum is 35000. The minimum configurable value for both ranges is 1.

4.

Use the configure ip nat entry add proto{ TCP| UDP} outside port outside-port-number inside ipv4 inside-ipv4-address port inside-port-number command to configure protocol, outside port value, inside IPv4 address, and inside port value on the NAT.

Example:

Device# configure ip nat entry add proto TCP outside port 38080 inside ipv4 192.168.0.2 port
8080
5.

Use the write command to save the current configuration.

Example:

Device#write
6.

Use the reload command to reload the device.

Example:

Device#reload