All MIBs › MY-SNMP-AGENT-MIB › myTrapDstCommunity
myTrapDstCommunity
Module: MY-SNMP-AGENT-MIB
OID (symbolic): MY-SNMP-AGENT-MIB::myTrapDstCommunity
OID (numeric): 1.3.6.1.4.1.171.10.97.2.5.1.2.2.1.2
Node type: OBJECT-TYPE
Type: Community
Access: read-write
Description: the destination host's SNMP Client wish to receive the community in the trap send by agent.
What is myTrapDstCommunity?
This read-write Community string, defaulting to "public", is the community value the agent embeds in traps sent to the corresponding destination host. An admin changes it when the receiving NMS is configured to accept traps only under a non-default community string, so traps aren't silently dropped by the receiver's community filtering. For example, setting myTrapDstCommunity to "trapreceiver" for a destination ensures that host's trap listener, configured to expect that exact string, will process the incoming trap.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.5.1.2.2.1.2 snmpwalk -v2c -c public <target> MY-SNMP-AGENT-MIB::myTrapDstCommunity
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.5.1.2.2.1.2.1 snmpget -v2c -c public <target> MY-SNMP-AGENT-MIB::myTrapDstCommunity.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.10.97.2.5.1.2.2.1.2.1 s <value>
Start monitoring D-Link managed switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the MY-SNMP-AGENT-MIB::myTrapDstCommunity OID value, configure state conditions and alerts, and monitor any D-Link managed switches from a single console.
OID Breakdown
Upper-level ancestors (10 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.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.10 | dlink_products | DES-1226G-MIB |
| 1.3.6.1.4.1.171.10.97 | switchMib | MY-SMI |
| 1.3.6.1.4.1.171.10.97.2 | myMgmt | MY-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.10.97.2.5 | mySnmpAgentMIB | MY-SNMP-AGENT-MIB |
| 1.3.6.1.4.1.171.10.97.2.5.1 | mySnmpAgentMIBObjects | MY-SNMP-AGENT-MIB |
| 1.3.6.1.4.1.171.10.97.2.5.1.2 | mySnmpTrapObjects | MY-SNMP-AGENT-MIB |
| 1.3.6.1.4.1.171.10.97.2.5.1.2.2 | myTrapDstTable | MY-SNMP-AGENT-MIB |
| 1.3.6.1.4.1.171.10.97.2.5.1.2.2.1 | myTrapDstEntry | MY-SNMP-AGENT-MIB |
| 1.3.6.1.4.1.171.10.97.2.5.1.2.2.1.2 | myTrapDstCommunity | MY-SNMP-AGENT-MIB |