swVoiceVlanId

VOICE-VLAN-MIB · .1.3.6.1.4.1.171.12.74.1.1

Object

The VLAN ID of the voice VLAN. The voice VLAN is used to assign 
VLANs for untagged voice packets.
The value zero is for display only and not configurable, which 
means there is no voice VLAN on the switch.

Context

MIB
VOICE-VLAN-MIB
OID
.1.3.6.1.4.1.171.12.74.1.1
Type
scalar
Access
readwrite
Status
current
Parent
swVoiceVlanCtrl

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'VOICE-VLAN-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'VOICE-VLAN-MIB::swVoiceVlanId.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'VOICE-VLAN-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'VOICE-VLAN-MIB::swVoiceVlanId'

Syntax

Values & Constraints

Type Constraints
range: 0..4094