<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi,<br>
<br>
... browsing your examples and Wiki pages and got it. Correct
syntax is:<br>
<br>
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.[]",null,{path:
0});<br>
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.[Name:Interface1]",
{path:1}, {path:1});<br>
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.[Name:Interface2]",
{path:1}, {path:1});<br>
<br>
what made on CPE:<br>
<br>
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.Name
Interface1<br>
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.2.Name
Interface2<br>
<br>
asterix wasn't needed :)<br>
<br>
thanks!<br>
<br>
br,<br>
<br>
-- <br>
Michal<br>
<br>
<br>
W dniu 2017-10-10 o 22:31, Dan Morphis pisze:<br>
</div>
<blockquote type="cite"
cite="mid:CAHwrMLe7N3MfDXoFzYXcnOkzE4VCW=6AyMBpepqxLxOY8uPPiA@mail.gmail.com">
<div dir="ltr">I'm honestly not sure. I just checked my code, and
this works fine for me:
<div><br>
</div>
<div><font face="monospace, monospace">declare("InternetGatewayDevice.WANDevice.*.WANConnectionDevice.1.WANPPPConnection.*.PortMapping.[]",
null, {path: 0}); //Delete all port forwards that don't
match the next declares</font></div>
<div><font face="monospace, monospace"><br>
</font></div>
<div><font face="monospace, monospace">declare('InternetGatewayDevice.WANDevice.*.WANConnectionDevice.1.WANPPPConnection.*.PortMapping.[InternalClient:192.168.1.100,PortMappingDescription:test,PortMappingProtocol:TCP,PortMappingEnabled:1,RemoteHost:,InternalPort:8088,X_BROADCOM_COM_InternalPortEnd:8088,ExternalPort:8088,ExternalPortEndRange:8088]', {path:1},
{path: 1});</font></div>
<div><br>
</div>
<div><br>
</div>
<div>Try doing this:</div>
<div><font face="monospace, monospace">declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.[]",
null, {path: 0});<br>
</font></div>
<div>
<div><font face="monospace, monospace">declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.*.[Name:Interface1]",
{path:1}, {path: 1});</font></div>
<div><font face="monospace, monospace">declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.*.[Name:Interface2]",
{path:1}, {path: 1});</font></div>
</div>
<div><br>
</div>
<div>That will force everything to be consistent. </div>
<div><br>
</div>
<div>-dan</div>
<div><br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Oct 10, 2017 at 11:44 AM,
Margerita <span dir="ltr"><<a
href="mailto:polanski.michal.mail@gmail.com"
target="_blank" moz-do-not-send="true">polanski.michal.mail@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<div class="gmail-m_7379642726217630146moz-cite-prefix">Dan,<br>
<br>
it doesn't. 57 seconds of delay is becouse of how I do
capture. TR69 starts in 54s and ends in 58s.<br>
There is everything OK with CPE.<br>
<br>
This is working:<br>
declare ("<a
href="http://InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.Name"
target="_blank" moz-do-not-send="true">InternetGatewayDevice.WANDev<wbr>ice.1.WANConnectionDevice.1.WA<wbr>NIPConnection.1.Name</a>",
null, {value: "Interface1"});<br>
declare ("<a
href="http://InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.2.Name"
target="_blank" moz-do-not-send="true">InternetGatewayDevice.WANDev<wbr>ice.1.WANConnectionDevice.1.WA<wbr>NIPConnection.2.Name</a>",
null, {value: "Interface2"});<br>
<br>
And this is not (9005 response):<br>
declare
("InternetGatewayDevice.<wbr>WANDevice.1.<wbr>WANConnectionDevice.1.<wbr>WANIPConnection.*.[Name:<wbr>Interface1]",
{path:1}, {path: 1});<br>
declare
("InternetGatewayDevice.<wbr>WANDevice.1.<wbr>WANConnectionDevice.1.<wbr>WANIPConnection.*.[Name:<wbr>Interface2]",
{path:1}, {path: 1});<br>
<br>
I showed you CPE log where you can see:<br>
<br>
tr69c:57.270:fObjectName:660:
<div
class="gmail-m_7379642726217630146m_-3931253819538677343moz-cite-prefix"><span
class="gmail-">name=ObjectName, ttype=3,
value=InternetGatewayDevice.WA<wbr>NDevice.1.WANConnectionDevice.<wbr>1.WANIPConnection.1.<br>
tr69c:57.270:xmlData:445:xmlDA<wbr>TA
tag=ObjectName data=InternetGatewayDevice.WAN<wbr>Device.1.WANConnectionDevice.<wbr>1.WANIPConnection.1.
found at level 4<br>
<br>
</span> as on wireshark log where <br>
InternetGatewayDevice.<wbr>WANDevice.1.<wbr>WANConnectionDevice.1.<wbr>WANIPConnection.1.<br>
was also visible, instead of
<a
href="http://InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.Name"
target="_blank" moz-do-not-send="true">InternetGatewayDevice.<wbr>WANDevice.1.<wbr>WANConnectionDevice.1.<wbr>WANIPConnection.1.Name</a><br>
so why do you think, that it could be CPE problem? I
don't get it..<br>
</div>
<br>
br,<span class="gmail-HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Michal<br>
</font></span></div>
</div>
</blockquote>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a>
<a class="moz-txt-link-freetext" href="http://lists.genieacs.com/mailman/listinfo/users">http://lists.genieacs.com/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>