Hi again,
i'm having some trouble configuring the policy file.... The goal is to permit several IP subnets on an ingress port while deny the rest. This is the way i'm trying to do it:
#1 configure policy file
vi PERMIT-Customersubnets.pol
entry PERMIT-Customersubnets {
if match any {
source-address a.b.c.d/16;
source-address e.f.g.h/24;
source-address i.j.k.l/24;
.
.
.
}
then {
count test;
permit;
}
else{
deny}
}
#2 check policy
check policy PERMIT-ORANGE-CUSTOMER-ONLY
Policy file check successful.
#3 configure access-list
configure access-list PERMIT-ORANGE-CUSTOMER-ONLY ports 2 ingress
i have the following error:
Error: Policy PERMIT-Customersubnets has syntax errors
Line 4 : Attribute source-address already exists as a match statement in Acl entry PERMIT-Customersubnets.
so ven ethe policy file seems ok, i still have errors when applying the ACL
so my 2 questions are: is it possible to configure the match-any even the policy file is being called by an access-list (i have some doubts about the 'match any' statement on the documentation)?. an the other one is about the source-address repeated objects syntax.
Thx a lotBR