snmpTrapEntSfpPlugChange
MS-SWITCH30-MIB ·
.1.3.6.1.4.1.3181.10.3.22.10.1.20
Object
column r/w
Enumeration
This entry enables or disables the transmission of enterprise SFP plug change traps to the selected destination. (generic trap# 6, specific trap# 9)
Context
- MIB
- MS-SWITCH30-MIB
- OID
.1.3.6.1.4.1.3181.10.3.22.10.1.20- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- snmpTrapDestTableEntry
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 'MS-SWITCH30-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MS-SWITCH30-MIB::snmpTrapEntSfpPlugChange'
More examples
Read one indexed 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::snmpTrapEntSfpPlugChange.<snmpTrapDestId>'
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::snmpTrapEntSfpPlugChange'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |
255 | unsupported |