h3cDHCPROption82Switch
H3C-DHCPRELAY-MIB ·
.1.3.6.1.4.1.2011.10.2.58.1.8.1
Object
scalar r/w
Enumeration
If the value is enabled, DHCP relay supporting option 82 function would be enabled.
Context
- MIB
- H3C-DHCPRELAY-MIB
- OID
.1.3.6.1.4.1.2011.10.2.58.1.8.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- h3cDHCPRConfigOption82Group
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 'H3C-DHCPRELAY-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-DHCPRELAY-MIB::h3cDHCPROption82Switch.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-DHCPRELAY-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-DHCPRELAY-MIB::h3cDHCPROption82Switch'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |