All MIBs › MY-ADDRESS-MIB › myMacAddressType
myMacAddressType
Module: MY-ADDRESS-MIB
OID (symbolic): MY-ADDRESS-MIB::myMacAddressType
OID (numeric): 1.3.6.1.4.1.171.10.97.2.22.1.1.5.1.4
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Only 'static' and 'filter' allow to be set to this object.
What is myMacAddressType?
This read-write enumerated value classifies a MAC address table entry as dynamic(1), static(2), or filter(3), though the MIB notes only static and filter values may actually be set by a manager. An admin sets this to static(2) to pin a MAC address to a port permanently, or to filter(3) to block that address from being forwarded at all. For example, setting myMacAddressType to filter(3) for a known rogue device's MAC address prevents the switch from forwarding its traffic.
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.4 snmpwalk -v2c -c public <target> MY-ADDRESS-MIB::myMacAddressType
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.4.1 snmpget -v2c -c public <target> MY-ADDRESS-MIB::myMacAddressType.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.4.1 i <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::myMacAddressType 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.4 | myMacAddressType | MY-ADDRESS-MIB |