cpqCmcSetLock2Lock
CPQCMC-MIB ·
.1.3.6.1.4.1.232.153.2.2.5.4
Object
scalar mandatory
r/w
Enumeration
Set door locking device 2, see table With this command the management-station can set the conditions for the door locking device (2) Door will be locked (3) Door will be unlocked for a defined time, time can be changed, see cpqCmcSetupLock2Time (4) Door is generally unlocked Locking and unlocking with this command can not be enabled or disabled with cpqCmcSetLock2Key-command
Context
- MIB
- CPQCMC-MIB
- OID
.1.3.6.1.4.1.232.153.2.2.5.4- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- cpqCmcControl
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 'CPQCMC-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQCMC-MIB::cpqCmcSetLock2Lock.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQCMC-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQCMC-MIB::cpqCmcSetLock2Lock'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | lockDoor |
3 | openDoorTime |
4 | openDoor |