Pawel,
Yes, to best protect your device from outside access, the use of an ACL would be recommended. There are a few different types of ACLs; MAC, L3 (IPv4/6), rACL, SNMP, ARP, etc.
I would recommend reviewing the
NOS Security Config guide for full details.
In general, once creating your ACL you will need to then apply it to the interface you want to protect; physical interface, VE, or Port-Channel, and in which direction the ACL should filter, in (ingress) or out (egress). The exceptions are with rACL, SNMP which apply globally.
You can have a mix of L2 (MAC) and L3 ALCs on an interface, but not multiples in each direction:
– One ingress MAC ACL—if the interface is in switchport mode
– One egress MAC ACL—if the interface is in switchport mode
– One ingress IPv4 ACL
– One egress IPv4 ACL
– One ingress IPv6 ACL
– One egress IPv6 ACL
Lastly, please keep in mind that for L2 ACLs there is an implicit "permit" at the end of every ACL, meaning if the traffic does not match any of the rules, it is allowed or "matched" by this implicit rule. With that said, for L3 ACLs there is an implicit "deny" statement at the end of every ACL, so if the traffic does not match any permit rule it will be dropped by default.
I hope this helps
Mike Morey
Michael Morey
Principal Technical Support Engineer
Extreme Networks