SWL2MGMT-MIB :: swL2StaticVlanEncap

MIB Reference — IPNetwork Monitor · Updated October 06, 2026

All MIBs › SWL2MGMT-MIB › swL2StaticVlanEncap

swL2StaticVlanEncap

Module: SWL2MGMT-MIB

OID (symbolic): SWL2MGMT-MIB::swL2StaticVlanEncap

OID (numeric): 1.3.6.1.4.1.2272.1.201.1.2.7.1.1.8

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: This value is meaningful only if swL2StaticVlanProtocolId is set to userDefined(16). Otherwise, this object should be un-used(5). If If this set to ethernet2(2), the Detagged Frame uses Type-encapsulated 802.3 format. If this set to llc(3), the Detagged Frame contains both a DSAP and an SSAP address field in the positions. If this set to snap(4), the Detagged Frame is of the format specified by IEEE Std. 802.1H for the encoding of an IEEE 802.3 Type Field in an 802.2/SNAP header.

What is swL2StaticVlanEncap?

Read-write frame encapsulation for a user-defined protocol VLAN: all(1), ethernet2(2), llc(3) or snap(4); it is meaningful only when swL2StaticVlanProtocolId is userDefined(16) and should otherwise be un-used(5). It tells the switch which frame format to match when classifying untagged frames into the VLAN.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2272.1.201.1.2.7.1.1.8
snmpwalk -v2c -c public <target> SWL2MGMT-MIB::swL2StaticVlanEncap

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.2272.1.201.1.2.7.1.1.8.1
snmpget -v2c -c public <target> SWL2MGMT-MIB::swL2StaticVlanEncap.1

Set instance 1 (SNMPv2c):

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

Start monitoring D-Link managed Layer 2 Ethernet switch (MAC learning/VLAN/spanning-tree status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SWL2MGMT-MIB::swL2StaticVlanEncap OID value, configure state conditions and alerts, and monitor any D-Link managed Layer 2 Ethernet switch (MAC learning/VLAN/spanning-tree status) from a single console.

OID Breakdown

Upper-level ancestors (10 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.2272rapidCityRAPID-CITY
1.3.6.1.4.1.2272.1rcMgmtRAPID-CITY
1.3.6.1.4.1.2272.1.201cobraSWPRIMGMT-MIB
1.3.6.1.4.1.2272.1.201.1privateMgmtSWPRIMGMT-MIB
Numeric OIDNameModule
1.3.6.1.4.1.2272.1.201.1.2swL2MgmtMIBSWL2MGMT-MIB
1.3.6.1.4.1.2272.1.201.1.2.7swL2VlanMgmtSWL2MGMT-MIB
1.3.6.1.4.1.2272.1.201.1.2.7.1swL2StaticVlanTableSWL2MGMT-MIB
1.3.6.1.4.1.2272.1.201.1.2.7.1.1swL2StaticVlanEntrySWL2MGMT-MIB
1.3.6.1.4.1.2272.1.201.1.2.7.1.1.8swL2StaticVlanEncapSWL2MGMT-MIB