All MIBs › MY-VLAN-MIB › myVlanIfNativeVlan
myVlanIfNativeVlan
Module: MY-VLAN-MIB
OID (symbolic): MY-VLAN-MIB::myVlanIfNativeVlan
OID (numeric): 1.3.6.1.4.1.171.10.97.2.9.1.4.1.3
Node type: OBJECT-TYPE
Type: VlanId
Access: read-write
Description: The value indicate the VID of the native vlan of that this port . This field is effective for only trunk port.
What is myVlanIfNativeVlan?
This obsolete read-write VlanId indicates the VLAN ID of the native VLAN on a port operating in trunk mode. It defines which VLAN untagged frames on a trunk port are assigned to, and only has effect when the port's mode is trunk rather than access. An admin still relying on this legacy object might have it set to VLAN 1, a common native VLAN default.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.9.1.4.1.3 snmpwalk -v2c -c public <target> MY-VLAN-MIB::myVlanIfNativeVlan
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.9.1.4.1.3.1 snmpget -v2c -c public <target> MY-VLAN-MIB::myVlanIfNativeVlan.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.10.97.2.9.1.4.1.3.1 s <value>
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::myVlanIfNativeVlan 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 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.10 | dlink_products | DES-1226G-MIB |
| 1.3.6.1.4.1.171.10.97 | switchMib | MY-SMI |
| 1.3.6.1.4.1.171.10.97.2 | myMgmt | MY-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.10.97.2.9 | myVlanMIB | MY-VLAN-MIB |
| 1.3.6.1.4.1.171.10.97.2.9.1 | myVlanMIBObjects | MY-VLAN-MIB |
| 1.3.6.1.4.1.171.10.97.2.9.1.4 | myVlanIfConfigTable | MY-VLAN-MIB |
| 1.3.6.1.4.1.171.10.97.2.9.1.4.1 | myVlanIfConfigEntry | MY-VLAN-MIB |
| 1.3.6.1.4.1.171.10.97.2.9.1.4.1.3 | myVlanIfNativeVlan | MY-VLAN-MIB |