diff --git a/geant/gap_ansible/roles/bc_templates/routers/nokia/cflowd.j2 b/geant/gap_ansible/roles/bc_templates/routers/nokia/cflowd.j2
index ef8dcc9feaa4c0f5bb8e225f3e5e546dc432b375..385603db19df86324e623640ac7a8cf727f04e76 100644
--- a/geant/gap_ansible/roles/bc_templates/routers/nokia/cflowd.j2
+++ b/geant/gap_ansible/roles/bc_templates/routers/nokia/cflowd.j2
@@ -10,7 +10,9 @@
     <sample-profile>
         <profile-id>{{ profile.id }}</profile-id>
         <sample-rate>{{ profile.sample_rate }}</sample-rate>
+        {% if profile.metering_process is defined %}
         <metering-process>{{ profile.metering_process }}</metering-process>
+        {% endif %}
     </sample-profile>
       {% endfor %}
     {% endif %}