- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2018 03:24 PM - edited 03-08-2019 02:06 PM
This is such a simple question but I can't find the simple answer!
Does an ACL need to be assigned to an interface (or VTY) in order for it to take affect?
For example, If i have the following in my global config:
access-list 2001 permit udp any eq bootps host 192.168.1.100
access-list 2001 permit tcp any host 192.168.1.100
access-list 2001 permit whatever whatever
and the above acl 2001 is not assigned to an interface anywhere, does ACL 2001 have any affect at all?
Solved! Go to Solution.
- Labels:
-
Other Switching
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2018 03:34 PM
Hi,
You have just prepared an access list, it will be ineffective until you apply it to an interface something like this
interface gi0/0/1
ip access-group 2001 out
Here is good link that explains access lists better than I can.
https://www.cisco.com/c/en/us/td/docs/ios/12_2/security/configuration/guide/fsecur_c/scfacls.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2018 03:34 PM
Hi,
You have just prepared an access list, it will be ineffective until you apply it to an interface something like this
interface gi0/0/1
ip access-group 2001 out
Here is good link that explains access lists better than I can.
https://www.cisco.com/c/en/us/td/docs/ios/12_2/security/configuration/guide/fsecur_c/scfacls.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2018 03:38 PM
Excellent, thanks for the answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2018 03:35 PM
If you cannot find any reference to the acl in your configuration it is safe to say it is not being used.
Worth noting acls can be used for things other than controlling traffic but still it would be referenced somewhere in the configuration.
Jon
