cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1684
Views
0
Helpful
1
Replies

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

jerry.roy
Level 1
Level 1

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 1

steve.busby
Level 5
Level 5

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

Review Cisco Networking for a $25 gift card