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 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.26 | dlinkIndustrialCommon | DLINK-ID-REC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.26.21 | dlinkSwVlanMIB | DLINKSW-VLAN-MIB |
| 1.3.6.1.4.1.171.26.21.1 | dVlanMIBObjects | DLINKSW-VLAN-MIB |
| 1.3.6.1.4.1.171.26.21.1.4 | dVlanPortIfCtrlTable | DLINKSW-VLAN-MIB |
| 1.3.6.1.4.1.171.26.21.1.4.1 | dVlanPortIfCtrlEntry | DLINKSW-VLAN-MIB |
| 1.3.6.1.4.1.171.26.21.1.4.1.4 | dVlanPortIfVlanPrecedence | DLINKSW-VLAN-MIB |