access: set up SNMP user for D-Link switches

This commit is contained in:
Timotej Lazar 2024-10-02 14:27:45 +02:00
parent e51d08c073
commit 57197d7695
8 changed files with 56 additions and 1 deletions

View file

@ -69,7 +69,12 @@ voice vlan {{ voice_vlan }}
no voice vlan
{% endif %}
snmp-server
snmp-server name {{ inventory_hostname }}
snmp-server location {{ rack }}
{# SNMP engine ID must be exactly 24 hex digits #}
snmp-server engineID local {{ snmp_engine_id }}
snmp-server group public v3 priv read CommunityView
sntp enable
{% for address in ntp %}