iosxe: access-list parser not working correctly with 'log' in ACL entry
See original GitHub issueOn genie 20.1 - on iosxe, when I have an ACL that looks like this (with ‘log’ in the statement), the parser is not working as I would expect.
ip access-list standard 1 deny 1.1.1.2 log permit any
Name 10 is showing as the permit any, and there is no mention of the deny entry.
{ "context_manager": {}, "attributes": null, "commands": null, "connections": null, "info": { "acls": { "meraki-fqdn-dns": { "name": "meraki-fqdn-dns", "type": "ipv4-acl-type" }, "1": { "name": "1", "type": "ipv4-acl-type", "aces": { "10": { "name": "10", "actions": { "forwarding": "permit" }, "matches": { "l3": { "ipv4": { "protocol": "ipv4", "source_ipv4_network": { "any": { "source_ipv4_network": "any" } } } } } } } } } } }
When I remove the ‘log’ word from the ACL, the parser then runs correctly
{ "context_manager": {}, "attributes": null, "commands": null, "connections": null, "info": { "acls": { "meraki-fqdn-dns": { "name": "meraki-fqdn-dns", "type": "ipv4-acl-type" }, "1": { "name": "1", "type": "ipv4-acl-type", "aces": { "20": { "name": "20", "actions": { "forwarding": "permit" }, "matches": { "l3": { "ipv4": { "protocol": "ipv4", "source_ipv4_network": { "any": { "source_ipv4_network": "any" } } } } } }, "10": { "name": "10", "actions": { "forwarding": "deny" }, "matches": { "l3": { "ipv4": { "protocol": "ipv4", "source_ipv4_network": { "1.1.1.2 0.0.0.0": { "source_ipv4_network": "1.1.1.2 0.0.0.0" } } } } } } } } } } }
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top GitHub Comments
@xiaoxinz-cisco this looks to be fixed now, thank you 😃
Hello @oianson ,
Yes, it is. We’ll fix it and get back to you.
Thanks, Irene