Copyright © 2010, Juniper Networks, Inc.
no-interface—DHCP clients without a lower-layer interface; use this keyword to delete
DHCP client bindings configured over dynamic interfaces for which the lower-layer
interface has been shut down
relay-proxy—DHCP relay proxy bindings that meet the deletion criteria
remote-id—Agent-remote-id suboption (suboption 2) string of the DHCP relay agent
information option (option 82); the remote ID string supports matching of both regular
expression metacharacters and nonprintable ASCII characters in binary sequences
subnetAddress—IP address of the subnet on which the DHCP client resides
Filtering the deletion of DHCP client bindings by the circuit ID string or remote ID string
is not supported for the DHCP external server application. DHCP external server does
not store information about the agent-circuit-id suboption or agent-remote-id suboption
of option 82.
You can remove all DHCP client bindings, all DHCP client bindings of a particular type,
or a specified DHCP client binding that meets the deletion criteria you specify.
To delete all DHCP client bindings on virtual router vr1:
host1:vr1#dhcp delete-binding all
To delete DHCP local server client bindings with the specified subnet address:
host1:vr2#dhcp delete-binding local 0.0.0.0
When you delete DHCP client bindings of a particular type on a specified subnet, you
must specify the local, external, or relay-proxy type keyword to prevent accidental
deletion of all DHCP client bindings.
To delete a specific DHCP client binding:
host1:vr1#dhcp delete-binding 3972819365
To delete DHCP client bindings with the specified IP prefix:
host1:vr1#dhcp delete-binding ip-prefix 10.1.0.0/28
To delete DHCP client bindings without a lower-layer interface:
host1:vr1#dhcp delete-binding no-interface
To delete DHCP client bindings with the specified interface string:
host1:vr2#dhcp delete-binding interface ip71.*4
This dhcp delete-binding command uses the * (asterisk) regular expression
metacharacter in the interface string to delete DHCP client bindings on virtual router
vr2 with an IP address beginning with 71 and ending with 4.
To delete DHCP client bindings that match the specified circuit ID string:
host1:vr3#dhcp delete-binding circuit-id \\xe3
To specify nonprintable byte codes in the circuit ID string or remote ID string, you can
use the string \\xab, where ab is a hex code of the byte. This dhcp delete-binding
command uses the string \\xe3 to represent byte E3 in the circuit ID string. This
Chapter 17: DHCP Overview
455