ospfSetTrap
OSPF-TRAP-MIB ·
.1.3.6.1.2.1.14.16.1.1
Object
scalar r/w
OctetString
A 4-octet string serving as a bit map for
the trap events defined by the OSPF traps. This
object is used to enable and disable specific
OSPF traps where a 1 in the bit field
represents enabled. The right-most bit (least
significant) represents trap 0.
This object is persistent and when written
the entity SHOULD save the change to non-volatile
storage.
Context
- MIB
- OSPF-TRAP-MIB
- OID
.1.3.6.1.2.1.14.16.1.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- ospfTrapControl
- Groups
- 1
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 'OSPF-TRAP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OSPF-TRAP-MIB::ospfSetTrap.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OSPF-TRAP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OSPF-TRAP-MIB::ospfSetTrap'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 4-4
Conformance
Member of