slDryConOutCommand
SL-DRY-CON-MIB ·
smartoptics variant
·
.1.3.6.1.4.1.4515.1.7.1.2.1.2
Object
column r/w
Enumeration
Setting this object controls the output dry contact state: activate(1) - activate the output dry contact deactivate(2) - dectivate the output dry contact clear(3) - clears the output dry contact command The object value can also be read by the management. In this case the agent should return the current command to the management. The object value should not be kept in the NVRAM because it is used only for testing. The intial value should be clear(3).
Context
- MIB
- SL-DRY-CON-MIB
- OID
.1.3.6.1.4.1.4515.1.7.1.2.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- slDryConOutEntry
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 'SL-DRY-CON-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SL-DRY-CON-MIB::slDryConOutCommand'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SL-DRY-CON-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SL-DRY-CON-MIB::slDryConOutCommand.<slDryConOutIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SL-DRY-CON-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SL-DRY-CON-MIB::slDryConOutCommand'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | activate |
2 | deactivate |
3 | clear |