hwPPPoAMacMode
HUAWEI-VLAN-MIB ·
.1.3.6.1.4.1.2011.5.6.1.25.1.30
Object
column r/w
Enumeration
Indicates the VLAN-based PPPoA 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 PPPoA single-MAC function in the global mode can be set in hwIpDslamPPPoAMacMode of HUAWEI-IPDSLAM-PPPOE-MIB. The VLAN-based PPPoA single-MAC function can also be configured in hwIpDslamL2pVlanCtrlPppoaMacMode of hwIpDslamL2pVlanCtrlTable in HUAWEI-IPDSLAM-L2PPORTCONFIG-MIB. The final status of the PPPoA single-MAC function is determined by its global-level switch and VLAN-level switch. The PPPoA 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 PPPoA 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.30- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwVlanSrvProfEntry
Net-SNMP examples
How SNMP and these commands workWalk 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::hwPPPoAMacMode'
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::hwPPPoAMacMode.<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::hwPPPoAMacMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | multiMac |
2 | singleMac |
3 | notConfig |