All MIBs › MY-ADDRESS-MIB › myMacAddressPort
myMacAddressPort
Module: MY-ADDRESS-MIB
OID (symbolic): MY-ADDRESS-MIB::myMacAddressPort
OID (numeric): 1.3.6.1.4.1.171.10.97.2.22.1.1.5.1.3
Node type: OBJECT-TYPE
Type: IfIndex
Access: read-write
Description: Interface(port or trunk) number of the port from which a frame must be received in order for this entry's filtering information to apply.
What is myMacAddressPort?
This read-write IfIndex identifies the interface (port or trunk) from which a frame must be received for this MAC address table entry's filtering information to apply. An admin sets this when statically binding a MAC address to a specific port, for example to lock a critical server to its expected switch port. For example, setting myMacAddressPort to the ifIndex of port 5 for a static entry would ensure that MAC is only ever accepted as valid on port 5.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.22.1.1.5.1.3 snmpwalk -v2c -c public <target> MY-ADDRESS-MIB::myMacAddressPort
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.22.1.1.5.1.3.1 snmpget -v2c -c public <target> MY-ADDRESS-MIB::myMacAddressPort.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.10.97.2.22.1.1.5.1.3.1 s <value>
Start monitoring D-Link managed switch (IP/MAC address table) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the MY-ADDRESS-MIB::myMacAddressPort OID value, configure state conditions and alerts, and monitor any D-Link managed switch (IP/MAC address table) 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.22 | myAddressMIB | MY-ADDRESS-MIB |
| 1.3.6.1.4.1.171.10.97.2.22.1 | myAddressMIBObjects | MY-ADDRESS-MIB |
| 1.3.6.1.4.1.171.10.97.2.22.1.1 | myAddressManagementObjects | MY-ADDRESS-MIB |
| 1.3.6.1.4.1.171.10.97.2.22.1.1.5 | myMacAddressTable | MY-ADDRESS-MIB |
| 1.3.6.1.4.1.171.10.97.2.22.1.1.5.1 | myMacAddressEntry | MY-ADDRESS-MIB |
| 1.3.6.1.4.1.171.10.97.2.22.1.1.5.1.3 | myMacAddressPort | MY-ADDRESS-MIB |