hm2AgentDhcpL2RelayVlanRemoteIdType
HM2-PLATFORM-SWITCHING-MIB ·
.1.3.6.1.4.1.248.12.1.2.8.24.3.1.248
Object
column r/w
Enumeration
This option determines the content of the option 82 Remote ID. ip(1) - inserts the IP address mac(2) - inserts the MAC adress client-id(3) - inserts the client identifier (sysName) other(4) - inserts the value in hm2AgentDhcpL2RelayRemoteIdVlanEnable
Context
- MIB
- HM2-PLATFORM-SWITCHING-MIB
- OID
.1.3.6.1.4.1.248.12.1.2.8.24.3.1.248- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hm2AgentDhcpL2RelayVlanConfigEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HM2-PLATFORM-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentDhcpL2RelayVlanRemoteIdType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-PLATFORM-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentDhcpL2RelayVlanRemoteIdType.<hm2AgentDhcpL2RelayVlanIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-PLATFORM-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentDhcpL2RelayVlanRemoteIdType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | ip |
2 | mac |
3 | client-id |
4 | other |