gnGenCfgTrapOption

CERAGON-MIB · .1.3.6.1.4.1.2281.2.1.8.1.22

Object

column mandatory r/w Integer32
This item defines various trap options (0-31):
              
0 - SNSN (STANDARD TRAPS DO NOT INCLUDE SERIAL NUMBER)
1 - ASN  (ALL TRAPS INCLUDE SERIAL NUMBER)
2 - SNSN, DNLR (DO NOT REPORT LOCAL TRAPS FROM REMOTE IDU)
3 - ASN, DNLR
4 - SNSN, EVT (USE DIFFERENT TRAP ID FOR EACH ALARM TYPE)
5 - ASN, EVT
6 - SNSN, DNLR, EVT
7 - ASN, DNLR, EVT
              
* - Add 8 to your choice for excluding traps with id >= 128.
          Example: for SNSN, DNLR with this filter write 10 (=8+2).
** - Add another 16 to your choice in order to send 'clear' traps with zero severity.

Context

MIB
CERAGON-MIB
OID
.1.3.6.1.4.1.2281.2.1.8.1.22
Type
column
Access
readwrite
Status
mandatory
Parent
gnGenCfgDeviceEntry

Walk 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 'CERAGON-MIB' -M '/opt/observium/mibs/ceragon:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CERAGON-MIB::gnGenCfgTrapOption'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CERAGON-MIB' -M '/opt/observium/mibs/ceragon:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CERAGON-MIB::gnGenCfgTrapOption.<gnGenCfgDeviceId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CERAGON-MIB' -M '/opt/observium/mibs/ceragon:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CERAGON-MIB::gnGenCfgTrapOption'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-31