 




<?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>Network technologies and trends &#187; Resequence the access-list</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/network-technologies/tag/resequence-the-access-list/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/network-technologies</link>
	<description></description>
	<lastBuildDate>Wed, 15 May 2013 18:52:38 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Resequence the access-list!</title>
		<link>http://itknowledgeexchange.techtarget.com/network-technologies/resequence-the-access-list/</link>
		<comments>http://itknowledgeexchange.techtarget.com/network-technologies/resequence-the-access-list/#comments</comments>
		<pubDate>Sat, 30 Apr 2011 06:45:02 +0000</pubDate>
		<dc:creator>Yasir Irfan</dc:creator>
				<category><![CDATA[ACL]]></category>
		<category><![CDATA[Cisco Access list]]></category>
		<category><![CDATA[Cisco IOS]]></category>
		<category><![CDATA[Cisco IOS device]]></category>
		<category><![CDATA[Cisco Router]]></category>
		<category><![CDATA[Cisco Switches]]></category>
		<category><![CDATA[Cisco tip]]></category>
		<category><![CDATA[extended ip access-list]]></category>
		<category><![CDATA[ip access-list resequence]]></category>
		<category><![CDATA[Network technologies & trends]]></category>
		<category><![CDATA[Network Technologies and tips.]]></category>
		<category><![CDATA[Resequence the access-list]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/network-technologies/resequence-the-access-list/</guid>
		<description><![CDATA[When it comes to modifying Access lists in Cisco IOS devices most of us remove the ACL&#8217;s from the Cisco Router and then edit the entries in a note, and then paste back the modified ACL to the respective router via CLI. There is a way to reduce the overhead involved in modifying ACL by [...]]]></description>
				<content:encoded><![CDATA[<p>When it comes to modifying Access lists in Cisco IOS devices most of us remove the ACL&#8217;s from the Cisco Router and then edit the entries in a note, and then paste back the modified ACL to the respective router via CLI.</p>
<p>There is a way to reduce the overhead involved in modifying ACL by using the Cisco IOS feature of resequencing.</p>
<p>In the following example in a Cisco router there is an access-list name ITKE</p>
<p><span style="color: #800000">ASW2-02#sho access-lists ITKE</span></p>
<p><span style="color: #800000">Extended IP access list ITKE</span></p>
<p><span style="color: #800000">1 permit ip host 192.168.1.1 host 10.1.0.1</span></p>
<p><span style="color: #800000">2 permit ip host 192.168.1.2 host 10.1.0.2</span></p>
<p><span style="color: #800000">ASW2-02#</span></p>
<p><a href="http://cdn.ttgtmedia.com/ITKE/uploads/blogs.dir/58/files/2011/04/resequence.png"><img class="alignnone size-medium wp-image-1092" src="http://cdn.ttgtmedia.com/ITKE/uploads/blogs.dir/58/files/2011/04/resequence.png" alt="" width="402" height="192" /></a></p>
<p>From the example if we need to add one more deny statement for the host 192.168.1, it&#8217;s not possible to add a statement without deleting the current access list and create a new one. But the power of resequence allows you to assign a new set of sequence numbers to current access list as demonstrated below using the IOS command <span style="color: #800000">&#8220;ip access-list resequence&#8221;</span></p>
<p><span style="color: #800000">ASW2-02#configure t</span></p>
<p><span style="color: #800000">ASW2-02(config)#ip access-list resequence ITKE ?</span></p>
<p><span style="color: #800000">&lt;1-2147483647&gt;  Starting Sequence Number</span></p>
<p><span style="color: #800000">ASW2-02(config)#ip access-list resequence ITKE 10 10</span></p>
<p>This starts the first entry with a sequence number of 10 and increments all new lines by 10. The result is as shown below</p>
<p><span style="color: #800000">ASW2-02#sho ip access-lists ITKE</span></p>
<p><span style="color: #800000">Extended IP access list ITKE</span></p>
<p><span style="color: #800000">10 permit ip host 192.168.1.1 host 10.1.0.1</span></p>
<p><span style="color: #800000">20 permit ip host 192.168.1.2 host 10.1.0.2</span></p>
<p><span style="color: #800000">ASW2-02#</span></p>
<p><a href="http://cdn.ttgtmedia.com/ITKE/uploads/blogs.dir/58/files/2011/04/resequence1.png"><img class="alignnone size-medium wp-image-1093" src="http://cdn.ttgtmedia.com/ITKE/uploads/blogs.dir/58/files/2011/04/resequence1.png" alt="" width="526" height="417" /></a></p>
<p>By resequencing the ACL now it&#8217;s easy to inserts a new ACL with a sequence number of 15 which would fall between the existing entries in the ITKE access list.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/network-technologies/resequence-the-access-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
