Adding or updating SSID and Key

{
	"template_props": {
		"templateName":	"",
		"templateDescription":	"",
		"device_type":	""
	},
	"device_props": {
		"acsEnable":	"1",
		"acsScanMinDwellTime":	"",
		"acsScanMaxDwellTime":	"",
		"acsControl":	"0",
		"bcPriority":	"0",
		"cambiumInternetConnectionServerIP":	"",
		"cambiumIPAliasesEnable":	"0",
		"cambiumLicenseServerEnable":	"",
		"cambiumLicenseServerCloudLicensingID":	"",
		"centerFrequency":	"",
		"dataVLANEnable":	"0",
		"dataVLANVID":	"",
		"dataVLANVP":	"",
		"mcastVLANEnable":	"0",
		"mcastVLANVID":	"",
		"mcastVLANVP":	"",
		"dfsAlternative1Bandwidth":	"1",
		"dfsAlternative1CenterFrequency":	"",
		"dfsAlternative2Bandwidth":	"1",
		"dfsAlternative2CenterFrequency":	"",
		"networkRelaydEnable":	"0",
		"dhcpLanEnable":	"1",
		"dhcpLanLimit":	"100",
		"dhcpLanStart":	"2",
		"dhcpLanLeasetime":	"24",
		"dhcpOption82":	"0",
		"cambiumSSHServerEnable":	"1",
		"cambiumTelnetServerEnable":	"0",
		"dmzEnable":	"0",
		"dmzIPAddress":	"",
		"httpPort":	"80",
		"httpsPort":	"443",
		"l2FirewallEnable":	"0",
		"l2WanRemoteAccess":	"0",
		"l2LanRemoteAccess":	"0",
		"l2SnmpLanRemoteAccess":	"1",
		"l2DHCPServersBelowSTA":	"0",
		"l3FirewallEnable":	"0",
		"mcPriority":	"0",
		"wirelessMgmtPacketRate":	"",
		"wirelessRangingRate":	"128",
		"mgmtVLANEnable":	"0",
		"mgmtVLANVID":	"",
		"mgmtVLANVP":	"",
		"networkBridgeDNSIPAddrPrimary":	"",
		"networkBridgeDNSIPAddrSecondary":	"",
		"networkBridgeGatewayIP":	"",
		"networkBridgeIPAddr":	"192.168.0.2",
		"networkBridgeIPv6Addr":	"",
		"networkBridgeIPAddressMode":	"2",
		"networkBridgeIPv6AddressMode":	"2",
		"networkBridgeGatewayIPv6":	"",
		"networkBridgeMTU":	"1500",
		"networkBridgeNetmask":	"255.255.255.0",
		"networkLanAutoNegotiation":	"1",
		"networkLanSpeed":	"1000",
		"networkLanDuplex":	"1",
		"networkLanEnabled":	"1",
		"networkLan2Enabled":	"1",
		"networkLan2AutoNegotiation":	"1",
		"networkLan2Speed":	"100",
		"networkLan2Duplex":	"1",
		"networkLan2PoEEnabled":	"0",
		"networkLanDNSIPAddrPrimary":	"76.85.228.100",
		"networkLanDNSIPAddrSecondary":	"76.85.228.101",
		"networkLanGatewayIP":	"",
		"networkLanIPAddr":	"169.254.1.1",
		"networkLanIPv6Addr":	"",
		"networkLanIPAddressMode":	"1",
		"networkLanIPv6AddressMode":	"1",
		"networkLanGatewayIPv6":	"",
		"networkLanMTU":	"1500",
		"networkLanNetmask":	"255.255.255.0",
		"networkBroadcastStormEnabled":	"0",
		"networkBroadcastStormRate":	"1000",
		"networkLanDefaultIP":	"169.254.1.1",
		"mgmtIFEnable":	"1",
		"mgmtIFVLAN":	"0",
		"mgmtIFVID":	"",
		"mgmtIFVP":	"",
		"mgmtIFIPAddressMode":	"2",
		"mgmtIFIPv6AddressMode":	"2",
		"mgmtIFIPAddr":	"",
		"mgmtIFIPv6Addr":	"",
		"mgmtIFNetmask":	"255.255.255.0",
		"mgmtIFGateway":	"",
		"mgmtIFIPv6Gateway":	"",
		"networkMode":	"1",
		"networkSTP":	"0",
		"networkPortSecurity":	"0",
		"networkPortSecurityMax":	"5",
		"networkPortSecurityAgingTime":	"300",
		"networkWanDNSIPAddrPrimary":	"",
		"networkWanDNSIPAddrSecondary":	"",
		"networkWanGatewayIP":	"",
		"networkWanGatewayIPv6":	"",
		"networkWanIPAddr":	"192.168.0.2",
		"networkWanIPv6Addr":	"",
		"networkWanIPAddressMode":	"2",
		"networkWanIPv6AddressMode":	"2",
		"networkWanMTU":	"",
		"networkWanNetmask":	"255.255.255.0",
		"networkWanPPPoE":	"1",
		"networkWanPPPoEUsername":	"${PPPOEuser}",
		"networkWanPPPoEPassword":	"${PPPOE}",
		"networkWanPPPoEAC":	"",
		"networkWanPPPoEService":	"ppp-visp",
		"networkWanPPPoEAuth":	"0",
		"networkWanPPPoEMTU":	"1492",
		"networkWanPPPoEKeepAlive":	"10",
		"networkWanPPPoEMSSClamping":	"0",
		"networkPPPoEIAEnable":	"",
		"networkUPNP":	"1",
		"networkNATPMP":	"1",
		"networkLLDP":	"1",
		"networkLLDPMode":	"1",
		"networkMACTELNET":	"1",
		"networkMACTELNETProto":	"1",
		"mcastGroupLimit":	"3",
		"portForwardingEntryEnable":	"0",
		"portForwardingSepMangIPEntryEnable":	"0",
		"qosEnable":	"0",
		"snmpDomainAccessEnable":	"0",
		"snmpDomainAccessIP":	"",
		"snmpDomainAccessIPMask":	"",
		"snmpReadOnlyCommunity":	"public",
		"snmpReadWriteCommunity":	"private",
		"snmpSystemName":	"CambiumNetworks",
		"snmpSystemDescription":	"",
		"sysLocation":	"",
		"snmpTrapCommunity":	"cambiumtrap",
		"snmpTrapEnable":	"0",
		"systemConfigDeviceName":	"${DEVNAME}",
		"systemConfigOperationalLicense":	"",
		"systemConfigTimezone":	"EST5",
		"systemDeviceLocLatitude":	"",
		"systemDeviceLocLongitude":	"",
		"systemDeviceLocHeight":	"",
		"powerSequenceFactoryDefault":	"1",
		"dlkmNATSIPHelpers":	"1",
		"syslogServerIPFirst":	"",
		"syslogServerIPSecond":	"",
		"syslogServerIPThird":	"",
		"syslogServerIPFourth":	"",
		"syslogServerLogMask":	"15",
		"syslogServerLogToWeb":	"0",
		"systemNtpServerIPMode":	"2",
		"systemNtpServerPrimaryIP":	"",
		"systemNtpServerSecondaryIP":	"",
		"systemConfigFactoryResetKeepPwd":	"0",
		"voipEnable":	"0",
		"webService":	"1",
		"wirelessAcceptableAPRSSIThreshold":	"-90",
		"wirelessAcceptableAPSNRThreshold":	"0",
		"wirelessSmartAntennaEnabled":	"0",
		"wirelessCellSizeUnit":	"1",
		"wirelessDeviceCountryCode":	"FA",
		"wirelessDefaultCountryCode":	"OT",
		"wirelessInterfaceEncryption":	"2",
		"wirelessInterfaceEncryptionKey":	"Cam39-Tai!wdmv",
		"wirelessInterfaceiFreqReuseMode":	"",
		"wirelessInterfaceGuardInterval":	"",
		"wirelessInterfaceHTMode":	"1",
		"wirelessInterfaceMode":	"2",
		"wirelessInterfaceProtocolMode":	"1",
		"wirelessInterfacePTPMode":	"1",
		"wirelessInterfacePTPMACAddress":	"",
		"wirelessInterfaceScanFrequencyBandwidth":	"4",
		"wirelessInterfaceScanFrequencyListTwenty":	"",
		"wirelessInterfaceScanFrequencyListForty":	"",
		"wirelessInterfaceScanFrequencyListTen":	"",
		"wirelessInterfaceScanFrequencyListFive":	"",
		"wirelessInterfaceSSID":	"",
		"wirelessInterfaceSyncSource":	"",
		"wirelessInterfaceSyncHoldTime":	"30",
		"wirelessInterfaceTXPower":	"7",
		"wirelessInterfaceTDDAntennaGain":	"16",
		"wirelessInterfaceTDDRatio":	"",
		"wirelessInterfaceTPCTRL":	"",
		"wirelessInterfaceTPCMode":	"",
		"wirelessInterfaceForceMcastBcast4Addr":	"1",
		"wirelessInterfaceRateMinMCS":	"0",
		"wirelessInterfaceRateMaxMCS":	"15",
		"wirelessMaximumCellSize":	"3",
		"wirelessMaximumSTA":	"120",
		"wirelessMIREnable":	"",
		"wirelessFreqShift":	"",
		"wirelessMIRSTAProfileNumber":	"4",
		"wirelessRadiusTimeout":	"",
		"wirelessRadiusRetry":	"",
		"wirelessRadiusGUIUserAuth":	"",
		"wirelessRadiusCurrentGUIUserAuth":	"0",
		"wirelessRadiusSeverInfo":	"",
		"wirelessRadiusIdentityStr":	"anonymous",
		"wirelessRadiusIdentityRealm":	"cambiumnetworks.com",
		"wirelessRadiusUsername":	"cambium-station",
		"wirelessRadiusPassword":	"cambium",
		"useMACAddressAsWirelessRadiusUsername":	"0",
		"wirelessRadiusUseDefaultCertificate":	"1",
		"wirelessRadiusUsePMP450Certificate":	"1",
		"wirelessRadiusUser1Certificate":	"",
		"wirelessRadiusUser2Certificate":	"",
		"wirelessSTAPriority":	"0",
		"wirelessSecurityMethod":	"1",
		"wirelessSMWifiDistance":	"1",
		"wirelessSmoothingBit":	"",
		"wirelessStaIsolate":	"",
		"wirelessMulticastEnhanceMode":	"",
		"wirelessMulticastIgmpFastLeave":	"",
		"wirelessAPWifiWLANmode":	"",
		"wirelessClientBridgeMode":	"0",
		"wirelessRateMaxMCS":	"15",
		"wirelessMulticastRule":	"",
		"wirelessMulticastCode":	"",
		"wirelessInterfaceTDDFrameSize":	"5000",
		"wirelessInterfaceColocState":	"0",
		"wirelessInterfaceColocSystemSyncSrc":	"2",
		"wirelessAPForcedSector":	"0",
		"wirelessSTAForcedSector":	"0",
		"systemConfigSWLockBit":	"0",
		"systemConfigHWLockBit":	"0",
		"systemConfigSMLockBit":	"0",
		"systemConfigSMLimit":	"120",
		"systemConfigLockedCC":	"",
		"systemConfigMinAntGain":	"16",
		"systemConfigIPv6Support":	"0",
		"wirelessTXPowerManualLimit":	"0",
		"staticRoutesEnableMain":	"0",
		"cambiumDeviceAgentEnable":	"1",
		"cambiumDeviceAgentCNSURL":	"https:\/\/cloud.cambiumnetworks.com",
		"cambiumDeviceAgentCNSIDToken":	"",
		"cambiumCNSDeviceAgentID":	"${CAMBIUMID}",
		"cambiumCNSDeviceAgentPassword":	"${CNKEY}",
		"apWiFiDLCTSMode":	"1",
		"apWiFiULCTSRTSMode":	"1",
		"apWiFiRTSThreshold":	"2346",
		"apWiFiCompWDSTrBridge":	"1",
		"wirelessMACFilter":	"0",
		"wirelessMACFilterPolicy":	"1",
		"wirelessMACFilterTable": [
		],
		"classificationListTable": [
		],
		"dhcpLanHostTable": [
		],
		"l2FirewallTable": [
		],
		"l3FirewallTable": [
		],
		"membershipVLANTable": [
		],
		"mappingVLANTable": [
		],
		"portForwardingTable": [
		],
		"portForwardingSepMangIPTable": [
		],
        "prefferedAPTable": [
            {
                "prefferedListTableEntrySSID": "${SSID}",
                "prefferedListTableEntryKEY": "${SSIDKEY}",
                "prefferedListTableSecurityMethod": "5"
            }
        ],
		"snmpTrapTable": [
		],
		"wirelessMIRProfileTable": [
		  {
			"wirelessMIRProfileNumber":	"0",
			"wirelessMIRProfileDescription":	"default",
			"wirelessDLMIR":	"100000",
			"wirelessULMIR":	"100000"
		  }
		],
		"wirelessRadiusServerTable": [
		],
		"cambiumIPAliasCnfTable": [
		],
		"cambiumStaticRoutesCnfTable": [
		],
		"networkPPPoEIATable": [
		],
		"cambiumSysAccountsTable": [
		  {
			"cambiumSysAccountsName":	"admin",
			"cambiumSysAccountsHash":	"?????????????.",
			"cambiumSysAccountsUID":	"1000",
			"cambiumSysAccountsGID":	"4",
			"cambiumSysAccountsDir":	"\/tmp",
			"cambiumSysAccountsShell":	"\/usr\/bin\/clish"
		  },
		  {
			"cambiumSysAccountsName":	"installer",
			"cambiumSysAccountsHash":	"?????????????/",
			"cambiumSysAccountsUID":	"2000",
			"cambiumSysAccountsGID":	"100",
			"cambiumSysAccountsDir":	"\/tmp",
			"cambiumSysAccountsShell":	"\/bin\/false "
		  },
		  {
			"cambiumSysAccountsName":	"home",
			"cambiumSysAccountsHash":	"!$1$\/Bv9wvkq$5lBZqqsoAJj4uYOhb7pOS0",
			"cambiumSysAccountsUID":	"3000",
			"cambiumSysAccountsGID":	"100",
			"cambiumSysAccountsDir":	"\/tmp",
			"cambiumSysAccountsShell":	"\/bin\/false "
		  },
		  {
			"cambiumSysAccountsName":	"readonly",
			"cambiumSysAccountsHash":	"!$1$zn4\/PlCl$1qP9PGmPChDwkDAgp5Qgw0",
			"cambiumSysAccountsUID":	"4000",
			"cambiumSysAccountsGID":	"100",
			"cambiumSysAccountsDir":	"\/tmp",
			"cambiumSysAccountsShell":	"\/bin\/false "
		  },
		  {
			"cambiumSysAccountsName":	"dashboard",
			"cambiumSysAccountsHash":	"$1$Y9oz6eRg$ysokBk9VZCGo4AN6WQgVF0",
			"cambiumSysAccountsUID":	"5000",
			"cambiumSysAccountsGID":	"100",
			"cambiumSysAccountsDir":	"\/tmp",
			"cambiumSysAccountsShell":	"\/bin\/false"
		  }
		]
	}
}

 I'm trying to change the SSID connection key on all of the SMs connected to the AP and then change the APs key and have them connect back.

