All MIBs › IP-MAC-BIND-MIB › swIpMacBindingPortState
swIpMacBindingPortState
Module: IP-MAC-BIND-MIB
OID (symbolic): IP-MAC-BIND-MIB::swIpMacBindingPortState
OID (numeric): 1.3.6.1.4.1.171.12.23.3.2.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: This object enables (strict or loose mode)/disables IP-MAC binding on the specified port.
Note: enable-strict (2): This means strict mode (SW learning). All packets are sent to the CPU. If the user chooses this option, the port will check ARP packets and IP packets by the IP-MAC-PORT Binding entries. If the MAC address can or cannot be found by the entry, the MAC will be set as a dynamic learned or blocked entry, respectively. Other packets will be sent to the CPU and dropped.
enable-loose (4) : This means loose mode (HW learning): Only ARP packets and IP broadcast packets will be sent to the CPU. If the user chooses, the port will learn MAC addresses on non-ARP and non-IP broadcast packets directly, so these packets will be bypassed. However, if the switch receives ARP or IP broadcast packets and cannot bypass the IP MAC Binding checks, the switch will set this MAC address as blocked and all packets from this MAC address will be dropped.
What is swIpMacBindingPortState?
This enables or disables IP-MAC binding on this specific port, choosing enable-strict (CPU checks all traffic) or enable-loose (hardware checks only ARP/broadcast-IP traffic) mode, same semantics as the switch-wide swIpMacBindingAllPortState but scoped to one port. Admins use this to apply stricter or looser enforcement on individual ports, e.g. strict on user-facing ports and loose on trunk uplinks.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.12.23.3.2.1.2 snmpwalk -v2c -c public <target> IP-MAC-BIND-MIB::swIpMacBindingPortState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.12.23.3.2.1.2.1 snmpget -v2c -c public <target> IP-MAC-BIND-MIB::swIpMacBindingPortState.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.12.23.3.2.1.2.1 i <value>
Start monitoring D-Link managed switch (IP-MAC Binding security feature) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the IP-MAC-BIND-MIB::swIpMacBindingPortState OID value, configure state conditions and alerts, and monitor any D-Link managed switch (IP-MAC Binding security feature) from a single console.
OID Breakdown
Upper-level ancestors (8 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.12 | dlink_common_mgmt | DLINK-ID-REC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.12.23 | swIpMacBindMIB | IP-MAC-BIND-MIB |
| 1.3.6.1.4.1.171.12.23.3 | swIpMacBindingPortMgmt | IP-MAC-BIND-MIB |
| 1.3.6.1.4.1.171.12.23.3.2 | swIpMacBindingPortTable | IP-MAC-BIND-MIB |
| 1.3.6.1.4.1.171.12.23.3.2.1 | swIpMacBindingPortEntry | IP-MAC-BIND-MIB |
| 1.3.6.1.4.1.171.12.23.3.2.1.2 | swIpMacBindingPortState | IP-MAC-BIND-MIB |