hwL2VlanSmartMacLearn

HUAWEI-L2VLAN-MIB · .1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.18

Object

The value indicates whether the MAC address learning is opened, when the number of the port which is up state and belonging to the vlan is below and equal to two. The value enabled(1) indicates learning is not allowed, when the number of the port which is up state and belonging to the vlan is below and equal to two.
Just the common vlan and Sub-vlan have the attribute. Default value is disable(2).

Context

MIB
HUAWEI-L2VLAN-MIB
OID
.1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.18
Type
column
Access
readwrite
Status
current
Parent
hwL2VlanMIBEntry
Groups
1

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

Syntax

Values & Constraints

Type Values
1enabled
2disabled

Conformance