diff --git a/src/device/service/drivers/openconfig/templates/interface/subinterface/edit_config.xml b/src/device/service/drivers/openconfig/templates/interface/subinterface/edit_config.xml
index 63a4f4f6cafb09a8723d9c311ec00a09f1e8c971..6eb1fbc86bb676b8e3c9d2e6b6a6bf17de2efb1f 100644
--- a/src/device/service/drivers/openconfig/templates/interface/subinterface/edit_config.xml
+++ b/src/device/service/drivers/openconfig/templates/interface/subinterface/edit_config.xml
@@ -14,7 +14,11 @@
         <config>
           <index>{{index}}</index>
           <description>{{description}}</description>
+        {% if vlan_id is not defined %}
+          <untagged-allowed xmlns="http://www.advaoptical.com/cim/adva-dnos-oc-interfaces">true</untagged-allowed>
+          {% endif%}
         </config>
+        {% if vlan_id is defined %}
         <vlan xmlns="http://openconfig.net/yang/vlan">
           <match>
             <single-tagged>
@@ -24,6 +28,7 @@
             </single-tagged>
           </match>
         </vlan>
+        {% endif%}
         {% if address_ip is defined %}
         <oc-ip:ipv4>
           <oc-ip:addresses>
diff --git a/src/device/service/drivers/openconfig/templates/network_instance/edit_config.xml b/src/device/service/drivers/openconfig/templates/network_instance/edit_config.xml
index 1944778c6fc4fcee96e79f3ce93ce044869226e5..17b07df7233e94f16923c5da49eef2b8b5ccda82 100644
--- a/src/device/service/drivers/openconfig/templates/network_instance/edit_config.xml
+++ b/src/device/service/drivers/openconfig/templates/network_instance/edit_config.xml
@@ -20,7 +20,7 @@
             {% endif %}
             {% if type=='L2VSI' %}
             {% if description is defined %}<description>{{description}}</description>{% endif %}
-            <enabled>false</enabled>
+            <enabled>true</enabled>
             <mtu>1500</mtu>
         </config>
         <encapsulation>