cnMaestro URL via SNMP

How do I set the cnMaestro URL with SNMP on 450 platform?

Hey hci,

You can set the following OIDs:

"cnMaestroUrl"  at .1.3.6.1.4.1.161.19.3.3.2.258

"cnMaestroEnable" at  .1.3.6.1.4.1.161.19.3.3.2.257

If you leave the "cnMaestroUrl" blank on all the SMs and only set it on the AP, but set "cnMaestroEnable" on both the AP and the SMs, the SMs will automatically follow the AP's "cnMaestroUrl" setting.

Good luck.

-Al

Hi Al,

Is there a way through SNMP or cnMaestro to grab a list of all of the SMs connected to the AP regardless of whether they have the cnMaestro URL populated?

I want to write a script to populate any incorrect/missing cnMaestro urls.  The ip will be different for each SM depending on the vlan so I cannot use the nifty blank cnMaestro AP/SM trick.

Thanks!

Hey rnelson,

You can use the whispLinkTable ( .1.3.6.1.4.1.161.19.3.1.4) on the AP to get a list of all connected devices, along with lots of other stats. Some things to look at here would be the table columns:

  • "linkPhysAddress" (.1.3.6.1.4.1.161.19.3.1.4.1.3) - This contains the MAC address for each SM.
  • "linkSessState" ( .1.3.6.1.4.1.161.19.3.1.4.1.19) - This contains the session status for each SM. Note that even if an SM is listed in the whispLinkTable, you can't be sure it's currently connected unless this field says "inSession" (1). This is because we maintain LUID/MAC mappings across reboots in recent software versions, so an SM may be "idle" (0), but still on this list.
  • "linkSiteName" ( .1.3.6.1.4.1.161.19.3.1.4.1.33) - This field matches what's in the SM's "Site Name" field on the SNMP config page, along with the MAC address in brackets, e.g. "Customer 125 [0a-00-03-ff-ff-ff]". This field can be useful for any addtional identifying info you need when iterating over the list of SMs.

There's a lot more in that table, so I'd suggest taking a look to see what you might need from there, but the above fields should be a good start.

Good Luck!

-Al

Thanks Al!

1 Like

No problem!

Is there a way to set these with SNMP?


Cambium ID :
Onboarding Key :

Found answer here:

https://community.cambiumnetworks.com/t5/cnMaestro/Onboarding-with-SNMP-via-BASH/m-p/72387/highlight/true#M1857

1 Like