swProtocolVLANUserDefinedProtocol
SWPROTOCOLVLAN-MIB ·
.1.3.6.1.4.1.171.12.16.1.1.1.5
Object
column obsolete
r/w
Integer32
If the protocol type is protocol-userDefined(16), this value will fill with the user defined
protocol type. This value will be ignored for other protocol types.
The user cannot fill the pre-defined protocol type in this value.
These pre-defined protocol types are:
0x0800 PROTO_VLAN_IPETHER2
0x8035 PROTO_VLAN_RARPETHER2
0xFFFF PROTO_VLAN_IPX802_3
0xE0E0 PROTO_VLAN_IPX802_2
0x8137 PROTO_VLAN_IPXSNAP
0x8137 PROTO_VLAN_IPXETHER2
0x809B PROTO_VLAN_APLTKETHER2SNAP
0x6000 PROTO_VLAN_DECETHER2
0x6009 PROTO_VLAN_DECOTHERETHER2
0x0404 PROTO_VLAN_SNA802_2
0x80D5 PROTO_VLAN_SNAETHER2
0xF0F0 PROTO_VLAN_NETBIOS
0x0600 PROTO_VLAN_XNSETHER2
0x0BAD PROTO_VLAN_VINESETHER2
0x86DD PROTO_VLAN_IPV6ETHER2
Context
- MIB
- SWPROTOCOLVLAN-MIB
- OID
.1.3.6.1.4.1.171.12.16.1.1.1.5- 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::swProtocolVLANUserDefinedProtocol'
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::swProtocolVLANUserDefinedProtocol.<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::swProtocolVLANUserDefinedProtocol'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65535