JSON code to update static IP in bridge mode

Does anyone have a working json to update IP addresses & gateway?
Please share with me.

Epmp ? Cnpilot ? More details.

the JSON code will be for ePMP please.

@Fobasanjo, try the below. It uses overrides with a default value for the gateway and no default value for the static IP address.

{
	"device_props": {
		"networkBridgeGatewayIP":	"${GATEWAY=192.168.1.254}",
		"networkBridgeIPAddr":	"${STATIC_IP}"
	}
}

With no overrides:

{
	"device_props": {
		"networkBridgeGatewayIP":	"192.168.1.254",
		"networkBridgeIPAddr":	"192.168.1.15"
	}
}

1 Like