hm2LLDPIfFDBMode

HM2-LLDP-MIB · .1.3.6.1.4.1.248.11.34.1.1.2.1.2

Object

column r/w Enumeration
If configured to lldpOnly(1), only received LLDP messages
will be used to populate the LLDP-MIB's remTable.
If configured to macOnly(2), a learned mac addresses out of the 
switch's forwarding database (FDB) will be used to populate the 
LLDP-MIB's remTable. A learned mac address will only be used when exactly 
one mac address entry is present in the FDB for the interface.
If configured to both(3), both received LLDP messages
and a learned mac addresses out of the switch's FDB
will be used to populate the LLDP-MIB's remTable.
If configured to autoDetect(4) and LLDP messages are received on this 
port, this mode will behave like lldpOnly(1), 
otherwise it will behave like macOnly(2).

Context

MIB
HM2-LLDP-MIB
OID
.1.3.6.1.4.1.248.11.34.1.1.2.1.2
Type
column
Access
readwrite
Status
current
Parent
hm2LLDPIfEntry

Walk 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-LLDP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-LLDP-MIB::hm2LLDPIfFDBMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-LLDP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-LLDP-MIB::hm2LLDPIfFDBMode.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-LLDP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-LLDP-MIB::hm2LLDPIfFDBMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1lldpOnly
2macOnly
3both
4autoDetect