snmpVersion
VES1724-58V-MIB ·
.1.3.6.1.4.1.890.1.5.12.49.15.6
Object
scalar r/w
Enumeration
Sets the SNMP version to use for communication with the SNMP manager. v2c: v2c only v3: v3 only v3v2c: v2c and v3. version 3 read/write, version 2 read only.
Context
- MIB
- VES1724-58V-MIB
- OID
.1.3.6.1.4.1.890.1.5.12.49.15.6- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- snmp
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'VES1724-58V-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'VES1724-58V-MIB::snmpVersion.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'VES1724-58V-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'VES1724-58V-MIB::snmpVersion'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | v2c |
2 | v3 |
3 | v3v2c |