Setting SNMP Parameters via Switch Groups in cnMaestro?

Hi Support, just checking if there’s any way to set SNMP communities and traps via switch groups in cnMaestro ? From what I take it it looks like it will be a device override function I take in version 4.0 ?

Hi,

Current cnMaestro cloud 3.0.1 and cnMatrix software 4.0 do not support UI configuration of SNMP via cnMaestro. This capability will be included in the near future release. However, you are correct that SNMP setting can be achieved using the CLI Overrides in cnMaestro when switch is running firmware 4.0, as shown below.

Here are examples of the SNMP-related commands to be used in the CLI Overrides.

Create a new SNMPv2 read-only community (community name = “cmbmRoV2”)

${SnmpRoComm=con t ; snmp community index cmbmRoV2 name cmbmRoV2 security cambiumReadOnlyV2 ; end}

Create a new SNMPv2 read-write community (community name = “cmbmRwV2”)

${SnmpRwComm=con t ; snmp community index cmbmRwV2 name cmbmRwV2 security cambiumReadWriteV2 ; end}

Create a new SNMPv3 read-only user (user = “cmbmRoV3” with no authentication/privacy)

${SnmpRoUser=con t ; snmp user cmbmRoV3 ; snmp group allObjectsReadOnly user cmbmRoV3 security-model v3 ; end}

Create a new SNMPv3 read-write user (user = “cmbmRwV3” with no authentication/privacy)

${SnmpRwUser=con t ; snmp user cmbmRwV3 ; snmp group allObjectsReadWrite user cmbmRwV3 security-model v3 ; end}

Create a new SNMPv3 read-write user (user = “cmbmRwV3” with authentication sha256/“secretAuthPassowrd” but no privacy)

${SnmpRwUserAuth=con t ; snmp user cmbmRwAuthV3 auth sha256 secretAuthPassword ; snmp group allObjectsReadWrite user cmbmRwAuthV3 security-model v3 ; end}

Create a new SNMPv3 read-write user (user = “cmbmRwV3” with authentication sha256/“secretAuthPassword” and privacy AES_CFB256/“secretPrivPassword”)

${SnmpRwUserPriv=con t ; snmp user cmbmRwPrivV3 auth sha256 secretAuthPassword priv AES_CFB256 secretPrivPassword ; snmp group allObjectsReadWrite user cmbmRwPrivV3 security-model v3 ; end}

Disable SNMP agent

${SnmpDisable=con t ; snmp agent disable ; end}

Enable SNMP agent

${SnmpEnable=con t ; snmp agent enable ; end}

Configure a SNMP Trap Receiver (name = “trapmonitor”, IP Address = 172.26.140.133)

${SnmpTrapMon=con t ; snmp targetaddr trapmonitor param cambium 172.26.140.133 taglist cambium ; end}

Enable SNMP authentication traps

${SnmpTrapAuth=con t ; snmp enable traps snmp authentication ; end}

Disable SNMP linkup/linkDown traps for a specific interface

${SnmpTrapLinkIfcNo=con t ; int gi 0/6 ; no snmp trap link-status ; end}

2 Likes