All MIBs › MY-VLAN-MIB › myVlanIfAccessVlan
myVlanIfAccessVlan
Module: MY-VLAN-MIB
OID (symbolic): MY-VLAN-MIB::myVlanIfAccessVlan
OID (numeric): 1.3.6.1.4.1.171.10.97.2.9.1.4.1.2
Node type: OBJECT-TYPE
Type: VlanId
Access: read-write
Description: The value indicate the VID of the vlan which that this port belong to. This field is effective for only access port.
What is myVlanIfAccessVlan?
This obsolete read-write VlanId indicates the VLAN ID that a port belongs to when the port is operating in access mode. Setting it assigns untagged traffic on that port to the specified VLAN, and the object only has effect when the port's mode is access rather than trunk. An admin migrating a device off this legacy table would instead configure the equivalent access VLAN through the newer VLAN table this MIB defines.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.9.1.4.1.2 snmpwalk -v2c -c public <target> MY-VLAN-MIB::myVlanIfAccessVlan
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.2.1 snmpget -v2c -c public <target> MY-VLAN-MIB::myVlanIfAccessVlan.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.10.97.2.9.1.4.1.2.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::myVlanIfAccessVlan 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.2 | myVlanIfAccessVlan | MY-VLAN-MIB |