slmSysTrapFormat
SL-MAIN-MIB ·
smartoptics variant
·
.1.3.6.1.4.1.4515.1.3.1.42
Object
scalar r/w
Enumeration
The format of the sent trap: 1 - the full ifIndex is sent. 2 - only the port number part of the ifIndex is sent.
Context
- MIB
- SL-MAIN-MIB
- OID
.1.3.6.1.4.1.4515.1.3.1.42- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- slmSys
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 'SL-MAIN-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SL-MAIN-MIB::slmSysTrapFormat.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SL-MAIN-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SL-MAIN-MIB::slmSysTrapFormat'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | fullIfIndex |
2 | portIfIndex |