MY-INTERFACE-MIB :: myIfMode

MIB Reference — IPNetwork Monitor · Updated October 06, 2026

All MIBs › MY-INTERFACE-MIB › myIfMode

myIfMode

Module: MY-INTERFACE-MIB

OID (symbolic): MY-INTERFACE-MIB::myIfMode

OID (numeric): 1.3.6.1.4.1.171.10.97.2.10.1.1.1.12

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: This value is meaning for only physical port and aggreate port

What is myIfMode?

Sets the VLAN role of this physical or aggregate port, such as access(1) for a single-VLAN edge port, trunk(2) for a multi-VLAN uplink, dot1q-tunnel(3) for Q-in-Q, or the private-VLAN host(7)/promiscuous(8) roles, which an admin picks based on how the port is wired into the network.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.10.1.1.1.12
snmpwalk -v2c -c public <target> MY-INTERFACE-MIB::myIfMode

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.10.1.1.1.12.1
snmpget -v2c -c public <target> MY-INTERFACE-MIB::myIfMode.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.171.10.97.2.10.1.1.1.12.1 i <value>

Start monitoring D-Link managed switch (per-interface configuration) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the MY-INTERFACE-MIB::myIfMode OID value, configure state conditions and alerts, and monitor any D-Link managed switch (per-interface configuration) from a single console.

OID Breakdown

Upper-level ancestors (10 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.171d_linkDE1500-MIB
1.3.6.1.4.1.171.10dlink_productsDES-1226G-MIB
1.3.6.1.4.1.171.10.97switchMibMY-SMI
1.3.6.1.4.1.171.10.97.2myMgmtMY-SMI
Numeric OIDNameModule
1.3.6.1.4.1.171.10.97.2.10myInterfaceMIBMY-INTERFACE-MIB
1.3.6.1.4.1.171.10.97.2.10.1myIfConfigMIBObjectsMY-INTERFACE-MIB
1.3.6.1.4.1.171.10.97.2.10.1.1myIfTableMY-INTERFACE-MIB
1.3.6.1.4.1.171.10.97.2.10.1.1.1myIfEntryMY-INTERFACE-MIB
1.3.6.1.4.1.171.10.97.2.10.1.1.1.12myIfModeMY-INTERFACE-MIB