Here are steps on how to set a pre-shared key on multiple SM’s/AP using cnMaestro.

It is different from the normal process that we follow due to the Auto Rollback feature.

Auto Rollback feature: Once you push the template to any ePMP SM, it changes the configuration; however, it will revert it back to its original configuration if the SM does not connect to any AP within next 15 minutes due this feature.

Due to this we need to follow step by step approach because in cases where we have a lot of devices and if we push a single template some of the SMs might rollback before the completion of the Job for the other SM’s and not connect to the AP which will have a new key.

So we need to follow 3 step approach here.

Step 1:

• Set security on SMs to WPA2 and Open

• Set security on AP to Open

• And to remove any preferred AP table entry

Step 2:

• Set WPA2 password on all SMs

• Set security on AP to WPA2 with new password

Step 3:

• Set security on SMs back to WPA2 only

• And to add any preferred AP table entry

Templates that we used:

Step 1:

{ "device_props": {

"wirelessInterfaceEncryption": "1",

"wirelessSecurityMethod": "4",

"prefferedAPTable": []

}

}

Step 2:

{ "device_props": {

"wirelessInterfaceEncryption": "2",

"wirelessInterfaceEncryptionKey": "Preshared-key"

}

}

Step 3:

{ "device_props": {

"wirelessSecurityMethod": "5",

"prefferedAPTable": [

{ "prefferedListTableEntrySSID":

"AP-SSID", "prefferedListTableEntryKEY": "Preshared-key",

"prefferedListTableSecurityMethod": "5"

}

]

}

}

1 Like

So do I just do this on the AP and it pushes to to SMs itself?

You will have to push these on both, AP and the SM.

You can select multiple devices at once and push the 3 templates one after the other.

If you are facing any issues while applying these, please open a technical support request via the Cambium Support Center?

You can learn more via this video.

1 Like

You may refer the following links for more info on the Deploying and Configuration 

https://www.youtube.com/watch?v=NMByB5DpaMg

https://www.youtube.com/watch?v=xmR6pfGWCgs

1 Like