clusterv2BaseVlan
ZELAX-MIB ·
.1.3.6.1.4.1.7840.2.1.100.22.1.2
Object
scalar r/w
Integer32
cluster run switch,set the Vlan only when the cluster is not running and you should set it with set clusterv2BaseRun. if get result is 0 that the cluser is not running!
Context
- MIB
- ZELAX-MIB
- OID
.1.3.6.1.4.1.7840.2.1.100.22.1.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- clusterv2Base
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 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::clusterv2BaseVlan.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZELAX-MIB::clusterv2BaseVlan'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-4094