All MIBs › MY-VLAN-MIB › myVlanPortNativeVlan
myVlanPortNativeVlan
Module: MY-VLAN-MIB
OID (symbolic): MY-VLAN-MIB::myVlanPortNativeVlan
OID (numeric): 1.3.6.1.4.1.171.10.97.2.9.1.6.1.4
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,hybrid,uplink and dot1q_tunnel port.
What is myVlanPortNativeVlan?
This read-write object holds the VLAN ID used as the native (untagged) VLAN for a trunk, hybrid, uplink, or dot1q-tunnel port. It determines which VLAN untagged frames received on that port are assigned to, and it has no effect on ports in other modes. For example, setting this to VLAN 1 on a trunk port means untagged frames arriving on that trunk are treated as VLAN 1 traffic.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.9.1.6.1.4 snmpwalk -v2c -c public <target> MY-VLAN-MIB::myVlanPortNativeVlan
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.4.1 snmpget -v2c -c public <target> MY-VLAN-MIB::myVlanPortNativeVlan.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.10.97.2.9.1.6.1.4.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::myVlanPortNativeVlan 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.6 | myVlanPortConfigTable | MY-VLAN-MIB |
| 1.3.6.1.4.1.171.10.97.2.9.1.6.1 | myVlanPortConfigEntry | MY-VLAN-MIB |
| 1.3.6.1.4.1.171.10.97.2.9.1.6.1.4 | myVlanPortNativeVlan | MY-VLAN-MIB |