-
clear dhcp relay binding
-
<(all | ip-address | mac-address)>
-
<interface interface-name>
-
<logical-system logical-system-name>
-
<routing-instance routing-instance-name>
Command introduced in JUNOS Release 8.3.
all and interface options added in JUNOS Release 8.4.
Clear the binding state of a Dynamic Host Configuration Protocol (DHCP) client from the client table.
all — (Optional) Clear the binding state for all DHCP clients.
interface interface-name — (Optional) Clear the binding state for DHCP clients on the specified interface.
ip-address — (Optional) IP address of the DHCP client.
mac-address — (Optional) MAC address of the DHCP client.
logical-system logical-system-name — (Optional) Clear the binding state for DHCP clients on the specified logical system.
routing-instance routing-instance-name — (Optional) Clear the binding state for DHCP clients on the specified routing instance.
view
See show dhcp relay binding for an explanation of output fields.
The following sample output displays the address bindings in the DHCP client table before and after the clear dhcp relay binding command is issued.
user@host> show dhcp relay binding
IP address Hardware address Type Lease expires at 100.20.32.1 90:00:00:01:00:01 active 2007-02-08 16:41:17 EST
user@host> clear dhcp relay binding 100.20.32.1
user@host> show dhcp relay binding
user@host> clear dhcp relay binding all
user@host> clear dhcp relay binding interface
fe-0/0/2