I can't type ACL for VLAN

Dear Friends and Engineers.

I am using Mellanox and Cumulus linux. I’m writing an ACL but I can’t add it into the VLAN and I get the following error. Im using 4.2 cumulus version.What’s the problem?

I need to write for VLAN. How can I fix this problem?

Thank you for your help.


cumulus@YPAYCore-1:mgmt:~$ net add interface vlan1050 acl ipv4 SNMPAccess inbound
ERROR: “net (add|del) vlan …” must be used to edit a vlan interface.


can you try:

net add vlan1050 acl ipv4 SNMPAccess inbound

1 Like

Thank you very much My friend. This command is worked.