<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>phirebird &#187; static entry</title>
	<atom:link href="http://www.phirebird.net/tag/static-entry/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phirebird.net</link>
	<description>Yet Another IT &#039;How-To&#039; Site</description>
	<lastBuildDate>Wed, 29 Dec 2010 11:37:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Can&#8217;t remove IP NAT entries on Cisco router: %Static entry in use, cannot remove</title>
		<link>http://www.phirebird.net/2009/07/cant-remove-ip-nat-entries-on-cisco-router-static-entry-in-use-cannot-remove/</link>
		<comments>http://www.phirebird.net/2009/07/cant-remove-ip-nat-entries-on-cisco-router-static-entry-in-use-cannot-remove/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 18:17:11 +0000</pubDate>
		<dc:creator>shands</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[ip nat]]></category>
		<category><![CDATA[static entry]]></category>

		<guid isPermaLink="false">http://www.phirebird.net/?p=80</guid>
		<description><![CDATA[While removing IP NAT entries on a busy Cisco router &#8211; you&#8217;ll probably end up with this problem: phbrtr(config)#no ip nat source static tcp 192.168.0.1 25 interface FastEthernet1/0 25 %Static entry in use, cannot remove phbrtr(config)# So what it is? Well, as the errors suggests, the rule is currently being used and as such can&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>While removing IP NAT entries on a busy Cisco router &#8211; you&#8217;ll probably end up with this problem:</p>
<blockquote><p>phbrtr(config)#no ip nat source static tcp 192.168.0.1 25 interface FastEthernet1/0 25<br />
%Static entry in use, cannot remove</p>
<p>phbrtr(config)#</p></blockquote>
<p>So what it is? Well, as the errors suggests, the rule is currently being used and as such can&#8217;t be changed (in this particular instance, there were a few active SMTP connections). On busy routers, this activity sometimes cannot be helped!</p>
<p>So how do you get around it? Well the first way is simply to wait for a lul in the traffic! When this isn&#8217;t possible, you can try clearing current IP NAT dynamic translations: (NB: Be quick!)</p>
<blockquote><p>phbrtr(config)#no ip nat source static tcp 192.168.0.1 25 interface FastEthernet1/0 25<br />
%Static entry in use, cannot remove</p>
<p>phbrtr(config)#do clear ip nat translation *<br />
phbrtr(config)#no ip nat source static tcp 192.168.0.4 25 interface FastEthernet1/0 25<br />
phbrtr(config)#</p></blockquote>
<p>If this <em>still</em> doesn&#8217;t work (note that once you&#8217;ve issued the clear ip nat command &#8211; any new packets will create a new nat entry &#8211; hence &#8216;Be quick&#8217;!), you will to stop nat for a while to allow you to remove the translation:</p>
<blockquote><p>
phbrtr(config)#no ip nat source static tcp 192.168.0.1 25 interface FastEthernet1/0 25<br />
%Static entry in use, cannot remove</p>
<p>phbrtr(config)#interface FastEthernet0/0<br />
phbrtr(config-if)#no ip nat inside<br />
phbrtr(config-if)#exit</p>
<p>phbrtr(config)#interface FastEthernet1/0<br />
phbrtr(config-if)#no ip nat outside<br />
phbrtr(config-if)#exit</p>
<p>phbrtr(config)#do clear ip nat translation *<br />
phbrtr(config)#no ip nat source static tcp 192.168.0.1 25 interface FastEthernet1/0 25</p>
<p>phbrtr(config)#interface FastEthernet0<br />
phbrtr(config-if)#ip nat inside<br />
phbrtr(config-if)#exit</p>
<p>phbrtr(config)#interface FastEthernet1/0<br />
phbrtr(config-if)#ip nat outside<br />
phbrtr(config-if)#exit</p></blockquote>
<p> This demo removes IP NAT from both inside and outside interfaces &#8211; but you could try to removing it from just one (for ease) - but it will obviously depend on your setup.</p>
<p>Are you looking to learn more about Cisco equipment? Well, here&#8217;s a selection of a few books that I&#8217;ve found useful over the years:</p>
<table width="100%">
<tr>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0072263830?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51a9cEpt97L._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA150_SH20_OU02_.jpg" border="0"><br />
Cisco: A Beginner&#8217;s Guide</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0470110082?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51hoZmqfLKL._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA150_SH20_OU02_.jpg" border="0"><br />
CCNA &#8211; Cisco Certified Network Associate Study Guide</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/076451668X?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51yzvygWW8L._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA150_SH20_OU02_.jpg" border="0"><br />
Cisco Networking for Dummies</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0596527225?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51tMNtlYIeL._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA150_SH20_OU02_.jpg" border="0"><br />
Cisco IOS in a Nutshell &#8211; O&#8217;Reilly</a></td>
</tr>
</table>
<p>&nbsp;</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.phirebird.net/2009/07/cant-remove-ip-nat-entries-on-cisco-router-static-entry-in-use-cannot-remove/&amp;n=Can%27t+remove+IP+NAT+entries+on+Cisco+router%3A+%25Static+entry+in+use%2C+cannot+remove&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.phirebird.net/2009/07/cant-remove-ip-nat-entries-on-cisco-router-static-entry-in-use-cannot-remove/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.phirebird.net/2009/07/cant-remove-ip-nat-entries-on-cisco-router-static-entry-in-use-cannot-remove/&amp;title=Can%27t+remove+IP+NAT+entries+on+Cisco+router%3A+%25Static+entry+in+use%2C+cannot+remove" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.phirebird.net/2009/07/cant-remove-ip-nat-entries-on-cisco-router-static-entry-in-use-cannot-remove/&amp;title=Can%27t+remove+IP+NAT+entries+on+Cisco+router%3A+%25Static+entry+in+use%2C+cannot+remove" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.phirebird.net/2009/07/cant-remove-ip-nat-entries-on-cisco-router-static-entry-in-use-cannot-remove/&amp;t=Can%27t+remove+IP+NAT+entries+on+Cisco+router%3A+%25Static+entry+in+use%2C+cannot+remove" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.phirebird.net/2009/07/cant-remove-ip-nat-entries-on-cisco-router-static-entry-in-use-cannot-remove/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.phirebird.net/2009/07/cant-remove-ip-nat-entries-on-cisco-router-static-entry-in-use-cannot-remove/&amp;title=Can%27t+remove+IP+NAT+entries+on+Cisco+router%3A+%25Static+entry+in+use%2C+cannot+remove" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.phirebird.net/2009/07/cant-remove-ip-nat-entries-on-cisco-router-static-entry-in-use-cannot-remove/&amp;title=Can%27t+remove+IP+NAT+entries+on+Cisco+router%3A+%25Static+entry+in+use%2C+cannot+remove" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.phirebird.net/2009/07/cant-remove-ip-nat-entries-on-cisco-router-static-entry-in-use-cannot-remove/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Can%27t+remove+IP+NAT+entries+on+Cisco+router%3A+%25Static+entry+in+use%2C+cannot+remove%5B..%5D+-+http://www.phirebird.net/2009/07/cant-remove-ip-nat-entries-on-cisco-router-static-entry-in-use-cannot-remove/&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.phirebird.net/2009/07/cant-remove-ip-nat-entries-on-cisco-router-static-entry-in-use-cannot-remove/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

