myIfMacAddrLearntEnable
MY-ADDRESS-MIB ·
.1.3.6.1.4.1.4881.1.1.10.2.22.1.2.6.1.2
Object
Indicates whether this interface is enabled to send
MacChangedNotification when it learns a new MAC address. This
variable has no effect when the value of myMacNotiGlobalEnabled
object is disabled(2).
Setting this object to enabled(1) enables the sending of
MacChangedNotification when this interface learns a
new MAC address.
Setting this object to disabled(2) disables the sending
of MacChangedNotification when this interface learns
a new MAC address.
Context
- MIB
- MY-ADDRESS-MIB
- OID
.1.3.6.1.4.1.4881.1.1.10.2.22.1.2.6.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- myMacNotiIfCfgEntry
- Groups
- 1
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 'MY-ADDRESS-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-ADDRESS-MIB::myIfMacAddrLearntEnable'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MY-ADDRESS-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-ADDRESS-MIB::myIfMacAddrLearntEnable.<myMacNotiIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MY-ADDRESS-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MY-ADDRESS-MIB::myIfMacAddrLearntEnable'
Syntax
- Source
- P-BRIDGE-MIBEnabledStatus
- Base type
Enumeration
Values & Constraints
Type Values
1 | enabled |
2 | disabled |
Conformance
Member of