How to Create a Static Map of a Switch Configuration
- 1). Log on to your switch and enter your username and password. You will now be logged in to the switch and able to issue commands.
- 2). Create an access list. An access list allows you to permit or deny traffic from a list of IP addresses. Write the following to create an access list that permits all IP addresses from 192.168.3.0 to 192.168.3.255.
access-list 10 permit 192.168.3.0 0.0.0.255 - 3). Enable the NAT using the access list created in the previous step. The following command routes all of the IP addresses listed in the access list to a single public IP address, which is connected to the physical port “ethernet1”:
ip nat inside source list 10 eth0/0 overload - 4). Apply the access list:
conf t
int eth0/0
access-group 10 out - 5). Log out of the switch. You have now established a static map with your switch.
Source...