How to create a second instance

I think is working fine so far with the config option pointed by @akcoder (in 3 different CPE), but I will try your approach because if it works I believe is better than messing with global parameters.

Thank you both of you.

PD. I can’t make it work with your suggestion or I’m maybe putting it in the wrong place. I’ve set that like this:

let values = {
X_HW_SERVICELIST: “VOIP”,
X_HW_VLAN: 52,
X_HW_PRI: 5
};

let basePath = “InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANIPConnection”;
const path = basePath + ‘.[’ + Object.keys(values).map(key => key + ‘:’ + values[key]).join(‘,’) + ‘]’;
declare(path, {path: 1, writable: 1}, {path: 1});