swIpMacBindingDHCPSnoopState

IP-MAC-BIND-MIB · .1.3.6.1.4.1.171.12.23.1.4

Object

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

Context

MIB
IP-MAC-BIND-MIB
OID
.1.3.6.1.4.1.171.12.23.1.4
Type
scalar
Access
readwrite
Status
current
Parent
swIpMacBindingCtrl

Scalars have one instance, identified by the .0 suffix.

Read the scalar 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::swIpMacBindingDHCPSnoopState.0'
More examples
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::swIpMacBindingDHCPSnoopState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1enabled
2disabled