rcDhcpOption82RemoteIDMode
DHCP-OPTION-MIB ·
.1.3.6.1.4.1.8886.6.1.41.1.2.2
Object
scalar r/w
Enumeration
mode of Remote-ID, switchmac:switch MAC as HEX;clientmac:client MAC as HEX; switchmac-string:switch MAX as string;clientmac-string:client MAC as string; hostname:host name of device;user-defined:string of user set.
Context
- MIB
- DHCP-OPTION-MIB
- OID
.1.3.6.1.4.1.8886.6.1.41.1.2.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- rcDhcpOption82ConfigGroup
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 'DHCP-OPTION-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DHCP-OPTION-MIB::rcDhcpOption82RemoteIDMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DHCP-OPTION-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DHCP-OPTION-MIB::rcDhcpOption82RemoteIDMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | switchmac |
2 | clientmac |
3 | switchmac-string |
4 | clientmac-string |
5 | hostname |
6 | user-defined |