All MIBs › MY-VLAN-MIB › myVlanPortConfigMode
myVlanPortConfigMode
Module: MY-VLAN-MIB
OID (symbolic): MY-VLAN-MIB::myVlanPortConfigMode
OID (numeric): 1.3.6.1.4.1.171.10.97.2.9.1.6.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: Port mode, indicates that port is an access(1), trunk(2), dot1q-tunnel(3), hybrid(4), other(5), uplink(6), host(7) or promiscuous(8) port.
What is myVlanPortConfigMode?
This current, read-only object reports the operating mode of a switch port -- access, trunk, dot1q-tunnel, hybrid, other, uplink, host, or promiscuous. An admin checks it to confirm how a port is configured before deciding whether access-VLAN or trunk-VLAN settings on that port will actually take effect, since the mode itself is set via MY-INTERFACE-MIB rather than here. For example, a port returning trunk(2) tells the admin that myVlanPortNativeVlan and myVlanPortAllowedVlanList are the relevant settings, not myVlanPortAccessVlan.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.9.1.6.1.2 snmpwalk -v2c -c public <target> MY-VLAN-MIB::myVlanPortConfigMode
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.2.1 snmpget -v2c -c public <target> MY-VLAN-MIB::myVlanPortConfigMode.1
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::myVlanPortConfigMode 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.2 | myVlanPortConfigMode | MY-VLAN-MIB |