2-107
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
clear ip dhcp snooping binding
clear ip dhcp snooping binding
To clear the DHCP snooping binding, use the clear ip dhcp snooping binding command.
clear ip dhcp snooping binding [*] [ip-address] [vlan vlan_num] [interface interface_num]
Syntax Description
Defaults This command has no default settings.
Command Modes Privileged EXEC mode
Command History
Usage Guidelines These commands are mainly used to clear DHCP snooping binding entries.
DHCP snooping is enabled on a VLAN only if both the global snooping and the VLAN snooping are
enabled.
Examples This example shows how to clear all the DHCP snoop binding entries:
Switch# clear ip dhcp snooping binding *
Switch#
This example shows how to clear a specific DHCP snoop binding entry:
Switch# clear ip dhcp snooping binding 1.2.3.4
Switch#
This example shows how to clear all the DHCP snoop binding entries on the GigabitEthernet interface
1/1:
Switch# clear ip dhcp snooping binding interface gigabitEthernet 1/1
Switch#
This example shows how to clear all the DHCP snoop binding entries on VLAN 40:
Switch# clear ip dhcp snooping binding vlan 40
Switch#
* (Optional) Clears all DHCP snooping binding entries.
ip-address (Optional) IP address for the DHCP snooping binding entries.
vlan vlan_num (Optional) Specifies a VLAN.
interface interface_num (Optional) Specifies an interface.
Release Modification
12.2(44)SG Support for this command was introduced on the Catalyst 4500 series switch.