All MIBs › HUAWEI-VLAN-MIB › hwMethL2Vlan
hwMethL2Vlan
Module: HUAWEI-VLAN-MIB
OID (symbolic): HUAWEI-VLAN-MIB::hwMethL2Vlan
OID (numeric): 1.3.6.1.4.1.2011.5.6.1.23
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description: set the Meth L2 function of the VLAN.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.6.1.23 snmpwalk -v2c -c public <target> HUAWEI-VLAN-MIB::hwMethL2Vlan
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.6.1.23.1 snmpget -v2c -c public <target> HUAWEI-VLAN-MIB::hwMethL2Vlan.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.6.1.23.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> hwMethL2Vlan.1
Start monitoring Huawei enterprise/campus switch (VLAN configuration, e.g. CloudEngine S5735-L-V2) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-VLAN-MIB::hwMethL2Vlan OID value, configure state conditions and alerts, and monitor any Huawei enterprise/campus switch (VLAN configuration, e.g. CloudEngine S5735-L-V2) from a single console.
OID Breakdown
Upper-level ancestors (10 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-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 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.6.1.23 | hwMethL2Vlan | HUAWEI-VLAN-MIB |