myTrapType
MY-SNMP-AGENT-MIB ·
.1.3.6.1.4.1.4881.1.1.10.2.5.1.2.3.1.1
Object
column MY-TCMyTrapType
Trap type identifier, every kind of trap which the system support will has one entry in this table.
Context
- MIB
- MY-SNMP-AGENT-MIB
- OID
.1.3.6.1.4.1.4881.1.1.10.2.5.1.2.3.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- myTrapActionEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'MY-SNMP-AGENT-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-SNMP-AGENT-MIB::myTrapType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MY-SNMP-AGENT-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-SNMP-AGENT-MIB::myTrapType.<myTrapType>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MY-SNMP-AGENT-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MY-SNMP-AGENT-MIB::myTrapType'
Syntax
- Source
- MY-TCMyTrapType
- Base type
Enumeration
Values & Constraints
Type Values
1 | coldMy |
2 | warmMy |
3 | linkDown |
4 | linkUp |
5 | authenFailure |
6 | newRoot |
7 | topoChange |
8 | hardChangeDetected |
9 | portSecurityViolate |
10 | stormAlarm |
11 | macNotification |
12 | vrrpNewMaster |
13 | vrrpAuthFailure |
14 | powerStateChange |
15 | fanStateChange |
16 | ospf |
17 | pim |
18 | igmp |
19 | dvmrp |
20 | entity |
21 | cluster |
22 | temperatureWarning |
23 | sysGuard |
24 | bgp |
25 | lineDetect |
26 | bgpReachMaxPrefix |
27 | hardwareNotSupport |
Conformance
Member of