swProtocolVLANencap
SWPROTOCOLVLAN-MIB ·
.1.3.6.1.4.1.171.12.16.1.1.1.6
Object
column obsolete
r/w
Enumeration
If the protocol type is protocol-userDefined(16), this value will fill with the encap type. For other protocol types, this value will be ignored. The group encap type includes ethernet(1), llc(2), snap(3),and all(4).
Context
- MIB
- SWPROTOCOLVLAN-MIB
- OID
.1.3.6.1.4.1.171.12.16.1.1.1.6- Type
- column
- Access
- readwrite
- Status
- obsolete
- Parent
- swProtocolVLANEntry
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 'SWPROTOCOLVLAN-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWPROTOCOLVLAN-MIB::swProtocolVLANencap'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWPROTOCOLVLAN-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWPROTOCOLVLAN-MIB::swProtocolVLANencap.<swProtocolVLANIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWPROTOCOLVLAN-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWPROTOCOLVLAN-MIB::swProtocolVLANencap'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | ethernet |
2 | llc |
3 | snap |
4 | all |