cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
386
Views
0
Helpful
2
Replies

Csico 1800 series, change configuration

hpetercek1
Level 1
Level 1

Dear all,

I have no Cisco IOS experience, very basic info and have to change NAT (PAT) in the current configuration.

We made some changes in our LAN and now I would like to update router configuration to change all "old" IPs to the "new" server IP.

Basicly changed old web server IP PAT to a new one...

I have running configuration in a file.. I understand I can somehow copy/paste relevant parts?

Can you please help me with steps I need to take?

Do I need to copy/paste complete running configuration or can I do this only for relevant part/line?

Will this add new entry or overwrite existing one?

Thank you for your help!

Peter

1 Accepted Solution

Accepted Solutions

cadet alain
VIP Alumni
VIP Alumni

Hi,

if this is port forwarding you want to change with new inside IP then you can do like this:

no ip nat inside tcp 192.168.10.1 80 x.x.x.x 80  old NAT statement

ip nat inside tcp 192.168.10.2 80 x.x.x.x 80  new NAT statement

of course this is an example so edit it for your needs.

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

View solution in original post

2 Replies 2

cadet alain
VIP Alumni
VIP Alumni

Hi,

if this is port forwarding you want to change with new inside IP then you can do like this:

no ip nat inside tcp 192.168.10.1 80 x.x.x.x 80  old NAT statement

ip nat inside tcp 192.168.10.2 80 x.x.x.x 80  new NAT statement

of course this is an example so edit it for your needs.

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

Hi, thanks for your reply.

From your answer I see I can "delete" current statement with "no" prefix.

Anyway, in a mean time I found it most easy to just use TFTP and download startup config to pc, change all old IPs with new IPs and use replace config from tftp to apply new running config. I am letting it run now for a day or two and then I will write it to startup config.

I found this easier than moving through different modes and interfaces and enable that and this

Thank you!

Review Cisco Networking for a $25 gift card