hwIpDslamL2pVlanCtrlMacSpoofing

HUAWEI-IPDSLAML2PPORTCONFIG-MIB · .1.3.6.1.4.1.2011.6.109.3.1.2

Object

column r/w Enumeration
Used for setting or querying the anti-MAC-spoofing status of the VLAN. 
Options: 
1. disable(1) -indicates the anti-MAC-spoofing switch of the VLAN is off
2. enable(2)  -indicates the anti-MAC-spoofing switch of the VLAN is on
Default: disable(1)

Context

MIB
HUAWEI-IPDSLAML2PPORTCONFIG-MIB
OID
.1.3.6.1.4.1.2011.6.109.3.1.2
Type
column
Access
readwrite
Status
current
Parent
hwIpDslamL2pVlanCtrlEntry

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1disable
2enable