All MIBs › HUAWEI-VLAN-MIB › hwAntiMacSpoofingSwitch
hwAntiMacSpoofingSwitch
Module: HUAWEI-VLAN-MIB
OID (symbolic): HUAWEI-VLAN-MIB::hwAntiMacSpoofingSwitch
OID (numeric): 1.3.6.1.4.1.2011.5.6.1.25.1.4
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description:
Indicates the VLAN-based anti-MAC-spoofing function. Options: 1. enable(1) -indicates that the anti-MAC-spoofing function is enabled. 2. disable(2)-indicates that the anti-MAC spoofing function is disabled. 3. notConfig(3) -indicate by VLAN single switch. This leaf is optional for creating a VLAN service profile. The anti-MAC spoofing function in the global mode can be set in hwIpDslamAntiMacSpoofingStatus of HUAWEI-IPDSLAM-SECURITY-MIB. The VLAN-based anti-MAC-spoofing function can also be configured in hwIpDslamL2pVlanCtrlMacSpoofing of hwIpDslamL2pVlanCtrlTable in HUAWEI-IPDSLAM-L2PPORTCONFIG-MIB. The final status of the anti-MAC-spoofing function is determined by its global-level switch and VLAN-level switch. The anti-MAC spoofing 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 anti-MAC-spoofing function in the VLAN service profile takes effect.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.6.1.25.1.4 snmpwalk -v2c -c public <target> HUAWEI-VLAN-MIB::hwAntiMacSpoofingSwitch
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.6.1.25.1.4.1 snmpget -v2c -c public <target> HUAWEI-VLAN-MIB::hwAntiMacSpoofingSwitch.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.6.1.25.1.4.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> hwAntiMacSpoofingSwitch.1
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.2011 | huawei | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.6 | hwVlan | HUAWEI-MIB |
| 1.3.6.1.4.1.2011.5.6.1 | hwVlanMngObject | HUAWEI-VLAN-IF-MIB |
| 1.3.6.1.4.1.2011.5.6.1.25 | hwVlanSrvProfTable | HUAWEI-VLAN-MIB |
| 1.3.6.1.4.1.2011.5.6.1.25.1 | hwVlanSrvProfEntry | HUAWEI-VLAN-MIB |
| 1.3.6.1.4.1.2011.5.6.1.25.1.4 | hwAntiMacSpoofingSwitch | HUAWEI-VLAN-MIB |