1526
Views
5
Helpful
1
Replies
Cisco Standard ACL
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2021 07:04 PM
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.
Labels:
- Labels:
-
Access Control Server (ACS)
-
ACI
-
Other NAC
1 Reply 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2021 09:44 PM
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
