hpnicfDhcpRelay2IfOpt82Strategy
HPN-ICF-DHCP4-MIB ·
.1.3.6.1.4.1.11.2.14.11.15.2.122.4.1.1.4
Object
column r/w
Enumeration
The strategies of DHCP relay handling option 82.
'drop' indicates DHCP relay discarding the request
packet including option 82.
'keep' indicates DHCP relay accepting the request
packet without any change of the option 82.
'replace' indicates DHCP relay accepting the
request packet on condition that it generates a new
option 82 to replace the original one.
Context
- MIB
- HPN-ICF-DHCP4-MIB
- OID
.1.3.6.1.4.1.11.2.14.11.15.2.122.4.1.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hpnicfDhcpRelay2IfConfigEntry
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 'HPN-ICF-DHCP4-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPN-ICF-DHCP4-MIB::hpnicfDhcpRelay2IfOpt82Strategy'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HPN-ICF-DHCP4-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPN-ICF-DHCP4-MIB::hpnicfDhcpRelay2IfOpt82Strategy.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HPN-ICF-DHCP4-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HPN-ICF-DHCP4-MIB::hpnicfDhcpRelay2IfOpt82Strategy'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | drop |
2 | keep |
3 | replace |