rcIpDhcpRelayEnable

IPDHCP-RELAY-MIB · .1.3.6.1.4.1.8886.6.1.30.1.1

Object

scalar r/w SWITCH-TCEnableVar
The state of global dhcp relay. 
It has two values,one is enable(1),which indicates that the system start dhcp relay; 
the other is disable(2) that means dhcp relay is invalid in this system. 
The default value is disable(2).

Context

MIB
IPDHCP-RELAY-MIB
OID
.1.3.6.1.4.1.8886.6.1.30.1.1
Type
scalar
Access
readwrite
Status
current
Parent
rcIpDhcpRelayConfig

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

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

Syntax

Source
SWITCH-TCEnableVar
Base type
Enumeration

Values & Constraints

Type Values
1enable
2disable