10-09-2012 05:10 AM - edited 03-04-2019 05:48 PM
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
10-09-2012 05:43 AM
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.
10-09-2012 08:34 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide