cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1342
Views
5
Helpful
1
Replies

Cisco Standard ACL

RS19
Level 4
Level 4

I have the below Cisco standard ACL

ip access-list standard Test
permit 1,1,1,1
permit 2.2.2.2
permit 3.3.3.3
permit 4.4.4.4
permit 5.5.5.5
permit 6.6.6.6
deny any

I want to remove only the below ACL,.

permit 4.4.4.4
permit 5.5.5.5
permit 6.6.6.6

How to do it without removing other ACL lines & without impacting it.

1 Reply 1

hslai
Cisco Employee
Cisco Employee

Assuming this is for IOS, each ACE has a line number so we may remove them by their line numbers.

For example,

access(config-std-nacl)#do show ip access-list test
Standard IP access list test
    10 permit 1.1.1.1
    20 permit 2.2.2.2
    30 permit 3.3.3.3
    40 permit 4.4.4.4
    50 permit 5.5.5.5
    60 permit 6.6.6.6
    70 deny   any
access(config-std-nacl)#no 40
access(config-std-nacl)#no 50
access(config-std-nacl)#no 60
access(config-std-nacl)#do show ip access-list test
Standard IP access list test
    10 permit 1.1.1.1
    20 permit 2.2.2.2
    30 permit 3.3.3.3
    70 deny   any