C613-50631-01 Rev A Command Reference for IE340 Series 3038
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
DYNAMIC HOST CONFIGURATION PROTOCOL (DHCP) COMMANDS
CLEAR
IP DHCP BINDING
clear ip dhcp binding
Overview This command clears either a specific lease binding or the lease bindings specified
by the command or DHCP server. The command will only take effect on
dynamically allocated bindings, not statically configured bindings.
Syntax
clear ip dhcp binding {ip <ip-address>|mac
<mac-address>|all|pool <pool-name>|range <low-ip-address>
<high-ip-address>}
Mode User Exec and Privileged Exec
Usage A specific binding may be deleted by ip address or mac address, or several
bindings may be deleted at once using all, pool or range.
Note that if you specify to clear the ip or mac address of what is actually a static
DHCP binding, an error message is displayed. If all, pool or range are specified and
one or more static DHCP bindings exist within those addresses, any dynamic
entries within those addresses are cleared but any static entries are not cleared.
Examples To clear the specific IP address binding 192.168.1.1, use the command:
awplus# clear ip dhcp binding ip 192.168.1.1
To clear all dynamic DHCP entries, use the command:
awplus# clear ip dhcp binding all
Related
commands
show ip dhcp binding
Parameter Description
ip <ip-address> IPv4 address of the DHCP client, in dotted decimal
notation in the format A.B.C.D.
mac <mac-address> MAC address of the DHCP client, in hexadecimal
notation in the format HHHH.HHHH.HHHH.
all All DHCP bindings.
pool <pool-name> Description used to identify DHCP server address
pool. Valid characters are any printable character. If
the name contains spaces then you must enclose
these in “quotation marks”.
range <low-ip-address>
<high-ip-address>
IPv4 address range for DHCP clients, in dotted decimal
notation. The first IP address is the low end of the
range, the second IP address is the high end of the
range.