filter ip a variety of ip addresses using acl

Unanswered Question
Apr 15th, 2008

hi all

is it possible to filter say 7-8 different ip address by creating a group and apply that group acl. eg.

if i have,,, etc, rather than creat individual permit/deny acl can i not just group the above ip address and then apply the acl. so in future if these ip addresses change, i can just change it in one place.


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Istvan_Rabai Tue, 04/15/2008 - 12:09

Hi Suleiman,

In general it is possible to configure acls so the addresses are "grouped" or summarized.

In your case you can group the and together, so the acl would look like this:

access-list 1 permit host

access-list 1 permit host

access-list 1 permit

In the last row, of course, other possibilities also exist, but this one may be the simplest.

So there are only 3 lines.

If you need to group other addresses, please post them and I will help you create the shortest possible access-list.




This Discussion