hwVmacStatus

HUAWEI-VLAN-MIB · .1.3.6.1.4.1.2011.5.6.1.25.1.19

Object

column r/w Enumeration
Indicates the VLAN-based VMAC function.
Options:
1. enable(1)  -indicates that the VMAC function is enabled.
2. disable(2) -indicates that the VMAC function is disabled.
3. notConfig(3)   -indicate by VLAN single switch.
This leaf is optional for creating a VLAN service profile.
The global VMAC function can be configured in hwIpDslamVmacStatus
of HUAWEI-IPDSLAM-VMAC-MIB. The VLAN-based VMAC function can
also be configured hwIpDslamL2pVlanCtrlVmacStatus
of HUAWEI-IPDSLAM-L2PPORTCONFIG-MIB.
The final status of the VMAC function is determined by its
global-level switch and VLAN-level switch. The VMAC 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 VMAC 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.19
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::hwVmacStatus'
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::hwVmacStatus.<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::hwVmacStatus'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1enable
2disable
3notConfig