All MIBs › HUAWEI-L2IF-MIB › hwL2IfMacAddressLearn
hwL2IfMacAddressLearn
Module: HUAWEI-L2IF-MIB
OID (symbolic): HUAWEI-L2IF-MIB::hwL2IfMacAddressLearn
OID (numeric): 1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.7
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description:
Status indicates if the interface is allowed to learn mac address, enable(1) can be setted, (enabled(1) means that the interface can learn mac address), otherwise disabled(2) can be setted. discard(3) means the interface will drop packets.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.7 snmpwalk -v2c -c public <target> HUAWEI-L2IF-MIB::hwL2IfMacAddressLearn
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.7.1 snmpget -v2c -c public <target> HUAWEI-L2IF-MIB::hwL2IfMacAddressLearn.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.7.1 i <value>
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.25 | huaweiDatacomm | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.25.42 | hwL2Mgmt | HUAWEI-L2IF-MIB |
| 1.3.6.1.4.1.2011.5.25.42.1 | hwL2IfMib | HUAWEI-L2IF-MIB |
| 1.3.6.1.4.1.2011.5.25.42.1.1 | hwL2IfObjects | HUAWEI-L2IF-MIB |
| 1.3.6.1.4.1.2011.5.25.42.1.1.1 | hwL2Interface | HUAWEI-L2IF-MIB |
| 1.3.6.1.4.1.2011.5.25.42.1.1.1.3 | hwL2IfTable | HUAWEI-L2IF-MIB |
| 1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1 | hwL2IfEntry | HUAWEI-L2IF-MIB |
| 1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.7 | hwL2IfMacAddressLearn | HUAWEI-L2IF-MIB |