Command list, Clear ip dhcp binding, Command list clear ip dhcp binding – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 1700
Dynamic Host Configuration Protocol (DHCP) Commands
Software Reference for x310 Series Switches
64.2
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
Command List
This chapter provides an alphabetical reference for commands used to configure DHCP.
For more information, see
Chapter 63, Dynamic Host Configuration Protocol (DHCP)
.
For information about modifying or redirecting the output from show commands to a file,
see
“Controlling “show” Command Output” on page 1.37
.
clear ip dhcp binding
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:
To clear all dynamic DHCP entries, use the command:
Related Commands
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.
awplus#
clear ip dhcp binding ip 192.168.1.1
awplus#
clear ip dhcp binding all