<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Use ASDM, you can move ACLs in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/1663491#M556932</link>
    <description>&lt;P&gt;Use ASDM, you can move ACLs wherever you need &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;More easily than CLI ...&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jul 2016 05:47:59 GMT</pubDate>
    <dc:creator>Dina Odeh</dc:creator>
    <dc:date>2016-07-18T05:47:59Z</dc:date>
    <item>
      <title>ACL - Inserting New Line Between Existing Lines</title>
      <link>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/1663482#M556910</link>
      <description>&lt;P&gt;I am in the middle of editing a few long ACLs that were created before my time. What I noticed is that when they were orginially created each line was created in intervals of 1. I know that I can copy the ACL out modify each line to be in intervals of 10, but it got me wondering if there was any other way to modify the ACL to add a line in between 3 and 4? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Alex&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 20:26:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/1663482#M556910</guid>
      <dc:creator>Alexander Deems</dc:creator>
      <dc:date>2019-03-11T20:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: ACL - Inserting New Line Between Existing Lines</title>
      <link>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/1663483#M556913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I understand, here is an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ciscoasa(config)# access-list 100 permit tcp any any eq 81&lt;BR /&gt;ciscoasa(config)# access-list 100 permit tcp any any eq 82&lt;BR /&gt;ciscoasa(config)# access-list 100 permit tcp any any eq 84&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ciscoasa(config)# sh run access-list 100&lt;BR /&gt;access-list 100 extended permit tcp any any eq 81&lt;BR /&gt;access-list 100 extended permit tcp any any eq 82&lt;BR /&gt;access-list 100 extended permit tcp any any eq 84&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inserting tcp any any eq 83&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ciscoasa(config)# access-list 100&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt; &lt;STRONG&gt;line 3&lt;/STRONG&gt; &lt;/EM&gt;&lt;/SPAN&gt;permit tcp any any eq 83&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ciscoasa(config)# sh run access-list 100&lt;BR /&gt;access-list 100 extended permit tcp any any eq 81&lt;BR /&gt;access-list 100 extended permit tcp any any eq 82&lt;BR /&gt;access-list 100 extended permit tcp any any eq 83&lt;BR /&gt;access-list 100 extended permit tcp any any eq 84&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if thats what you meant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 16:22:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/1663483#M556913</guid>
      <dc:creator>Maykol Rojas</dc:creator>
      <dc:date>2011-04-28T16:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: ACL - Inserting New Line Between Existing Lines</title>
      <link>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/1663484#M556915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No that is not what I am talking about. Let me give you an example. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the current configuration: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ciscoasa(config)# access-list acl_outside line 1 permit tcp any any eq 81&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ciscoasa(config)# access-list acl_outside line 2 permit tcp any any eq 82&lt;BR /&gt;ciscoasa(config)# access-list acl_outside line 3 permit tcp any any eq 83&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to enter a new rule in between line 1 and 2 to deny this traffic so it should look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ciscoasa(config)# access-list acl_outside line 1 permit tcp any any eq 81&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ciscoasa(config)# access-list acl_outside line 2 deny tcp 10.1.1.0 any eq 81&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ciscoasa(config)# access-list acl_outside line 3 permit tcp any any eq 82&lt;BR /&gt;ciscoasa(config)# access-list acl_outside line 4 permit tcp any any eq 83&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering if there is a way to do this, but I don't think there is any way to insert the line in between line 1 and 2 without copying the whole ACL out of the configuration, modfiy the line numbering and then go into the ASA and remove the old ACL and add the new ACL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2011 16:36:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/1663484#M556915</guid>
      <dc:creator>Alexander Deems</dc:creator>
      <dc:date>2011-04-29T16:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: ACL - Inserting New Line Between Existing Lines</title>
      <link>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/1663485#M556918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only thing that you need to do is use the line command, if you want to add a line between 1 and 2, you can just put one ACE with the line that you want, for example, you have the following ACL &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ciscoasa(config)# access-list acl_outside line 1 permit tcp any any eq 81&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ciscoasa(config)# access-list acl_outside line 3 permit tcp any any eq 82&lt;BR /&gt;ciscoasa(config)# access-list acl_outside line 4 permit tcp any any eq 83&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you want to enter a new rule in between line 1 and 2 to deny this traffic so it should look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wha you need to do is just to add the following line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ciscoasa(config)# access-list acl_outside line 2 deny tcp 10.1.1.0 any eq 81&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You dont have to re-do all your ACL, that is why you have the option of the line command when creating the ACL, so you can insert them wherever you want on the ACL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike Rojas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2011 16:43:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/1663485#M556918</guid>
      <dc:creator>Maykol Rojas</dc:creator>
      <dc:date>2011-04-29T16:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: ACL - Inserting New Line Between Existing Lines</title>
      <link>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/1663486#M556921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know how the line command works, but I am looking at how to add an entry in between two exisiting rules who's line entries are 1 and 2. There is no gap in between 1 and 2. Is there a way to insert a line between lines 1 and 2? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently the configuration looks like the below ACL, and I will not be able to add a line in between line 1 and 2. &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ciscoasa(config)# access-list acl_outside line 1 permit tcp any any eq 81&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ciscoasa(config)# access-list acl_outside line 2 permit tcp any any eq 82&lt;BR /&gt;ciscoasa(config)# access-list acl_outside line 3 permit tcp any any eq 83&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;What I need is for my ACL to look like the below ACL, is there a way to do that without rewriting/copying and pasting the ACL back into the configuration? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ciscoasa(config)# access-list acl_outside line 1 permit tcp any any eq 81&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ciscoasa(config)# access-list acl_outside line 2 deny tcp 10.1.1.0 any eq 81&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ciscoasa(config)# access-list acl_outside line 3 permit tcp any any eq 82&lt;BR /&gt;ciscoasa(config)# access-list acl_outside line 4 permit tcp any any eq 83&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Alex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2011 17:03:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/1663486#M556921</guid>
      <dc:creator>Alexander Deems</dc:creator>
      <dc:date>2011-04-29T17:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: ACL - Inserting New Line Between Existing Lines</title>
      <link>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/1663487#M556924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is what im telling you. I know there is no gap, but you can accomodate the line wherever you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your current ACL looks like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ciscoasa(config)# access-list acl_outside line 1 permit tcp any any eq 81&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ciscoasa(config)# access-list acl_outside line 2 permit tcp any any eq 82&lt;BR /&gt;ciscoasa(config)# access-list acl_outside line 3 permit tcp any any eq 83&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you want it to look like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ciscoasa(config)# access-list acl_outside line 1 permit tcp any any eq 81&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ciscoasa(config)# access-list acl_outside line 2 deny tcp 10.1.1.0 any eq 81&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ciscoasa(config)# access-list acl_outside line 3 permit tcp any any eq 82&lt;BR /&gt;ciscoasa(config)# access-list acl_outside line 4 permit tcp any any eq 83&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without modifying everything, the ONLY line that you need to add is the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;ciscoasa(config)# access-list acl_outside&lt;SPAN style="color: #99cc00;"&gt;&lt;STRONG&gt; line 2&lt;/STRONG&gt;&lt;/SPAN&gt; deny tcp 10.1.1.0 any eq 81&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike Rojas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2011 17:21:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/1663487#M556924</guid>
      <dc:creator>Maykol Rojas</dc:creator>
      <dc:date>2011-04-29T17:21:25Z</dc:date>
    </item>
    <item>
      <title>I know that it's a little bit</title>
      <link>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/1663488#M556926</link>
      <description>&lt;P&gt;I know that it's a little bit late, but maybe for other users:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;STRONG&gt;ip access-list resequence&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2015 19:11:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/1663488#M556926</guid>
      <dc:creator>rodanielb</dc:creator>
      <dc:date>2015-11-26T19:11:25Z</dc:date>
    </item>
    <item>
      <title>Works like a charm....</title>
      <link>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/1663489#M556929</link>
      <description>&lt;P&gt;Works like a charm....&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 03:34:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/1663489#M556929</guid>
      <dc:creator>wissamadra</dc:creator>
      <dc:date>2016-07-06T03:34:37Z</dc:date>
    </item>
    <item>
      <title>resequence doesn't work on an</title>
      <link>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/1663490#M556930</link>
      <description>&lt;P&gt;resequence doesn't work on an ASA. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 12:27:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/1663490#M556930</guid>
      <dc:creator>mark ahrens</dc:creator>
      <dc:date>2016-07-15T12:27:52Z</dc:date>
    </item>
    <item>
      <title>Use ASDM, you can move ACLs</title>
      <link>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/1663491#M556932</link>
      <description>&lt;P&gt;Use ASDM, you can move ACLs wherever you need &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;More easily than CLI ...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 05:47:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/1663491#M556932</guid>
      <dc:creator>Dina Odeh</dc:creator>
      <dc:date>2016-07-18T05:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Use ASDM, you can move ACLs</title>
      <link>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/3889514#M556934</link>
      <description>&lt;P&gt;I have seen ASDM corrupt the order of ACLs and the order of Remarks many times over the years. Most frequently, it will append two separate remarks (or more) to a neighboring ACL and leave a remark off of where it used to reside. The "line" parameter does not get commited to the final config that admins can SEE... but it effectively inserts whatever line you make it, at that exact line of the given-named ACL. Wish there was just an "advanced config" mode or something that showed ordered line numbers... but this works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 21:06:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/acl-inserting-new-line-between-existing-lines/m-p/3889514#M556934</guid>
      <dc:creator>Corey Koellein</dc:creator>
      <dc:date>2019-07-12T21:06:53Z</dc:date>
    </item>
  </channel>
</rss>

