DLINKSW-VLAN-MIB :: dVlanPortIfVlanPrecedence

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › DLINKSW-VLAN-MIB › dVlanPortIfVlanPrecedence

dVlanPortIfVlanPrecedence

Module: DLINKSW-VLAN-MIB

OID (symbolic): DLINKSW-VLAN-MIB::dVlanPortIfVlanPrecedence

OID (numeric): 1.3.6.1.4.1.171.26.21.1.4.1.4

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: This object indicates the VLAN classification precedence for the port.

macVlan - MAC-based VLAN classification has higher precedence than subnet-based VLAN.

subnetVlan - subnet-based VLAN classification has higher precedence than MAC-based VLAN.

Note: This value is meaningful only when the VLAN mode of the port is 'hybrid' or 'dot1qTunnel'.

What is dVlanPortIfVlanPrecedence?

This value, meaningful only when a port's mode is hybrid or dot1qTunnel, sets whether MAC-based or subnet-based VLAN classification takes precedence when both could match the same untagged frame. An admin uses it to resolve conflicts when a device's MAC address matches one VLAN rule while its IP subnet matches another. For example, setting this to subnetVlan(2) means a host's subnet-based mapping overrides any MAC-based VLAN entry that might also apply to it.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.26.21.1.4.1.4
snmpwalk -v2c -c public <target> DLINKSW-VLAN-MIB::dVlanPortIfVlanPrecedence

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.171.26.21.1.4.1.4.1
snmpget -v2c -c public <target> DLINKSW-VLAN-MIB::dVlanPortIfVlanPrecedence.1

Set instance 1 (SNMPv2c):

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

Start monitoring D-Link managed switch (VLAN/MAC-based VLAN extensions) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DLINKSW-VLAN-MIB::dVlanPortIfVlanPrecedence OID value, configure state conditions and alerts, and monitor any D-Link managed switch (VLAN/MAC-based VLAN extensions) 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.26dlinkIndustrialCommonDLINK-ID-REC-MIB
Numeric OIDNameModule
1.3.6.1.4.1.171.26.21dlinkSwVlanMIBDLINKSW-VLAN-MIB
1.3.6.1.4.1.171.26.21.1dVlanMIBObjectsDLINKSW-VLAN-MIB
1.3.6.1.4.1.171.26.21.1.4dVlanPortIfCtrlTableDLINKSW-VLAN-MIB
1.3.6.1.4.1.171.26.21.1.4.1dVlanPortIfCtrlEntryDLINKSW-VLAN-MIB
1.3.6.1.4.1.171.26.21.1.4.1.4dVlanPortIfVlanPrecedenceDLINKSW-VLAN-MIB