snmpVersion

ZYXEL-GS4012F-MIB · .1.3.6.1.4.1.890.1.5.8.20.10.5

Object

scalar r/w Enumeration
The SNMP version to be used. v3v2c means that the manager 
can get/set by SNMPv3 and can get by SNMPv2c.

Context

MIB
ZYXEL-GS4012F-MIB
OID
.1.3.6.1.4.1.890.1.5.8.20.10.5
Type
scalar
Access
readwrite
Status
current
Parent
snmpSetup

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZYXEL-GS4012F-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZYXEL-GS4012F-MIB::snmpVersion.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZYXEL-GS4012F-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZYXEL-GS4012F-MIB::snmpVersion'

Syntax

Enumeration

Values & Constraints

Enumerated Values
0v2c
1v3
2v3v2c