Configuration Guide DHCP Snooping Commands
14 DHCP Snooping Commands
14.1 clear ip dhcp snooping binding
Use this command to delete the dynamic user information from the DHCP Snooping binding
database.
clear ip dhcp snooping binding [ ip ] [ mac ] [ vlan vlan-id ] [ interface interface-id]
Specifies the user MAC address to be cleared.
Specifies the ID of the VLAN to be cleared.
Specifies the IP address to be cleared.
Specifies the ID of the interface to be cleared.
Use this command to clear the current dynamic user information from the DHCP Snooping binding
database.
After this command is used, all the DHCP clients connecting interfaces with IP Source Guard
function enabled should request IP addresses again, or they cannot access network.
The following example clears the dynamic database information from the DHCP Snooping binding
database.
Ruijie# clear ip dhcp snooping binding
Ruijie# show ip dhcp snooping binding
Total number of bindings: 0
MacAddress IpAddress Lease(sec) Type VLAN Interface
---------- ---------- ---------- -------- ---- ---------
show ip dhcp snooping binding
Displays the information of the DHCP Snooping
binding database.