dhcpRelayOption82ForwardPolicy
ZELAX-MIB ·
.1.3.6.1.4.1.7840.2.1.100.13.1.13.1.2
Object
column r/w
Enumeration
If set(1), then drop the dhcp request packets with option82 sub-option, set(2), keep the dhcp request packets with option82 sub-option and forward to the dhcp server, set(3), the systerm replace the option82 sub-option of dhcp request packets with its own option82 sub-option, the default value is set(3).
Context
- MIB
- ZELAX-MIB
- OID
.1.3.6.1.4.1.7840.2.1.100.13.1.13.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- dhcpRelayOption82InterfaceConfigureEntry
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 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::dhcpRelayOption82ForwardPolicy'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::dhcpRelayOption82ForwardPolicy.<dhcpRelayOption82Vid>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZELAX-MIB::dhcpRelayOption82ForwardPolicy'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | drop |
2 | keep |
3 | replace |