L2PROTOCOL-TUNNEL-MIB :: swL2PTState

MIB Reference — IPNetwork Monitor · Updated October 06, 2026

All MIBs › L2PROTOCOL-TUNNEL-MIB › swL2PTState

swL2PTState

Module: L2PROTOCOL-TUNNEL-MIB

OID (symbolic): L2PROTOCOL-TUNNEL-MIB::swL2PTState

OID (numeric): 1.3.6.1.4.1.171.12.93.1.1

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: This object indicates the global state of Layer 2 protocol tunneling.

What is swL2PTState?

This object is the master on/off switch for Layer 2 Protocol Tunneling (L2PT) on the switch, a feature that lets protocols like STP or GVRP pass transparently through the provider's network between customer sites. An administrator sets it to enabled to activate tunneling switch-wide, or disabled to turn the feature off entirely regardless of any individual port settings. For example, setting this object to disabled(2) would stop the switch from tunneling any Layer 2 protocol frames even if individual ports are still configured as UNI ports.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.12.93.1.1
snmpwalk -v2c -c public <target> L2PROTOCOL-TUNNEL-MIB::swL2PTState

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.171.12.93.1.1.1
snmpget -v2c -c public <target> L2PROTOCOL-TUNNEL-MIB::swL2PTState.1

Set instance 1 (SNMPv2c):

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

Start monitoring D-Link managed switch (Layer 2 Protocol Tunneling) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the L2PROTOCOL-TUNNEL-MIB::swL2PTState OID value, configure state conditions and alerts, and monitor any D-Link managed switch (Layer 2 Protocol Tunneling) 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.171d_linkDE1500-MIB
1.3.6.1.4.1.171.12dlink_common_mgmtDLINK-ID-REC-MIB
Numeric OIDNameModule
1.3.6.1.4.1.171.12.93swL2ProtocolTunnelMIBL2PROTOCOL-TUNNEL-MIB
1.3.6.1.4.1.171.12.93.1swL2PTMIBObjectsL2PROTOCOL-TUNNEL-MIB
1.3.6.1.4.1.171.12.93.1.1swL2PTStateL2PROTOCOL-TUNNEL-MIB