Hi guys how are you?
I have a CPE with default iPoe WAN created under this instance:
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.{}
Then I push by OMCI the WAN for connecting to ACS which goes to:
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANIPConnection.1.{}
If I want to delete the first WAN:
If I use:
declare(“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.”, null, {path: 1}); it will delete Instance “2”, and get disconnected from ACS
If I use:
declare(“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.”, null, {path: 0});
It will delete it ok, but the instance (empty) still remains:
If I use:
declare(“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.”, null, {path: 0});
It will return faultCode: “9003”
How can I delete the entire Instance “InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1”?
Howeve sometimes, the instance number is not always the same. In that case I would delete by its name. Is the sentence below ok?
declare(“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.[Name:7_INTERNET_R_VID_100]”, null, {path: 0});
Reading more other posts, I can understand the that you can preconfigure all parameters in one line for either WANPPP or WANIP Connections without knowing the instance number.
My question is at the WANConnectionDevice level…the CPE I have supports 8 WANConnectionDevice.{} and one WANIPConnetion and one WANPPPConnection below each WANConnectionDevice.{}.
When you start playing with the ONU without factory reset, if you delete the only IP Connection with this one: declare(“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.”, null, {path: 0});
The WANConnectionDevice.1 is still there (empty) so if I create a new one (manually by ONU’s web page, e.g.), the new creation is WANConnectionDevice.3. and so on…
So my concerns is how to create either a WANIPConnection.1 or WANPPPConnection.1 (always will be {1}) without knowing the upper level instance (WANConnectionDevice.{})…
Maybe it is too confusing, just let me know if you understood the idea…
Thanks in advance.
Regards,
Hernan.!