swVoiceVlanPortMode
VOICE-VLAN-MIB ·
.1.3.6.1.4.1.171.12.74.3.2.1.3
Object
column r/w
Enumeration
Port mode just indicates which mode of voice VLAN function is supported by port. If in auto mode, the port can be added in to voice VLAN automatically when it connects to an IP phone. Otherwise, the port is just added manually.
Context
- MIB
- VOICE-VLAN-MIB
- OID
.1.3.6.1.4.1.171.12.74.3.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swVoiceVlanPortEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -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::swVoiceVlanPortMode'
More examples
Read one indexed 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::swVoiceVlanPortMode.<swVoiceVlanPortNumber>'
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::swVoiceVlanPortMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | auto |
2 | manual |