tpL2ptProtocol
TPLINK-L2PROTOCOL-TUNNEL-MIB ·
.1.3.6.1.4.1.11863.6.81.1.2.1.1.3
Object
column r/w
OctetString
The tunnel protocol of the port.
Context
- MIB
- TPLINK-L2PROTOCOL-TUNNEL-MIB
- OID
.1.3.6.1.4.1.11863.6.81.1.2.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- tpL2ptPortEntry
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 'TPLINK-L2PROTOCOL-TUNNEL-MIB' -M '/opt/observium/mibs/tplink:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TPLINK-L2PROTOCOL-TUNNEL-MIB::tpL2ptProtocol'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TPLINK-L2PROTOCOL-TUNNEL-MIB' -M '/opt/observium/mibs/tplink:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TPLINK-L2PROTOCOL-TUNNEL-MIB::tpL2ptProtocol.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TPLINK-L2PROTOCOL-TUNNEL-MIB' -M '/opt/observium/mibs/tplink:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TPLINK-L2PROTOCOL-TUNNEL-MIB::tpL2ptProtocol'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-255