MY-VLAN-MIB :: myVlanPortConfigMode

MIB Reference — IPNetwork Monitor · Updated October 02, 2026

All MIBs › MY-VLAN-MIB › myVlanPortConfigMode

myVlanPortConfigMode

Module: MY-VLAN-MIB

OID (symbolic): MY-VLAN-MIB::myVlanPortConfigMode

OID (numeric): 1.3.6.1.4.1.171.10.97.2.9.1.6.1.2

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-only

Description: Port mode, indicates that port is an access(1), trunk(2), dot1q-tunnel(3), hybrid(4), other(5), uplink(6), host(7) or promiscuous(8) port.

What is myVlanPortConfigMode?

This current, read-only object reports the operating mode of a switch port -- access, trunk, dot1q-tunnel, hybrid, other, uplink, host, or promiscuous. An admin checks it to confirm how a port is configured before deciding whether access-VLAN or trunk-VLAN settings on that port will actually take effect, since the mode itself is set via MY-INTERFACE-MIB rather than here. For example, a port returning trunk(2) tells the admin that myVlanPortNativeVlan and myVlanPortAllowedVlanList are the relevant settings, not myVlanPortAccessVlan.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.9.1.6.1.2
snmpwalk -v2c -c public <target> MY-VLAN-MIB::myVlanPortConfigMode

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.9.1.6.1.2.1
snmpget -v2c -c public <target> MY-VLAN-MIB::myVlanPortConfigMode.1

Start monitoring D-Link managed switch (802.1Q VLAN configuration) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the MY-VLAN-MIB::myVlanPortConfigMode OID value, configure state conditions and alerts, and monitor any D-Link managed switch (802.1Q VLAN configuration) 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.171d_linkDE1500-MIB
1.3.6.1.4.1.171.10dlink_productsDES-1226G-MIB
1.3.6.1.4.1.171.10.97switchMibMY-SMI
1.3.6.1.4.1.171.10.97.2myMgmtMY-SMI
Numeric OIDNameModule
1.3.6.1.4.1.171.10.97.2.9myVlanMIBMY-VLAN-MIB
1.3.6.1.4.1.171.10.97.2.9.1myVlanMIBObjectsMY-VLAN-MIB
1.3.6.1.4.1.171.10.97.2.9.1.6myVlanPortConfigTableMY-VLAN-MIB
1.3.6.1.4.1.171.10.97.2.9.1.6.1myVlanPortConfigEntryMY-VLAN-MIB
1.3.6.1.4.1.171.10.97.2.9.1.6.1.2myVlanPortConfigModeMY-VLAN-MIB