h3cMACInformationLearntMACNum

H3C-MAC-INFORMATION-MIB · .1.3.6.1.4.1.2011.10.2.87.1.1.3

Object

The number of MAC addresses that learnt by the device since the
h3cMACInformationEnabled is set to enabled(1) and h3cMACLearntEnable
is set to enabled(1) at least on one interface. If the h3cMACInformationEnabled
is set to disabled(2), the object will always return 0.

Context

MIB
H3C-MAC-INFORMATION-MIB
OID
.1.3.6.1.4.1.2011.10.2.87.1.1.3
Type
scalar
Access
readonly
Status
current
Parent
h3cMACInformationMibGlobal

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-MAC-INFORMATION-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-MAC-INFORMATION-MIB::h3cMACInformationLearntMACNum.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-MAC-INFORMATION-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-MAC-INFORMATION-MIB::h3cMACInformationLearntMACNum'

Syntax

Source
SNMPv2-SMICounter32
Base type
Unsigned32

Values & Constraints

Type Constraints
range: 0..4294967295