juniSnmpTrapCategory
Juniper-SNMP-MIB ·
.1.3.6.1.4.1.4874.2.2.16.1.3.17.1.1
Object
column Integer32
The value of this object is an integer which is same as the bit position specified for a particular trap category in JuniSnmpTrapMask. For example, value of juniSnmpTrapCategory object will be 6 for BGP traps.
Context
- MIB
- Juniper-SNMP-MIB
- OID
.1.3.6.1.4.1.4874.2.2.16.1.3.17.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- juniSnmpTrapSeverityFilterEntry
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 'Juniper-SNMP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-SNMP-MIB::juniSnmpTrapCategory'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Juniper-SNMP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-SNMP-MIB::juniSnmpTrapCategory.<juniSnmpTrapCategory>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Juniper-SNMP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Juniper-SNMP-MIB::juniSnmpTrapCategory'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-63