To configure static NAT with the route-map option, issue the ip nat inside source static local-ip global-ip route-map map-name command from global configuration mode. Identify the NAT inside and outside interfaces by issuing the ip nat inside command and the ip nat outside command under the specific interface configuration mode. The route-map should be configured to match the specific traffic that needs to be translated by issuing the match command.
For example, a router connects to the Internet through interface serial 0 and is connected through interface serial 1 to a partner network which uses the 192.168.1.0/24 address space. The LAN interface of the router is connected to the corporate inside network which belongs to the 10.0.0.0/8 network. The requirement is that an inside host 10.1.1.1, which could be a mail server, should be translated to address 209.165.201.1 when communicating with the Internet. The same host should be translated to the 172.16.1.1 address when communicating with the partner network. This is the relevant configuration on the router:
interface Ethernet0
ip address 10.1.1.100 255.0.0.0
ip nat inside