All MIBs › HUAWEI-L2VLAN-MIB › hwL2VlanPrecedence
hwL2VlanPrecedence
Module: HUAWEI-L2VLAN-MIB
OID (symbolic): HUAWEI-L2VLAN-MIB::hwL2VlanPrecedence
OID (numeric): 1.3.6.1.4.1.2011.5.25.42.3.1.2.34
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Determine whether to select the MAC-based VLAN or subnet-based VLAN, 1:MAC VLAN(default); 2:IPSUBNET VLAN.
What is hwL2VlanPrecedence?
Selects which VLAN-assignment method takes precedence when both MAC-based and IP-subnet-based VLAN rules could match: macvlan(1, default) or ipsubnetvlan(2). An admin sets ipsubnetvlan to prioritize subnet-based classification over MAC-based rules when both are configured on the device.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.3.1.2.34 snmpwalk -v2c -c public <target> HUAWEI-L2VLAN-MIB::hwL2VlanPrecedence
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.3.1.2.34.1 snmpget -v2c -c public <target> HUAWEI-L2VLAN-MIB::hwL2VlanPrecedence.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.25.42.3.1.2.34.1 i <value>
Start monitoring Huawei VRP-based Ethernet switch or router (VLAN/QinQ/super-VLAN management) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-L2VLAN-MIB::hwL2VlanPrecedence OID value, configure state conditions and alerts, and monitor any Huawei VRP-based Ethernet switch or router (VLAN/QinQ/super-VLAN management) 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 | EXPERTV2-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-IPDSLAM-MSTP-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.25.42.3 | hwL2Vlan | HUAWEI-L2VLAN-MIB |
| 1.3.6.1.4.1.2011.5.25.42.3.1 | hwL2VlanMngObjects | HUAWEI-L2VLAN-MIB |
| 1.3.6.1.4.1.2011.5.25.42.3.1.2 | hwL2VlanApply | HUAWEI-L2VLAN-MIB |
| 1.3.6.1.4.1.2011.5.25.42.3.1.2.34 | hwL2VlanPrecedence | HUAWEI-L2VLAN-MIB |