A DHCP snooping binding table records clients that successfully leased addresses through DHCP. Each entry maps an IP address to a MAC address, VLAN, interface, and remaining lease time. section 14.2 section 13.2.1
The switch builds and uses the table as DHCP exchanges pass through its ports:
- Creates an entry after a client successfully leases an IP address. section 13.3
- Stores the client MAC address, leased IP address, lease duration, entry type, VLAN, and receiving interface. section 13.2.1
- Verifies RELEASE and DECLINE messages by matching their IP address and receiving port against the binding. section 13.3
- Supplies host-to-address information to Dynamic ARP Inspection, which uses matching bindings when filtering ARP messages. section 14.2 section 14.2.1
Verify the table
Use show ip dhcp snooping binding. For example, an entry can show MAC address 52:54:00:08:D3:E0, IP address 10.0.0.6, 84,617 seconds remaining, type dhcp-snooping, VLAN 1, and interface Gi0/2. The command also reports the total number of bindings.
