BuildTheNet

Opening your workspace

Your learning content and tools are loading.

DHCP

show ip dhcp snooping binding

Lists the MAC-to-IP bindings DHCP snooping recorded from leases seen on untrusted ports.

Written by a working field network engineer · CCNA, Security+, CySA+

The binding table DHCP snooping builds by watching leases on untrusted ports. Dynamic ARP Inspection and IP Source Guard both use it, so a host missing from here will be dropped by those features.

Example output

SW1#show ip dhcp snooping binding
MacAddress          IpAddress        Lease(sec)  Type           VLAN  Interface
------------------  ---------------  ----------  -------------  ----  --------------------
00:50:79:66:68:17   192.168.10.11    86157       dhcp-snooping   10    FastEthernet0/1
00:50:79:66:68:18   192.168.10.12    86211       dhcp-snooping   10    FastEthernet0/2
Total number of bindings: 2

Reference output: hand-written in standard Cisco IOS format for this example network, not captured from a device.

Useful variants

What each column or field means

FieldMeaning
MacAddress / IpAddressThe client and the address it was leased.
Lease(sec)Seconds left on the lease.
Typedhcp-snooping (learned) or static (added with ip dhcp snooping binding).
VLAN / InterfaceWhere the client is connected.

When it doesn’t look right

A host with a static IP is missing.

Expected: only DHCP leases are learned. If DAI or IP Source Guard is on, add a static binding or an ARP ACL for it.

The table is empty after a switch reload.

Bindings are lost on reload unless stored with ip dhcp snooping database. Clients reappear as they renew.

Related commands

Try it yourself

Learn it in the CCNA path

Topic

DHCP — Run a DHCP server on a router, relay requests across subnets with ip helper-address, and protect the LAN with DHCP snooping.

All 57 commands