345
ip dhcp relay information policy drop
no ip dhcp relay information policy
drop
When layer 3 switches are used as DHCP
relays, this command sets the relay
forwarding policy to drop DHCP packets; the
“no ip dhcp relay information policy drop”
command allows DHCP packets forwarding.
11.3.2 Commands for DHCP Relay Configuration
11.3.2.1 clear ip dhcp binding
Command: clear ip dhcp binding {<address> | all }
Function:
Deletes the specified IP address-hardware address binding record or all IP
address-hardware address binding records.
Parameters:
<address>
is the IP address that has a binding record in decimal format.
all
refers to all IP addresses that have a binding record.
Command mode:
Admin Mode
Usage Guide:
“
show ip dhcp binding
” command can be used to view binding
information for IP addresses and corresponding DHCP client hardware addresses. If the
DHCP server is informed that a DHCP client is not using the assigned IP address for
some reason before the lease period expires, the DHCP server would not remove the
binding information automatically. The system administrator can use this command to
delete that IP address-client hardware address binding manually, if “all” is specified, then
all auto binding records will be deleted, thus all addresses in the DHCP address pool will
be reallocated.
Example:
Removing all IP-hardware address binding records.
Switch#clear ip dhcp binding all
11.3.2.2 clear ip dhcp conflict
Command: clear ip dhcp conflict {<address> | all }
Function:
Deletes an address present in the address conflict log.
Parameters:
<address>
is the IP address that has a conflict record;
all
stands for all
addresses that have conflict records.
Command mode:
Admin Mode
Usage Guide:
“
show ip dhcp conflict
” command can be used to check which IP
addresses are conflicting for use. The
“Clear
ip dhcp conflict”
command can be used
to delete the conflict record for an address. If "all” is specified, then all conflict records in
the log will be removed. When records are removed from the log, the addresses are