mngTrapMask
RAD-GEN-MIB ·
.1.3.6.1.4.1.164.6.2.7.1.4
Object
The value of this attribute determines the type of traps the agent should mask and not send to this NMS. The value is differently determined for different products. There are mainly two methods: - an integer number, specifying the traps' severity. - a sum of 2**n, where n is a bit assigned to a certain masked trap group. User should consult the product specification, to find out the method employed.
Context
- MIB
- RAD-GEN-MIB
- OID
.1.3.6.1.4.1.164.6.2.7.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- mngEntry
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 'RAD-GEN-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-GEN-MIB::mngTrapMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-GEN-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-GEN-MIB::mngTrapMask.<mngID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-GEN-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-GEN-MIB::mngTrapMask'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647