hwFabricMacLearning
HUAWEI-ETHERLIKE-EXT-MIB ·
.1.3.6.1.4.1.2011.5.14.1.7
Object
scalar r/w
Enumeration
Indicates the MAC address learning switch of the LSW chip of the control board. Options: 1. enable(1) -indicates that the MAC address learning switch is enabled 2. disable(2) -indicates that the MAC address learning switch is disabled Default: enable(1)
Context
- MIB
- HUAWEI-ETHERLIKE-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.14.1.7- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwL2IfMibObject
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-ETHERLIKE-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ETHERLIKE-EXT-MIB::hwFabricMacLearning.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-ETHERLIKE-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-ETHERLIKE-EXT-MIB::hwFabricMacLearning'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |