clusterRole
SMC6152L2-MIB ·
.1.3.6.1.4.1.202.20.66.1.47.6
Object
scalar Enumeration
The current role of the device in a cluster.
commander(1) : The switch is the controlling device in a
cluster.
candidate(2) : The switch has been discovered by the commander,
but it has not been manually configured
for access from the commander.
activeMember(3): The switch has been manually configured for access
from the commander and it is active
in the cluster.
disabled(5) : The switch has clustering disabled.
Context
- MIB
- SMC6152L2-MIB
- OID
.1.3.6.1.4.1.202.20.66.1.47.6- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- clusterMgt
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 'SMC6152L2-MIB' -M '/opt/observium/mibs/smc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SMC6152L2-MIB::clusterRole.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SMC6152L2-MIB' -M '/opt/observium/mibs/smc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SMC6152L2-MIB::clusterRole'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | commander |
2 | candidate |
3 | activeMember |
5 | disabled |