COMMUNITY-MIB :: communityTrap

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › COMMUNITY-MIB › communityTrap

communityTrap

Module: COMMUNITY-MIB

OID (symbolic): COMMUNITY-MIB::communityTrap

OID (numeric): 1.3.6.1.4.1.52.1.52.2.1.2

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: This object is checked to determine if traps should be sent to the corresponding network address associated with it. The possible values are: trapOff (0), trapOn (1)

What is communityTrap?

This read-write integer determines whether SNMP traps are sent to the network address associated with a given community entry, with values trapOff or trapOn. An administrator toggles this per community to control which configured destinations actually receive trap notifications from the device. For example, an operator might set communityTrap to trapOn(1) for the entry pointing at their production NMS while leaving a test community's traps disabled.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.52.1.52.2.1.2
snmpwalk -v2c -c public <target> COMMUNITY-MIB::communityTrap

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.52.1.52.2.1.2.1
snmpget -v2c -c public <target> COMMUNITY-MIB::communityTrap.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.52.1.52.2.1.2.1 i <value>

Start monitoring SNMP-managed network devices with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the COMMUNITY-MIB::communityTrap OID value, configure state conditions and alerts, and monitor any SNMP-managed network devices from a single console.

OID Breakdown

Upper-level ancestors (8 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.52cabletronCabletron-MIB
1.3.6.1.4.1.52.1commsDeviceCabletron-MIB
Numeric OIDNameModule
1.3.6.1.4.1.52.1.52communityCOMMUNITY-MIB
1.3.6.1.4.1.52.1.52.2communityTableCOMMUNITY-MIB
1.3.6.1.4.1.52.1.52.2.1communityEntryCOMMUNITY-MIB
1.3.6.1.4.1.52.1.52.2.1.2communityTrapCOMMUNITY-MIB