All MIBs › HUAWEI-L2VLAN-MIB › hwL2VlanVoiceVlanEnabledVlanId
hwL2VlanVoiceVlanEnabledVlanId
Module: HUAWEI-L2VLAN-MIB
OID (symbolic): HUAWEI-L2VLAN-MIB::hwL2VlanVoiceVlanEnabledVlanId
OID (numeric): 1.3.6.1.4.1.2011.5.25.42.3.1.2.22
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description: Indicates the global voice VLAN ID. Global voice VLAN is enabled if the value ranges from 1 to 4094; global voice VLAN is disabled if the value is 0.
What is hwL2VlanVoiceVlanEnabledVlanId?
The global voice-VLAN ID; setting it to a value from 1-4094 enables the global voice VLAN feature using that VLAN, while 0 disables it entirely. An admin sets this to designate which VLAN should carry auto-detected VoIP phone traffic device-wide.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.3.1.2.22 snmpwalk -v2c -c public <target> HUAWEI-L2VLAN-MIB::hwL2VlanVoiceVlanEnabledVlanId
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.3.1.2.22.1 snmpget -v2c -c public <target> HUAWEI-L2VLAN-MIB::hwL2VlanVoiceVlanEnabledVlanId.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.25.42.3.1.2.22.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::hwL2VlanVoiceVlanEnabledVlanId 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.22 | hwL2VlanVoiceVlanEnabledVlanId | HUAWEI-L2VLAN-MIB |