hwAntiMacDuplicateSwitch

HUAWEI-VLAN-MIB · .1.3.6.1.4.1.2011.5.6.1.25.1.47

Object

column r/w Enumeration
Indicates the VLAN-based mac-duplicate function.
Options:
1. enable(1)     -indicates that the mac-duplicate function is enabled.
2. disable(2)    -indicates that the mac-duplicate function is disabled.
3. notConfig(3)  -indicates by VLAN single switch.
This leaf is optional for creating a VLAN service profile.
The VLAN-based mac-duplicate function can be configured in
hwIpDslamL2pVlanCtrlAntiMacDuplicate of HUAWEI-IPDSLAML2PPORTCONFIG-MIB.
The status of the mac-duplicate function is determined by its
VLAN-level switch. The mac-duplicate function of a VLAN is enabled
only when the VLAN-level switch is enabled.
If a VLAN service profile is bound to the VLAN,
the configuration of the VLAN-based mac-duplicate 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.47
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::hwAntiMacDuplicateSwitch'
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::hwAntiMacDuplicateSwitch.<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::hwAntiMacDuplicateSwitch'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1enable
2disable
3notConfig