Specifications

clear ip dhcp snooping binding
277
clear ip dhcp snooping binding
Clears information in the DHCP snooping binding database. This command clears only the
entries that have been registered dynamically.
Syntax
clear ip dhcp snooping binding[ip <IP address>][mac <MAC>][vlan <VLAN ID>] [port <Port#
list>][channel-group-number <Channel group# list>]
Input mode
User mode and administrator mode
Parameters
ip <IP address>
Clears the entries for the specified IP address.
mac <MAC>
Clears the entries for the specified MAC address.
vlan <VLAN ID>
Clears the entries for the specified VLAN interface.
For <VLAN ID>, specify the VLAN ID set by the
ip dhcp snooping vlan command.
port <Port# list>
Clears information about the DHCP snooping binding database for the ports
specified in list format.
For details about how to specify <Port# list> and the specifiable range of values, see
Specifiable values for parameters.
channel-group-number <Channel group# list>
Clears information about the DHCP snooping binding database for the channel
groups specified in list format in the specified link aggregation. For details about how
to specify <Channel group# list>, see Specifiable values for parameters.
Note on setting parameters
This command can clear only the information that meets the conditions specified by
the parameter. If no parameter is specified, information is cleared without being
limited by any conditions. If multiple parameters are specified, information that meets
all conditions will be cleared. (If the port or channel-group-number parameter is
specified, information that meets any of the conditions is cleared.)
Example
Figure 19-3 Clearing information by executing the clear ip dhcp snooping binding
command
> clear ip dhcp snooping binding
>
Display items
None
Impact on communication
Terminal filtering remains enabled until the address is reassigned.