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