All MIBs › DLINKPRIME-VLAN-MIB › dpVlanPortIfTrunkNativeVlanTagged
dpVlanPortIfTrunkNativeVlanTagged
Module: DLINKPRIME-VLAN-MIB
OID (symbolic): DLINKPRIME-VLAN-MIB::dpVlanPortIfTrunkNativeVlanTagged
OID (numeric): 1.3.6.1.4.1.171.28.26.1.1.1.2
Node type: OBJECT-TYPE
Type: TruthValue
Access: read-write
Description: This object indicates whether enable the tagging mode of the native VLAN on the interface.
Note: This value is meaningful only when the VLAN mode of the port is one of the 'trunk', 'privateVlanTrunkPromiscuous' or 'privateVlanTrunkSecondary'.
What is dpVlanPortIfTrunkNativeVlanTagged?
This TruthValue controls whether the port's native VLAN is sent tagged or untagged on the wire. It only takes effect when dpVlanPortIfMode is set to trunk, privateVlanTrunkPromiscuous, or privateVlanTrunkSecondary, letting an admin force 802.1Q tagging on the native VLAN for links that need consistent tagging end to end. Setting it to true(1) on a trunk uplink to a router-on-a-stick ensures even the native VLAN's frames carry a VLAN tag instead of arriving untagged.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.28.26.1.1.1.2 snmpwalk -v2c -c public <target> DLINKPRIME-VLAN-MIB::dpVlanPortIfTrunkNativeVlanTagged
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.28.26.1.1.1.2.1 snmpget -v2c -c public <target> DLINKPRIME-VLAN-MIB::dpVlanPortIfTrunkNativeVlanTagged.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.28.26.1.1.1.2.1 s <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> dpVlanPortIfTrunkNativeVlanTagged.1
Start monitoring D-Link Prime series switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DLINKPRIME-VLAN-MIB::dpVlanPortIfTrunkNativeVlanTagged OID value, configure state conditions and alerts, and monitor any D-Link Prime series switches 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.28 | dlinkPrimeCommon | DLINK-ID-REC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.28.26 | dlinkPrimeVlanMIB | DLINKPRIME-VLAN-MIB |
| 1.3.6.1.4.1.171.28.26.1 | dpVlanMIBObjects | DLINKPRIME-VLAN-MIB |
| 1.3.6.1.4.1.171.28.26.1.1 | dpVlanPortIfCtrlTable | DLINKPRIME-VLAN-MIB |
| 1.3.6.1.4.1.171.28.26.1.1.1 | dpVlanPortIfCtrlEntry | DLINKPRIME-VLAN-MIB |
| 1.3.6.1.4.1.171.28.26.1.1.1.2 | dpVlanPortIfTrunkNativeVlanTagged | DLINKPRIME-VLAN-MIB |