From 6040a3ae845761951a36902233a1e2826c88753a Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 26 Mar 2025 19:12:15 +0100 Subject: [PATCH] access: round allowed MACs on a port down to 64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Haven’t seen anyone use more than ten. --- roles/access/templates/config-d-link.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/access/templates/config-d-link.j2 b/roles/access/templates/config-d-link.j2 index e0b356f..599a6e5 100644 --- a/roles/access/templates/config-d-link.j2 +++ b/roles/access/templates/config-d-link.j2 @@ -25,7 +25,7 @@ interface {{ iface.name }} {# common setup for user-facing interfaces #} {% if iface.type.value != 'lag' and not iface.mgmt_only %} switchport port-security - switchport port-security maximum 250 + switchport port-security maximum 64 switchport port-security violation shutdown switchport port-security aging time 5 switchport port-security aging type inactivity