nbsTrapIfTrapsSelect
NBS-TRAPCONTROL-MIB ·
.1.3.6.1.4.1.629.209.2.2.1.3
Object
column r/w
OctetString
Bitmask administrating which SNMP Notifications should be
sent for this interface.
Bit 0 is reserved.
Subsequent bits refer to the nbsTrapListTable. Bit 1
corresponds to the first table entry, Bit 2 to the second
entry, and so on.
A bit is set (1) if that SNMP Notification should be
emitted for this interface, and cleared (0) if it should be
suppressed.
OCTET STRING bitmasks count the leftmost bit (MSB) as 0.
Context
- MIB
- NBS-TRAPCONTROL-MIB
- OID
.1.3.6.1.4.1.629.209.2.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- nbsTrapIfEntry
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 'NBS-TRAPCONTROL-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NBS-TRAPCONTROL-MIB::nbsTrapIfTrapsSelect'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NBS-TRAPCONTROL-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NBS-TRAPCONTROL-MIB::nbsTrapIfTrapsSelect.<nbsTrapIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NBS-TRAPCONTROL-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NBS-TRAPCONTROL-MIB::nbsTrapIfTrapsSelect'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.