swIpMacBindingPortState

IP-MAC-BIND-MIB · .1.3.6.1.4.1.171.12.23.3.2.1.2

Object

column r/w Enumeration
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.

Context

MIB
IP-MAC-BIND-MIB
OID
.1.3.6.1.4.1.171.12.23.3.2.1.2
Type
column
Access
readwrite
Status
current
Parent
swIpMacBindingPortEntry

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'IP-MAC-BIND-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IP-MAC-BIND-MIB::swIpMacBindingPortState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IP-MAC-BIND-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IP-MAC-BIND-MIB::swIpMacBindingPortState.<swIpMacBindingPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IP-MAC-BIND-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IP-MAC-BIND-MIB::swIpMacBindingPortState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1other
2enable-strict
3disable
4enable-loose