Example:
# ip nat static add 10.10.2.1 192.168.0.10
# ip nat show
NAT Configuration
-----------------
Network Address Port Translation (NAPT): Enabled
Global Address Table
If IP Address
dvb0 10.10.1.10
Static NAT Map
If Global Address Local Address
dvb0 10.10.2.1 192.168.0.10
Static NAPT Map
If Global Address/Port-Start Local Address/Port-Start PortRange
dvb0 10.10.2.2/5000 192.168.0.12/3000
NAT Status
----------
Total Sessions 0
Active Sessions 0
Failed Sessions 0
Packet Translations 0
It is also possible to add a range of ports to static NAPT and not just single ports.
# ip nat show
NAT Configuration
-----------------
Dynamic Network Address Port Translation (NAPT): Enabled
Global Address Table
If IP Address
dvb0 88.84.83.129
Static NAPT Map
If Global Address/Port-Start Local Address/Port-Start PortRange
dvb0 88.84.83.129/3311 12.12.12.12/1111 10
NAT Status
----------
Total Sessions 1964
Active Sessions 18
Failed Sessions 0
Packet Translations 169053
#