Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

insert an acl line between 2 others in an existing acl without removing acl

Anyone know how to do this? I heard from Cisco and have actually done this once but don't remember the syntax.

I should be able to insert acl 15 between the lower 2.

Extended IP access list 198

10 permit ip any any

20 deny ip any any

TIA

1 REPLY
Silver

Re: insert an acl line between 2 others in an existing acl witho

Router(config)#ip access-list extended 198

Router(config-ext-nacl)#?

Ext Access List configuration commands:

<1-2147483647> Sequence Number

default Set a command to its defaults

deny Specify packets to reject

dynamic Specify a DYNAMIC list of PERMITs or DENYs

evaluate Evaluate an access list

exit Exit from access-list configuration mode

no Negate a command or set its defaults

permit Specify packets to forward

remark Access list entry comment

from there it's a simple matter of using the sequence number you want.

Router(config-ext-nacl)#15 permit/deny etc etc

HTH

Steve

109
Views
0
Helpful
1
Replies
CreatePlease to create content