All MIBs › VOICE-VLAN-MIB › swVoiceVlanId
swVoiceVlanId
Module: VOICE-VLAN-MIB
OID (symbolic): VOICE-VLAN-MIB::swVoiceVlanId
OID (numeric): 1.3.6.1.4.1.171.12.74.1.1
Node type: OBJECT-TYPE
Type: VlanIdOrNone
Access: read-write
Description: The VLAN ID of the voice VLAN. The voice VLAN is used to asssign VLAN for untagged voice packets. If the value zero is for display only and not configurable, which means there is no voice VLAN on the switch.
What is swVoiceVlanId?
This object holds the VLAN ID designated as the voice VLAN, into which untagged voice traffic is assigned; a value of zero is display-only and indicates no voice VLAN is currently configured on the switch. An admin sets this to a dedicated VLAN, such as 100, before enabling the voice VLAN feature globally, since the VID must be set first for the feature to function. This VLAN is what carries prioritized voice packets separately from regular data VLANs on the same port.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.12.74.1.1 snmpwalk -v2c -c public <target> VOICE-VLAN-MIB::swVoiceVlanId
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.12.74.1.1.1 snmpget -v2c -c public <target> VOICE-VLAN-MIB::swVoiceVlanId.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.12.74.1.1.1 s <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> swVoiceVlanId.1
Start monitoring D-Link switches (voice-VLAN port assignment/QoS-priority config status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the VOICE-VLAN-MIB::swVoiceVlanId OID value, configure state conditions and alerts, and monitor any D-Link switches (voice-VLAN port assignment/QoS-priority config status) from a single console.
OID Breakdown
Upper-level ancestors (8 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.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.12 | dlink_common_mgmt | DLINK-ID-REC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.12.74 | swVoiceVLANMIB | VOICE-VLAN-MIB |
| 1.3.6.1.4.1.171.12.74.1 | swVoiceVlanCtrl | VOICE-VLAN-MIB |
| 1.3.6.1.4.1.171.12.74.1.1 | swVoiceVlanId | VOICE-VLAN-MIB |