oaDhcpRelayStatus

OADHCP-SERVER-MIB · .1.3.6.1.4.1.6926.1.11.2.1.1

Object

scalar mandatory r/w ObjectStatus
Setting enable(2) enables the demon of 
DHCP relay .

Context

MIB
OADHCP-SERVER-MIB
OID
.1.3.6.1.4.1.6926.1.11.2.1.1
Type
scalar
Access
readwrite
Status
mandatory
Parent
oaDhcpRelayGeneral

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OADHCP-SERVER-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OADHCP-SERVER-MIB::oaDhcpRelayStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OADHCP-SERVER-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OADHCP-SERVER-MIB::oaDhcpRelayStatus'

Syntax

Source
ObjectStatus
Base type
Enumeration

Values & Constraints

Type Values
1enable
2disable
3other