TPLINK-L2PROTOCOL-TUNNEL-MIB :: tpL2ptType

MIB Reference — IPNetwork Monitor · Updated October 06, 2026

All MIBs › TPLINK-L2PROTOCOL-TUNNEL-MIB › tpL2ptType

tpL2ptType

Module: TPLINK-L2PROTOCOL-TUNNEL-MIB

OID (symbolic): TPLINK-L2PROTOCOL-TUNNEL-MIB::tpL2ptType

OID (numeric): 1.3.6.1.4.1.11863.6.81.1.2.1.1.2

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: The type of the port.

What is tpL2ptType?

This read-write value sets the L2PT role of a port: none(0) disables tunneling on it, uni(1) makes it a user-to-network interface (facing the customer), and nni(2) makes it a network-to-network interface (facing the provider core). Admins configure it per port to define which side of the tunnel boundary that port represents. For example, setting tpL2ptType to uni(1) on a customer-facing access port designates it as the ingress point where Layer 2 protocol frames get encapsulated for tunneling.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11863.6.81.1.2.1.1.2
snmpwalk -v2c -c public <target> TPLINK-L2PROTOCOL-TUNNEL-MIB::tpL2ptType

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.11863.6.81.1.2.1.1.2.1
snmpget -v2c -c public <target> TPLINK-L2PROTOCOL-TUNNEL-MIB::tpL2ptType.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.11863.6.81.1.2.1.1.2.1 i <value>

SNMPv3 example:

snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> tpL2ptType.1

Start monitoring TP-Link managed switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the TPLINK-L2PROTOCOL-TUNNEL-MIB::tpL2ptType OID value, configure state conditions and alerts, and monitor any TP-Link managed switches from a single console.

OID Breakdown

Upper-level ancestors (8 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.11863tplinkTPLINK-MIB
1.3.6.1.4.1.11863.6tplinkMgmtTPLINK-MIB
Numeric OIDNameModule
1.3.6.1.4.1.11863.6.81tplinkL2protocolTunnelMIBTPLINK-L2PROTOCOL-TUNNEL-MIB
1.3.6.1.4.1.11863.6.81.1tplinkL2protocolTunnelMIBObjectsTPLINK-L2PROTOCOL-TUNNEL-MIB
1.3.6.1.4.1.11863.6.81.1.2tpL2ptPortCfgTPLINK-L2PROTOCOL-TUNNEL-MIB
1.3.6.1.4.1.11863.6.81.1.2.1tpL2ptPortTableTPLINK-L2PROTOCOL-TUNNEL-MIB
1.3.6.1.4.1.11863.6.81.1.2.1.1tpL2ptPortEntryTPLINK-L2PROTOCOL-TUNNEL-MIB
1.3.6.1.4.1.11863.6.81.1.2.1.1.2tpL2ptTypeTPLINK-L2PROTOCOL-TUNNEL-MIB