Can we put multiple source address in the Access list polciy
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎07-08-2015 09:42 AM
can we make access policy with multiple source address
since i am trying to do this but it is giving error in policy check
since i am trying to do this but it is giving error in policy check
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎07-08-2015 10:24 AM
Hi Faruk,
I believe you are getting following errors while applying the policy to the port:
Error: Policy test123 has syntax errors
Line 4 : Attribute source-address already exists as a match statement in Acl entry test123.
Having similar match conditions on a rule is not accepted. Instead of having 2 source-address in 1 rule, you could have them on 2 different rules in a single policy file like below:
entry test {
if {
source-address 1.1.1.1/32;
} then {
permit;
}
}
entry test1 {
if {
source-address 2.2.2.2/32;
} then {
permit;
}
}
If you have further questions, please let me know.
I believe you are getting following errors while applying the policy to the port:
Error: Policy test123 has syntax errors
Line 4 : Attribute source-address already exists as a match statement in Acl entry test123.
Having similar match conditions on a rule is not accepted. Instead of having 2 source-address in 1 rule, you could have them on 2 different rules in a single policy file like below:
entry test {
if {
source-address 1.1.1.1/32;
} then {
permit;
}
}
entry test1 {
if {
source-address 2.2.2.2/32;
} then {
permit;
}
}
If you have further questions, please let me know.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎07-08-2015 10:16 AM
Faruk, Yes you can create a 2nd entry in same policy file.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎07-08-2015 10:05 AM
Thanks Oscark, can we create 2nd entry in same policy
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎07-08-2015 09:59 AM
Each entry can only have 1 source-address, but you could use the mask to include more addresses if these are within a range. You could also create a 2nd entry for the next source-address.
