01-26-2004 10:28 AM - edited 03-09-2019 06:13 AM
I have this in the nat table
Pro Inside global Inside local Outside local Outside global
tcp 199.212.17.130:1617 142.135.4.69:1617 132.206.246.112:21 132.206.246.112:21
and I want to clear just that one I go through the command and get this:
clear ip nat translation inside 199.212.17.130 142.135.4.69
%Translation not found
can you help me ?
Solved! Go to Solution.
01-30-2004 08:03 AM
Here are a few cpmmands that will help. What you need to do is to figure what translation you are doing and then choose the appropriate command: Clear all dynamic address translation entries from the NAT translation table: " clear ip nat translation * "
Clear a simple dynamic translation entry containing an inside translation, or both inside and outside translation: "clear ip nat translation inside global-ip local-ip [outside local-ip global-ip] " Clear a simple dynamic translation entry containing an outside translation: " clear ip nat translation outside local-ip global-ip " Clear an extended dynamic translation entry: "clear ip nat translation protocol inside global-ip global-port local-ip local-port [outside local-ip local-port global-ip global-port] "
01-30-2004 08:03 AM
Here are a few cpmmands that will help. What you need to do is to figure what translation you are doing and then choose the appropriate command: Clear all dynamic address translation entries from the NAT translation table: " clear ip nat translation * "
Clear a simple dynamic translation entry containing an inside translation, or both inside and outside translation: "clear ip nat translation inside global-ip local-ip [outside local-ip global-ip] " Clear a simple dynamic translation entry containing an outside translation: " clear ip nat translation outside local-ip global-ip " Clear an extended dynamic translation entry: "clear ip nat translation protocol inside global-ip global-port local-ip local-port [outside local-ip local-port global-ip global-port] "
01-30-2004 01:16 PM
Thank you but this does not work for me. I did found the answer. you have to enter the long way with ALL the following to work: e.g.
clear ip nat trans tcp inside a.b.c.d_globalIN port_number a.b.c.d_LocalIN port_number outside a.b.c.d_GlobalOUT port_number a.b.c.d_LocalOUT port_number
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