hwIPoEMacMode

HUAWEI-VLAN-MIB · .1.3.6.1.4.1.2011.5.6.1.25.1.20

Object

column r/w Enumeration
Indicates the mode of allocating MAC addresses to DHCP users.
Options:
1. multiMac(1)  -indicates the multi-MAC mode.
2. singleMac(2) -indicates the single-MAC mode.
This leaf is optional for creating a VLAN service profile.
The global mode of allocating MAC addresses to DHCP users
can be configured in hwIpDslamIPoEMacMode of HUAWEI-IPDSLAM-VMAC-MIB.
The final status of the mode of allocating MAC addresses to DHCP
users is determined by its global-level switch and VLAN-level switch.
The single-MAC mode of a VLAN can be enabled only when
the single-MAC mode is enabled at both levels.

Context

MIB
HUAWEI-VLAN-MIB
OID
.1.3.6.1.4.1.2011.5.6.1.25.1.20
Type
column
Access
readwrite
Status
current
Parent
hwVlanSrvProfEntry

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1multiMac
2singleMac