You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
We are using Capirca to generate Cisco like ACLs and we came across a weird issue.
When adding multiple words comments in the policies the required quotes are not in the generated filters.
See example:
Policy file:
term allow-ping {
comment:: "allow ping from NET to NET_GW"
The output is:
remark allow-ping
remark allow ping from NET to NET_GW
Obviously the second remark is invalid since it should be rendered like: remark "allow ping from NET to NET_GW"
Are we missing something here or is it something that needs to be fixed?
Thank al lot.
The text was updated successfully, but these errors were encountered:
pims848
changed the title
Cisco remarks quote missing
Cisco remarks missing quotes
Feb 17, 2022
Cisco IOS does not seem to require remarks to be in quotes, and this is what the device usually returns. So the ACL is generated with remarks without the enclosing quotes.
Do you have a specific Cisco OS you are using where you see issues with the generated ACL? If you have, could you please share the documentation so we can evaluate how best to incorporate a change?
Sorry but I did not mention one important part: we are using this generator to render ACLs for Aruba AOS-S switches which have Cisco like syntax but obviously not 100%...
The comment syntax seems to be different: see p271 here: https://support.hpe.com/hpesc/public/docDisplay?docId=a00112861en_us
Do you think it would it be possible adding a new Aruba generator based on the current Cisco IOS? or make the Cisco also compatible with Aruba Switches?
Hi,
We are using Capirca to generate Cisco like ACLs and we came across a weird issue.
When adding multiple words comments in the policies the required quotes are not in the generated filters.
See example:
Policy file:
The output is:
Obviously the second remark is invalid since it should be rendered like:
remark "allow ping from NET to NET_GW"
Are we missing something here or is it something that needs to be fixed?
Thank al lot.
The text was updated successfully, but these errors were encountered: