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 OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.12 | dlink_common_mgmt | DLINK-ID-REC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.12.93 | swL2ProtocolTunnelMIB | L2PROTOCOL-TUNNEL-MIB |
| 1.3.6.1.4.1.171.12.93.1 | swL2PTMIBObjects | L2PROTOCOL-TUNNEL-MIB |
| 1.3.6.1.4.1.171.12.93.1.1 | swL2PTState | L2PROTOCOL-TUNNEL-MIB |