es2226DhcpRelayState

RUBYTECH-ES2226-MIB · .1.3.6.1.4.1.5205.2.31.1.25.1

Object

scalar r/w Integer32
Set DHCP Relay State.
0 : Disable,
1 : Enable.
When DHCP or DHCP Snooping is already running. Please disable DHCP or DHCP Snooping first, and then enable DHCP Relay again.

Context

MIB
RUBYTECH-ES2226-MIB
OID
.1.3.6.1.4.1.5205.2.31.1.25.1
Type
scalar
Access
readwrite
Status
current
Parent
es2226Dhcprelay

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

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

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-1