All MIBs › TRAP-MIB › trapCommunityName
trapCommunityName
Module: TRAP-MIB
OID (symbolic): TRAP-MIB::trapCommunityName
OID (numeric): 1.3.6.1.4.1.52.4.1.5.7.1.1.1.2
Node type: OBJECT-TYPE
Type: OCTET STRING
Access: read-write
Description: The community name that will be used within the SNMP trap PDU.
What is trapCommunityName?
This value holds the SNMP community string, up to 32 bytes, that will be included in the trap PDU sent to the corresponding network address configured in the same table row of this Cabletron trap-destination table. An administrator sets this to match whatever community string the receiving management station expects so it will accept the incoming trap. For example, setting trapCommunityName to "public" for a given trap entry means traps sent to that entry's destination address carry that community string.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.52.4.1.5.7.1.1.1.2 snmpwalk -v2c -c public <target> TRAP-MIB::trapCommunityName
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.52.4.1.5.7.1.1.1.2.1 snmpget -v2c -c public <target> TRAP-MIB::trapCommunityName.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.52.4.1.5.7.1.1.1.2.1 s <value>
Start monitoring vendor-neutral, standards-based MIB, generic SNMP-managed network device (base trap object-structure template) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the TRAP-MIB::trapCommunityName OID value, configure state conditions and alerts, and monitor any vendor-neutral, standards-based MIB, generic SNMP-managed network device (base trap object-structure template) from a single console.
OID Breakdown
Upper-level ancestors (11 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.52 | cabletron | Cabletron-MIB |
| 1.3.6.1.4.1.52.4 | mibs | CTRON-AP3000-MIB |
| 1.3.6.1.4.1.52.4.1 | ctron | CTRON-MIB-NAMES |
| 1.3.6.1.4.1.52.4.1.5 | ctSystem | CTRON-MIB-NAMES |
| 1.3.6.1.4.1.52.4.1.5.7 | ctTrapTable | CTRON-MIB-NAMES |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.52.4.1.5.7.1 | trap | TRAP-MIB |
| 1.3.6.1.4.1.52.4.1.5.7.1.1 | trapTable | TRAP-MIB |
| 1.3.6.1.4.1.52.4.1.5.7.1.1.1 | trapEntry | TRAP-MIB |
| 1.3.6.1.4.1.52.4.1.5.7.1.1.1.2 | trapCommunityName | TRAP-MIB |