zySnmpVersion
ZYXEL-SNMP-MIB ·
.1.3.6.1.4.1.890.1.15.3.76.1.6
Object
scalar r/w
Enumeration
Select the SNMP version for the switch. The SNMP version on the switch must match the version on the SNMP manager. v3v2c means that the manager can get/set by SNMPv3 and can get by SNMPv2c.
Context
- MIB
- ZYXEL-SNMP-MIB
- OID
.1.3.6.1.4.1.890.1.15.3.76.1.6- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- zyxelSnmpSetup
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 'ZYXEL-SNMP-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZYXEL-SNMP-MIB::zySnmpVersion.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZYXEL-SNMP-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZYXEL-SNMP-MIB::zySnmpVersion'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | v2c |
1 | v3 |
2 | v3v2c |