Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cisco mixed access-list naming #37

Open
GoogleCodeExporter opened this issue Jun 30, 2015 · 2 comments
Open

cisco mixed access-list naming #37

GoogleCodeExporter opened this issue Jun 30, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Create policy with cisco mixed

header {
    comment:: "capirca test"
    target:: cisco capirca-test mixed
}

2. Run ./aclgen.py
3. Review filter output

What is the expected output? What do you see instead?

Expected:

no ip access-list extended capirca-test
ip access-list extended capirca-test
<SNIP>
no ipv6 access-list capirca-test-v6
ipv6 access-list capirca-test-v6
<SNIP>

Generated:

no ip access-list extended capirca-test
ip access-list extended capirca-test
<SNIP>
no ipv6 access-list capirca-test
ipv6 access-list capirca-test
<SNIP>

What version of the product are you using? On what operating system?

capirca-r245 on Xubuntu 14.04

Please provide any additional information below.

IOS 12.2(55)SE6 error:

Access-list type conflicts with prior definition
% A named extended IP access list with this name already exists

Changing the string on 711 and 712 of lib/cisco.py to %s-v6, making sure the 
name it generates for the IPv6 access-list differs from the extended 
access-list name.

Original issue reported on code.google.com by [email protected] on 2 Apr 2015 at 9:15

@GoogleCodeExporter
Copy link
Author

Scrap the change to 711 and 712, introduces -v6 to the end of the access-list 
name even if you only want inet6.

Original comment by [email protected] on 2 Apr 2015 at 10:49

@GoogleCodeExporter
Copy link
Author

Patch attached.

Original comment by [email protected] on 2 Apr 2015 at 11:34

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant