Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

How to synchronize between DHCP binding table and DHCP snooping table ?

I clear DHCP snooping table with command "clear ip dhcp snooping binding " , and PC can't communicate with other any more. So how to synchronize between DHCP binding table and DHCP snooping table ?

dhcp-test#sh ip dhcp bind

IP address Client-ID/ Lease expiration Type

Hardware address

99.1.65.32 0100.1125.353c.25 Mar 02 1993 01:05 AM Automatic

99.1.65.33 0100.1438.059f.85 Mar 02 1993 12:01 AM Automatic

dhcp-test#sh ip dhcp snooping binding

MacAddress IpAddress Lease(sec) Type VLAN Interface

------------------ --------------- ---------- ------------- ---- ----------

----------

Total number of bindings: 0

thanks!

1 REPLY
Silver

Re: How to synchronize between DHCP binding table and DHCP snoop

ip dhcp snooping binding mac-address vlan vlan-id ip-address interface interface-id expiry seconds

Add binding entries to the DHCP snooping binding database. The vlan-id range is from 1 to 4904. The seconds range is from 1 to 4294967295.

Enter the above command for each entry that you add

To delete the database agent or binding file, use the no ip dhcp snooping database interface configuration command. To reset the timeout or delay values, use the ip dhcp snooping database timeout seconds or the ip dhcp snooping database write-delay seconds global configuration command.To renew the database, use the renew ip dhcp snooping database privileged EXEC command.

284
Views
0
Helpful
1
Replies
CreatePlease to create content