npExtRelayMode
DKSF-70-MIB ·
.1.3.6.1.4.1.25728.5600.5.1.2
Object
column r/w
Enumeration
Control of relay: -1 - flip between on(1) and off(0) 0 - switch off 1 - switch on
Context
- MIB
- DKSF-70-MIB
- OID
.1.3.6.1.4.1.25728.5600.5.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- npExtRelayEntry
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 'DKSF-70-MIB' -M '/opt/observium/mibs/netping:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DKSF-70-MIB::npExtRelayMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DKSF-70-MIB' -M '/opt/observium/mibs/netping:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DKSF-70-MIB::npExtRelayMode.<npExtRelayN>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DKSF-70-MIB' -M '/opt/observium/mibs/netping:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DKSF-70-MIB::npExtRelayMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | flip |
0 | off |
1 | on |