snmpTrapTest
MS-SWITCH30-MIB ·
.1.3.6.1.4.1.3181.10.3.22.5
Object
scalar r/w
Enumeration
This entry triggers a trap event without the regarding system event took place. No change to the device will be done. This entry can be used to test the trap destination configuration. This entry is self clearing.
Context
- MIB
- MS-SWITCH30-MIB
- OID
.1.3.6.1.4.1.3181.10.3.22.5- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- snmpinterface
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MS-SWITCH30-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MS-SWITCH30-MIB::snmpTrapTest.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MS-SWITCH30-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MS-SWITCH30-MIB::snmpTrapTest'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | inactive |
1 | genColdstart |
2 | genWarmstart |
3 | genLinkdown |
4 | genLinkup |
5 | genAuthfailure |
6 | genEgpneighborloss |
7 | entLinkchange |
8 | entFactoryreset |
9 | entTemplevelchange |
10 | entErrorcounter |
11 | entOverundervoltage |
12 | entTempshutdown |
13 | entPoelimitexceeded |
14 | entSupplystatuschange |
15 | entSfpplugchange |
16 | entLoginfailure |
17 | entRingbroken |
18 | entRingalarm |
19 | entAuthpwfail |
20 | entPrivpwfail |
21 | entAccesspermission |
22 | entSeclevelfail |
255 | unsupported |