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

cannot reomve IP NAT vrf

Lance Wendel
Level 1
Level 1

Hi all,

I am facing with an issue relate to vrf, I have removed the ip vrf vrf-name

Then tried to removed the IP nat outside/inside static x.x.x.x.x x.x.x.x vrf vrf-name and came up with no vrf name vrf-name

I then created all the vrfs with the correct rd but if I do no IP nat outside/inside static x.x.x.x.x x.x.x.x vrf vrf-name it still doesn’t remove the NAT statement. The last option for me to reboot the device and attempt to remove the statement. But at the moment I cannot reboot the device as this is on production environment. Does anyone here have any other suggestions?

Version 12.4(13r)T10

Thanks in advance

Lancellot

2 Replies 2

Sandeep Choudhary
VIP Alumni
VIP Alumni

Hi LAUNCE;

Have you removed config (Ip nat inside/ outside) from the interfaces ?

First remove from them and the do :

You can try to remove the "ip nat inside" and "ip nat outside" commands  from the related interfaces and then do a "clear ip nat trans *".  Once  disabled, you should be able to safely remove the stale static NAT  entries.

and then

no ip nat inside source ........

It should work.

If you still facing the error then please tell me the exact error ???

Regards

please rate if it helps.

Hi  sandeepchoudhary21

thanks for the reply, yes I have done all of that, recreated the vrf, still it did not let me remove the NAT statement.

so what I then did, add the whole vrf, wr mem, reboot

first removed the NAT statement, aww that worked.

BTW if you do no ip vrf xxx

on ver 15, if you have lots of statements, the device will crash....

so be careful, just remove one line at a time, this would help.

regards,

Lancellot