hwPPPoEMacMode

HUAWEI-VLAN-MIB · .1.3.6.1.4.1.2011.5.6.1.25.1.5

Object

column r/w Enumeration
Indicates the VLAN-based PPPoE single-MAC function.
Options:
1. multiMac(1) -indicates that the multi-MAC mode is adopted.
2. singleMac(2) -indicates that the single-MAC mode is adopted.
3. notConfig(3)   -indicate by VLAN single switch.
This leaf is optional for creating a VLAN service profile.
The PPPoE single-MAC function in the global mode can be set
in hwIpDslamPPPoEMacMode of HUAWEI-IPDSLAM-PPPOE-MIB.
The VLAN-based PPPoE single-MAC function can also be configured
in hwIpDslamL2pVlanCtrlPppoeMacMode of
hwIpDslamL2pVlanCtrlTable in HUAWEI-IPDSLAM-L2PPORTCONFIG-MIB.
The final status of the PPPoE single-MAC function is determined
by its global-level switch and VLAN-level switch.
The PPPoE single-MAC function of a VLAN is enabled only
when the switches at both levels are enabled.
If a VLAN service profile is bound to the VLAN,
the configuration of the VLAN-based PPPoE single-MAC
function in the VLAN service profile takes effect.

Context

MIB
HUAWEI-VLAN-MIB
OID
.1.3.6.1.4.1.2011.5.6.1.25.1.5
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::hwPPPoEMacMode'
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::hwPPPoEMacMode.<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::hwPPPoEMacMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1multiMac
2singleMac
3notConfig