diff --git a/geant/gap_ansible/roles/bc_templates/routers/nokia/system/security/snmp.j2 b/geant/gap_ansible/roles/bc_templates/routers/nokia/system/security/snmp.j2
index 2a0f27976639d2b5e270a287b8899c543fb61796..8d7dd84766910b37c2217b648eddafaccbd3749e 100644
--- a/geant/gap_ansible/roles/bc_templates/routers/nokia/system/security/snmp.j2
+++ b/geant/gap_ansible/roles/bc_templates/routers/nokia/system/security/snmp.j2
@@ -20,7 +20,9 @@
{% endif %}
<access-permissions>r</access-permissions>
<version>{{ community.version | default('v2c') }}</version>
+ {% if community.acl_name is defined %}
<source-access-list>{{ community.acl_name }}</source-access-list>
+ {% endif %}
</community>
{% endfor %}