swL2DhcpRelayOption82Policy
DES1228MEv2-28-L2MGMT-MIB ·
.1.3.6.1.4.1.171.11.116.2.2.18.6
Object
scalar obsolete
r/w
Enumeration
This object indicates the reforwarding policy of DHCP relay agent
information option 82.
replace (1) - Replace the exiting option 82 field in messages.
drop (2) - Discard messages with existing option 82 field.
keep (3) - Retain the existing option 82 field in messages.
Context
- MIB
- DES1228MEv2-28-L2MGMT-MIB
- OID
.1.3.6.1.4.1.171.11.116.2.2.18.6- Type
- scalar
- Access
- readwrite
- Status
- obsolete
- Parent
- swL2DhcpRelayMgmt
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 'DES1228MEv2-28-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES1228MEv2-28-L2MGMT-MIB::swL2DhcpRelayOption82Policy.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES1228MEv2-28-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES1228MEv2-28-L2MGMT-MIB::swL2DhcpRelayOption82Policy'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | replace |
2 | drop |
3 | keep |