<div dir="ltr">Try this updated script:<div><pre style="color:rgb(0,0,0);font-family:"DejaVu Sans Mono";font-size:9.1pt"><span style="color:rgb(128,128,128);font-style:italic">// Refresh<br></span>declare(<span style="color:rgb(0,128,0);font-weight:bold">"InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*.*"</span>, {<span style="color:rgb(102,14,122);font-weight:bold">path</span>: <span style="color:rgb(102,14,122);font-weight:bold;font-style:italic">Date</span>.<span style="color:rgb(122,122,67)">now</span>()});<br>declare(<span style="color:rgb(0,128,0);font-weight:bold">"InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.*.*"</span>, {<span style="color:rgb(102,14,122);font-weight:bold">path</span>: <span style="color:rgb(102,14,122);font-weight:bold;font-style:italic">Date</span>.<span style="color:rgb(122,122,67)">now</span>()});<br>declare(<span style="color:rgb(0,128,0);font-weight:bold">"InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANDSLLinkConfig.*.*"</span>, {<span style="color:rgb(102,14,122);font-weight:bold">path</span>: <span style="color:rgb(102,14,122);font-weight:bold;font-style:italic">Date</span>.<span style="color:rgb(122,122,67)">now</span>()});<br><br>declare(<span style="color:rgb(0,128,0);font-weight:bold">"InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANPPPConnection"</span>, <span style="color:rgb(0,0,128);font-weight:bold">null</span>, {<span style="color:rgb(102,14,122);font-weight:bold">path</span>: <span style="color:rgb(0,0,255)">1</span>});<br>declare(<span style="color:rgb(0,128,0);font-weight:bold">"InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANIPConnection"</span>, <span style="color:rgb(0,0,128);font-weight:bold">null</span>, {<span style="color:rgb(102,14,122);font-weight:bold">path</span>: <span style="color:rgb(0,0,255)">7</span>});<br>declare(<span style="color:rgb(0,128,0);font-weight:bold">"InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANDSLLinkConfig"</span>, <span style="color:rgb(0,0,128);font-weight:bold">null</span>, {<span style="color:rgb(102,14,122);font-weight:bold">path</span>: <span style="color:rgb(0,0,255)">7</span>});<br>declare(<span style="color:rgb(0,128,0);font-weight:bold">"InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANPPPConnection.[ConnectionType:IP_Routed,Name:Internet,Username:pppoeuser,Password:pppoepass]"</span>, {<span style="color:rgb(102,14,122);font-weight:bold">path</span>: <span style="color:rgb(0,0,255)">1</span>}, {<span style="color:rgb(102,14,122);font-weight:bold">path</span>: <span style="color:rgb(0,0,255)">1</span>});<br><br><span style="color:rgb(0,0,128);font-weight:bold">for </span>(<span style="color:rgb(0,0,128);font-weight:bold">let </span><span style="color:rgb(102,14,122);font-weight:bold;font-style:italic">i </span>= <span style="color:rgb(0,0,255)">36</span>; <span style="color:rgb(102,14,122);font-weight:bold;font-style:italic">i </span><= <span style="color:rgb(0,0,255)">42</span>; ++<span style="color:rgb(102,14,122);font-weight:bold;font-style:italic">i</span>) {<br>    declare(<span style="color:rgb(0,128,0);font-weight:bold">"InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANIPConnection.[ConnectionType:IP_Bridged,Name:Video_" </span>+ <span style="color:rgb(102,14,122);font-weight:bold;font-style:italic">i </span>+ <span style="color:rgb(0,128,0);font-weight:bold">",Enable:true]"</span>, {<span style="color:rgb(102,14,122);font-weight:bold">path</span>: <span style="color:rgb(0,0,255)">1</span>}, {<span style="color:rgb(102,14,122);font-weight:bold">path</span>: <span style="color:rgb(0,0,255)">1</span>});<br>    declare(<span style="color:rgb(0,128,0);font-weight:bold">"InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANDSLLinkConfig.[DestinationAddress:PVC: 0/" </span>+ <span style="color:rgb(102,14,122);font-weight:bold;font-style:italic">i </span>+ <span style="color:rgb(0,128,0);font-weight:bold">",Enable:true]"</span>, {<span style="color:rgb(102,14,122);font-weight:bold">path</span>: <span style="color:rgb(0,0,255)">1</span>}, {<span style="color:rgb(102,14,122);font-weight:bold">path</span>: <span style="color:rgb(0,0,255)">1</span>});<br>}</pre><pre style="color:rgb(0,0,0);font-family:"DejaVu Sans Mono";font-size:9.1pt"><br></pre><pre style="color:rgb(0,0,0);font-family:"DejaVu Sans Mono";font-size:9.1pt">-dan</pre></div></div>