hwMacAddressLearnPolicy
HUAWEI-ETHERLIKE-EXT-MIB ·
.1.3.6.1.4.1.2011.5.14.1.12
Object
scalar r/w
Enumeration
Indicates the MAC address learning policy. Options: 1. svlanBased(1) -indicates that the MAC address learning is based on SVLAN(service VLAN) 2. cvlanBased(2) -indicates that the MAC address learning is based on CVLAN(client VLAN) Default: svlanBased(1)
Context
- MIB
- HUAWEI-ETHERLIKE-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.14.1.12- 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::hwMacAddressLearnPolicy.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::hwMacAddressLearnPolicy'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | svlanBased |
2 | cvlanBased |