Remove static nat mapping

I want to remove a static mapping because the server IP has changed. I have the new mapping, I just can not seem to get the old one out.

I used this

no static (inside,outside) tcp x.x.x.x ftp x.x.x.x ftp netmask x.x.x.x 0 0

Obviously it didn't work :)

Whats the correct method to remove the mapping and add the new one?
LVL 12
bhnmiAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

2PiFLCommented:
You need to be in config mode, then copy the line you want removed, paste it at the promt, then add the no.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bhnmiAuthor Commented:
I got it out now.

But now, my new mapping is not working correctly.
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp interface 3390 192.168.100.11 3390 netmask 255.255.255.255 0 0 
static (inside,outside) tcp interface 3389 192.168.100.20 3389 netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x www 192.168.100.25 www netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x https 192.168.100.25 https netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x 3389 192.168.100.28 3389 netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x ftp 192.168.100.27 ftp netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x www 192.168.100.30 www netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x https 192.168.100.30 https netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x 3389 192.168.100.29 3389 netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x https 192.168.100.10 https netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x www 192.168.100.9 www netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x https 192.168.100.9 https netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x telnet 192.168.254.1 telnet netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x ftp 192.168.100.12 ftp netmask 255.255.255.255 0 0 
access-group outside_in in interface outside

Open in new window

0
bhnmiAuthor Commented:
The new one is the last mapping

static (inside,outside) tcp x.x.x.x ftp 192.168.100.12 ftp netmask 255.255.255.255 0 0

Everything is the same except for the private IP....
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Cisco

From novice to tech pro — start learning today.