ipInterfaceDhcpRelay
CROUTE-MIB ·
.1.3.6.1.4.1.81.31.1.2.1.15
Object
column r/w
Enumeration
enable - enable the DHCP/BOOTP Relay agent for the subnet associated with this IP Interface. Requires that a relayEntry for the L2 interface over which this IP interface is defined will be defined. disable - disablesenable the DHCP/BOOTP Relay agent for the subnet associated with this IP Interface.
Context
- MIB
- CROUTE-MIB
- OID
.1.3.6.1.4.1.81.31.1.2.1.15- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ipInterfaceEntry
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 'CROUTE-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CROUTE-MIB::ipInterfaceDhcpRelay'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CROUTE-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CROUTE-MIB::ipInterfaceDhcpRelay.<ipInterfaceAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CROUTE-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CROUTE-MIB::ipInterfaceDhcpRelay'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |