agentSnmpTrapReceiverVersion
NETGEAR-SWITCHING-MIB ·
.1.3.6.1.4.1.4526.10.1.2.6.4.1.5
Object
column r/w
Enumeration
The version of trap sent to this Reciever.
snmpv1(1) - This will send a SNMPv1 trap.
snmpv2c(2) - This will send a SNMPv2c trap.
Context
- MIB
- NETGEAR-SWITCHING-MIB
- OID
.1.3.6.1.4.1.4526.10.1.2.6.4.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- agentSnmpTrapReceiverConfigEntry
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 'NETGEAR-SWITCHING-MIB' -M '/opt/observium/mibs/netgear:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETGEAR-SWITCHING-MIB::agentSnmpTrapReceiverVersion'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NETGEAR-SWITCHING-MIB' -M '/opt/observium/mibs/netgear:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETGEAR-SWITCHING-MIB::agentSnmpTrapReceiverVersion.<agentSnmpTrapReceiverIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NETGEAR-SWITCHING-MIB' -M '/opt/observium/mibs/netgear:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NETGEAR-SWITCHING-MIB::agentSnmpTrapReceiverVersion'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | snmpv1 |
2 | snmpv2c |