Hi Guys,
I can see with the json file we can edit IP and Gateway. Can anyone advise me how I define the subnet mask and management VLAN ID. Additionally, we would like the Management VLAN to be on for ethernet and wireless. Thanks again guys.
{
"wireless":
{
"@pref_ap[0]":
{
"ssid": "TestSSID",
"security_method": "5",
"key": "VerySecretKey"
}
},
"network":
{
"mode":
{
"bridge_proto": "1",
"bridge_ipaddr": "192.168.1.33",
"bridge_gateway": "192.168.1.1"
}
},
"devagent":
{
"main":
{
"cns_agent_id": "CAMBIUM",
"cns_agent_pwd": "BOARDINGKEY"
}
}
}
Fedor
(Fedor)
October 2, 2017, 3:22pm
#2
@ukzerosniper wrote:
Hi Guys,
I can see with the json file we can edit IP and Gateway. Can anyone advise me how I define the subnet mask and management VLAN ID. Additionally, we would like the Management VLAN to be on for ethernet and wireless. Thanks again guys.
{
"wireless":
{
"@pref_ap[0]":
{
"ssid": "TestSSID",
"security_method": "5",
"key": "VerySecretKey"
}
},
"network":
{
"mode":
{
"bridge_proto": "1",
"bridge_ipaddr": "192.168.1.33",
"bridge_gateway": "192.168.1.1"
}
},
"devagent":
{
"main":
{
"cns_agent_id": "CAMBIUM",
"cns_agent_pwd": "BOARDINGKEY"
}
}
}
Hi,
Please find below example with netmask and Management VLAN enabled:
"network":
{
"mode":
{
"bridge_proto": "1",
"bridge_ipaddr": "172.22.122.249",
"bridge_gateway": "172.22.122.1",
"bridge_dns_primary": "8.8.8.8",
"lan_speed": "100",
"bridge_netmask": "255.255.0.0" "mgmt_vlan_enable": "1", "mgmt_vid": "7"
}
},
Thank you.
1 Like
Hey, That looks good. What does Lan speed 100 mean? Shouldn’t that be auto? Thanks again!
Fedor
(Fedor)
October 3, 2017, 9:36am
#4
Yes, you can just remove this parameter from template.
Thank you.
Thanks for that, just to ensure i dont mess anything up, So the correct template would look something like this?
{
"wireless":
{
"@pref_ap[0]":
{
"ssid": "TestSSID",
"security_method": "5",
"key": "VerySecretKey"
}
},
"network":
{
"mode":
{
"bridge_proto": "1",
"bridge_ipaddr": "172.22.122.249",
"bridge_gateway": "172.22.122.1",
"bridge_dns_primary": "8.8.8.8",
"bridge_netmask": "255.255.0.0"
"mgmt_vlan_enable": "1",
"mgmt_vid": "7"
}
},
"devagent":
{
"main":
{
"cns_agent_id": "CAMBIUM",
"cns_agent_pwd": "BOARDINGKEY"
}
}
}
Hi Guys, This has worked pretty well, but I need to enable management VLAN on wireless and Ethernet. How can I ammend the code to do this? Thanks.
{
"wireless":
{
"@pref_ap[0]":
{
"ssid": "TestSSID",
"security_method": "5",
"key": "VerySecretKey"
}
},
"network":
{
"mode":
{
"bridge_proto": "1",
"bridge_ipaddr": "172.22.122.249",
"bridge_gateway": "172.22.122.1",
"bridge_dns_primary": "8.8.8.8",
"bridge_netmask": "255.255.0.0"
"mgmt_vlan_enable": "1",
"mgmt_vid": "7"
}
},
"devagent":
{
"main":
{
"cns_agent_id": "CAMBIUM",
"cns_agent_pwd": "BOARDINGKEY"
}
}
}