swDHCPRelayOption82RemoteIDType
DHCP-RELAY-MGMT-MIB ·
.1.3.6.1.4.1.171.12.42.3.2.4
Object
scalar r/w
Enumeration
This object indicates the type of remote ID. If the type is default,the remote ID will be the System??s MAC address. If the type is user-defined, the remote ID can be defined by writing to the swDHCPRelayOption82RemoteID object. If the type is vendor2, the remote ID will be the System Name. If the type is vendor3, the remote ID will configured in swDHCPRelayOption82PerPortRemoteIdTable
Context
- MIB
- DHCP-RELAY-MGMT-MIB
- OID
.1.3.6.1.4.1.171.12.42.3.2.4- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- swDHCPRelayOption82
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-RELAY-MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DHCP-RELAY-MGMT-MIB::swDHCPRelayOption82RemoteIDType.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DHCP-RELAY-MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DHCP-RELAY-MGMT-MIB::swDHCPRelayOption82RemoteIDType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | default |
2 | user-defined |
4 | vendor2 |
5 | vendor3 |