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

Deploy ACLs on VRFs instead of Interfaces #1421

Open
hakasapl opened this issue Oct 24, 2024 · 0 comments
Open

Deploy ACLs on VRFs instead of Interfaces #1421

hakasapl opened this issue Oct 24, 2024 · 0 comments
Assignees

Comments

@hakasapl
Copy link

cc: @naved001

Recently we needed to add a virtual router to the MOC-CORE switches for this routed network.

For this ACLs needed to be deployed for only the routable portions of the network. For Dell OS9 switches the way to do this is to make an access control list and apply it to the VRF. The problem is that when applying I get this error:

MOC-CORE-1(conf-vrf)#ip access-group nerc_routes_acl in
% Error: VRF V4 Access-list not supported on this CAM profile.

The issue is that certain CAM blocks need to be allocated for use in VRFs, and that is done with this command:

cam-acl l2acl 0 ipv4acl 4 ipv6acl 0 ipv4qos 0 l2qos 0 l2pt 0 ipmacacl 1 vman-qos 0 vrfv4acl 4

Unfortunately, this cannot be applied without rebooting the switch. This means we need to wait for a downtime to do this safely. For now, we've gotten around this issue by applying the access control on the interface itself with these rules:

ip access-list extended nerc_routes_acl
 seq 40 permit tcp 10.85.0.0/22 host 10.30.9.6 eq 80
 seq 45 permit tcp 10.85.0.0/22 host 10.30.9.6 eq 443
 seq 50 permit tcp 10.85.0.0/22 host 10.30.9.5 eq 6443
 seq 98 permit icmp any any
 seq 99 deny ip any 10.30.9.0/24
 seq 100 permit ip any any

We needed a blanket allow rule for DHCP packets, which we restrict with the deny rule for NERC networks.

@hakasapl hakasapl self-assigned this Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant