bnProClusterPduMode
BACHMANN-BNPRO-MIB ·
.1.3.6.1.4.1.31770.10.1.3.1.1.3
Object
column BnProClusterMode
Configured cluster mode (role) of this PDU.
This is the persisted mode of the cluster member, not its live
connection health: a PDU configured as link(2) reports link(2)
whether or not it is currently reachable. For the live state of
the PDU serving this agent, including link maintenance, see
bnProInfoCommunicationState.
If the mode cannot be resolved for a row (for example an unreachable
cluster member, or firmware without the per-PDU cluster-mode API) this
object reports unknown(0) rather than failing the request, so one
unresolvable PDU does not truncate a walk of the table.
Context
- MIB
- BACHMANN-BNPRO-MIB
- OID
.1.3.6.1.4.1.31770.10.1.3.1.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- bnProClusterEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'BACHMANN-BNPRO-MIB' -M '/opt/observium/mibs/bachmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BACHMANN-BNPRO-MIB::bnProClusterPduMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BACHMANN-BNPRO-MIB' -M '/opt/observium/mibs/bachmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BACHMANN-BNPRO-MIB::bnProClusterPduMode.<bnProClusterPduIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BACHMANN-BNPRO-MIB' -M '/opt/observium/mibs/bachmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BACHMANN-BNPRO-MIB::bnProClusterPduMode'
Syntax
- Source
- BnProClusterMode
- Base type
Enumeration
Type Description
Configured cluster mode (role) of a PDU.
Values 1-5 are a 1:1 mirror of the camodels cluster.Mode enum, in its
declaration order: the CLI and web frontend carry this setting as the
string 'main' / 'link' / 'scan-main' / 'power-only' / 'bridged', and
these labels are the same values spelled in camelCase, since SMI
enumeration labels cannot contain hyphens.
unknown(0) has no camodels counterpart and exists only because SNMP,
unlike the other management surfaces, must return some value for every
row of a walk: it means the agent could not resolve this PDU's mode,
not that the PDU has a sixth mode. Managers should treat it as 'no
data', not as a role.
This is a configured mode, so it is a distinct type from
BnProCommunicationState (the observed live state) and is numbered
independently: the shared labels do NOT carry the same enumeration
values in the two types. Decode each object through its own type
rather than comparing the raw integers.
Values & Constraints
Type Values
0 | unknown |
1 | main |
2 | link |
3 | scanMain |
4 | powerOnly |
5 | bridged |
Conformance
Member of