aluLcrCommandSwitch
ALU-LCR-MIB ·
.1.3.6.1.4.1.6527.6.1.2.2.23.2.3.1.1
Object
column r/w
Enumeration
Allows the initiation of an LCR switch command on the
LCR group and member specified by the index values.
When read this object returns the last command written.
The last command written does not imply that this command is
currently in effect. This request may have been preempted by a higher
priority request. In order to determine the current state of the LCR
group it is necessary to read the object aluLcrStatusRequest.
noCmd
This value should be returned by a read request when no switch
command has been written to the object in question since
initialization. This value may not be used in a write
operation. If noCmd is used in a write operation a wrongValue
error is returned.
clear
Clears all of the switch commands listed below for the
specified MDA member.
lockoutOfProtection
Prevents the working MDA from switching to the protection MDA. The
specified MDA member should be the protection MDA, otherwise an
inconsistentValue error is returned.
forcedSwitchWorkToProtect
Switches activity from the working MDA to the protection MDA. The
specified MDA member should be the working MDA, otherwise an
inconsistentValue error is returned.
forcedSwitchProtectToWork
Switches activity from the protection MDA to the working MDA. The
specified MDA member should be the protection MDA, otherwise an
inconsistentValue error is returned.
Context
- MIB
- ALU-LCR-MIB
- OID
.1.3.6.1.4.1.6527.6.1.2.2.23.2.3.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- aluLcrCommandEntry
- 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 'ALU-LCR-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ALU-LCR-MIB::aluLcrCommandSwitch'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ALU-LCR-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ALU-LCR-MIB::aluLcrCommandSwitch.<aluLcrConfigName>.<aluLcrMdaConfigNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ALU-LCR-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ALU-LCR-MIB::aluLcrCommandSwitch'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | noCmd |
2 | clear |
3 | lockoutOfProtection |
4 | forcedSwitchWorkToProtect |
5 | forcedSwitchProtectToWork |
Conformance
Member of