ceRedunCommandSwitch
CISCO-ENTITY-REDUNDANCY-MIB ·
.1.3.6.1.4.1.9.9.498.1.3.1.2
Object
Allows the initiation of a redundancy switchover command
for the redundant member. When a valid member is specified,
the command applies to the specified member.
If the redundancy switchover command cannot be executed
because an equal or higher priority request is in effect,
an error is returned.
When read, this object returns the last command written
which is currently still in effect or 'noCmdInEffect' if
no command is currently in effect.
And for the specific case of a 'manualSwitchAway' command,
some managed devices and redundancy types may do an initial
switch, but may optionally not keep the switch in effect as
a permanent state.
In order to determine the current switchover state of the
redundancy group it is necessary to read the
ceRedunMbrProtectingMbr object for the secondary member(s).
Context
- MIB
- CISCO-ENTITY-REDUNDANCY-MIB
- OID
.1.3.6.1.4.1.9.9.498.1.3.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ceRedunCommandEntry
- 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 'CISCO-ENTITY-REDUNDANCY-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-ENTITY-REDUNDANCY-MIB::ceRedunCommandSwitch'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-ENTITY-REDUNDANCY-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-ENTITY-REDUNDANCY-MIB::ceRedunCommandSwitch.<ceRedunGroupTypeIndex>.<ceRedunGroupIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-ENTITY-REDUNDANCY-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-ENTITY-REDUNDANCY-MIB::ceRedunCommandSwitch'
Syntax
- Source
- CISCO-ENTITY-REDUNDANCY-TC-MIBCeRedunSwitchCommand
- Base type
Enumeration
Values & Constraints
Type Values
1 | noCmdInEffect |
2 | clear |
3 | manualSwitchAway |
4 | forcedSwitchAway |
5 | lockoutProtection |
Conformance
Member of