09-05-2017 09:33 AM - edited 03-08-2019 11:56 AM
Hi all,
I've enable DHCP snooping and IPSG in lab, after I try to use "clear ip dhcp snooping binding*", the traffic will be deny by IPSG. Then I try to restart client interface to get IP address from DHCP again, and evertything is working again.
If there have other way to recover it without restart client interface?
Switch#show ip dhcp snooping binding
MacAddress IpAddress Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------------- ---- --------------------
AA:BB:CC:00:02:10 192.168.1.4 86351 dhcp-snooping 100 Ethernet0/1
Total number of bindings: 1
Switch#show ip verify source
Interface Filter-type Filter-mode IP-address Mac-address Vlan
--------- ----------- ----------- --------------- ----------------- ----
Et0/1 ip active 192.168.1.4 100
Switch#clear ip dhcp snooping binding *
Switch#show ip verify source
Interface Filter-type Filter-mode IP-address Mac-address Vlan
--------- ----------- ----------- --------------- ----------------- ----
Et0/1 ip active deny-all 100
Switch#show running-config interface e0/1
Building configuration...
Current configuration : 112 bytes
!
interface Ethernet0/1
switchport access vlan 100
switchport mode access
duplex auto
ip verify source
end
Solved! Go to Solution.
09-05-2017 10:43 AM
Hi,
Unfortunately, there is no way of quickly reinstating the connectivity after manually clearing the DHCP Snooping bindings. This database is built based on DHCP messaging, and so until the switch again intercepts the DHCP communication between a given client and a server, it cannot populate the DHCP Snooping database for this client, and so neither Dynamic ARP Inspection nor IP Source Guard can work.
There is a way of configuring static bindings for DAI or IPSG, but obviously, that approach is not scalable and likely not meeting your requirements.
On the other hand, flatly clearing the entire DHCP Snooping database is a strongly impacting step, and should not be ordinarily done at all. This question may be a little evasive, but why would you want to clear the entire DHCP Snooping database in the first place?
Best regards,
Peter
09-05-2017 10:43 AM
Hi,
Unfortunately, there is no way of quickly reinstating the connectivity after manually clearing the DHCP Snooping bindings. This database is built based on DHCP messaging, and so until the switch again intercepts the DHCP communication between a given client and a server, it cannot populate the DHCP Snooping database for this client, and so neither Dynamic ARP Inspection nor IP Source Guard can work.
There is a way of configuring static bindings for DAI or IPSG, but obviously, that approach is not scalable and likely not meeting your requirements.
On the other hand, flatly clearing the entire DHCP Snooping database is a strongly impacting step, and should not be ordinarily done at all. This question may be a little evasive, but why would you want to clear the entire DHCP Snooping database in the first place?
Best regards,
Peter
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide