All MIBs › MY-SNMP-AGENT-MIB › myTrapType
myTrapType
Module: MY-SNMP-AGENT-MIB
OID (symbolic): MY-SNMP-AGENT-MIB::myTrapType
OID (numeric): 1.3.6.1.4.1.171.10.97.2.5.1.2.3.1.1
Node type: OBJECT-TYPE
Type: MyTrapType
Access: read-only
Description: Trap type identifier, every kind of trap which the system support will has one entry in this table.
What is myTrapType?
This read-only MyTrapType value identifies one supported kind of trap and serves as the INDEX into myTrapActionEntry, with the agent maintaining one row per trap type it can generate. An admin walks this table to see the full list of trap categories the device is capable of raising, such as link-state or authentication-failure traps. For example, iterating myTrapType across the table might reveal entries for coldStart, linkDown, and authenticationFailure trap types.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.5.1.2.3.1.1 snmpwalk -v2c -c public <target> MY-SNMP-AGENT-MIB::myTrapType
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.5.1.2.3.1.1.1 snmpget -v2c -c public <target> MY-SNMP-AGENT-MIB::myTrapType.1
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::myTrapType 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.3 | myTrapActionTable | MY-SNMP-AGENT-MIB |
| 1.3.6.1.4.1.171.10.97.2.5.1.2.3.1 | myTrapActionEntry | MY-SNMP-AGENT-MIB |
| 1.3.6.1.4.1.171.10.97.2.5.1.2.3.1.1 | myTrapType | MY-SNMP-AGENT-MIB |