IP-MAC-BIND-MIB :: swIpMacBindingDHCPSnoopState

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsIP-MAC-BIND-MIBswIpMacBindingDHCPSnoopState

swIpMacBindingDHCPSnoopState

Module: IP-MAC-BIND-MIB

OID (symbolic): IP-MAC-BIND-MIB::swIpMacBindingDHCPSnoopState

OID (numeric): 1.3.6.1.4.1.171.12.23.1.4

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: When the dhcp_snoop function is enabled, all address_binding disabled ports will act as DHCP server ports (the switch will learn IP addresses through DHCP server ports (by DHCP OFFER and DHCP ACK packets)).

The auto-learned IP-MAC binding entry will be mapped to a specific source port based on the MAC address learning function. This entry will be created as an ACL-mode binding entry for this specific port. Each entry is associated with a lease time. When the lease time expires, the expired entry will be removed from this port. The automatically learned binding entry can be moved from one port to another port if the DHCP snooping function has learned that the MAC address has moved to a different port.

Consider a case where DHCP snooping learns a binding entry, and the same IP-MAC binding entry has been statically configured. Suppose that the learned information is consistent with the statically configured entry, then the automatically learned entry will not be created. Supposing that the entry has been statically configured in ARP mode, since the automatically learned entry will be created in ACL mode, the entry will become an ACL mode entry. Supposing that the entry is statically configured on one port and the entry is automatically learned on another port, then both entries will exist.

When the dhcp_snoop function is disabled, all of the automatically learned binding entries will be removed.

What is swIpMacBindingDHCPSnoopState?

This globally enables or disables DHCP snooping, which lets ports without a static binding learn IP-MAC pairs automatically from DHCP OFFER/ACK packets and lease them accordingly. Disabling this removes all the automatically learned binding entries, so admins should expect those dynamically-learned devices to lose their binding immediately.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.12.23.1.4
snmpwalk -v2c -c public <target> IP-MAC-BIND-MIB::swIpMacBindingDHCPSnoopState

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.171.12.23.1.4.1
snmpget -v2c -c public <target> IP-MAC-BIND-MIB::swIpMacBindingDHCPSnoopState.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.171.12.23.1.4.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::swIpMacBindingDHCPSnoopState 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 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.12dlink_common_mgmtDLINK-ID-REC-MIB
Numeric OIDNameModule
1.3.6.1.4.1.171.12.23swIpMacBindMIBIP-MAC-BIND-MIB
1.3.6.1.4.1.171.12.23.1swIpMacBindingCtrlIP-MAC-BIND-MIB
1.3.6.1.4.1.171.12.23.1.4swIpMacBindingDHCPSnoopStateIP-MAC-BIND-MIB