dhcpRelayAction
RAD-MIB ·
.1.3.6.1.4.1.164.11.7.2.2.1.4.1.1
Object
column r/w
Enumeration
Setting this attribute to enable (3), will enable DHCP Relay action for this interface (Only if DHCP Server is disabled for device - wrDhcpAction=disable). dhcpRelayServerIpAddressaddress should not be 0.0.0.0 when enable is set
Context
- MIB
- RAD-MIB
- OID
.1.3.6.1.4.1.164.11.7.2.2.1.4.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- dhcpRelayEntry
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 'RAD-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-MIB::dhcpRelayAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-MIB::dhcpRelayAction.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-MIB::dhcpRelayAction'
Syntax
Enumeration
Values & Constraints
No enumerated values or constraints recorded.