rcIpDhcpRelayInformationPolicy
IPDHCP-RELAY-MIB ·
.1.3.6.1.4.1.8886.6.1.30.2.2
Object
scalar r/w
Enumeration
Specify the DHCP Relay handling policy of DHCP request message including option 82. This object only supports drop(1),keep(2) and replace(3) value. Setting this object to 'drop', option 82 packets will be discarded; setting to 'keep',option 82 packets will be forwarded without any change; setting to 'replace', option 82 packets will be forwarded with a new option 82 field. Its default value is 'replace'.
Context
- MIB
- IPDHCP-RELAY-MIB
- OID
.1.3.6.1.4.1.8886.6.1.30.2.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- rcIpDhcpRelayInformationOptionGroup
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IPDHCP-RELAY-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IPDHCP-RELAY-MIB::rcIpDhcpRelayInformationPolicy.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IPDHCP-RELAY-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IPDHCP-RELAY-MIB::rcIpDhcpRelayInformationPolicy'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | drop |
2 | keep |
3 | replace |