To delete the DHCP client with the specified binding ID:
dhcp delete-binding bindingId
To delete all DHCP client bindings or all DHCP client bindings of a particular type on the specified subnet:
dhcp delete-binding { all | all-local | all-external | all-relay-proxy } [ subnetAddress ]
To delete DHCP client bindings of a particular type on the specified subnet:
dhcp delete-binding { local | external | relay-proxy } [ subnetAddress ]
To delete DHCP client bindings for the specified IP prefix:
dhcp delete-binding [ local | external | relay-proxy ] [ subnetAddress ] ip-prefix ipPrefix
To delete DHCP client bindings for the specified interface string:
dhcp delete-binding [ local | external | relay-proxy ] [ subnetAddress ] interface string
To delete DHCP client bindings without a lower-layer interface:
dhcp delete-binding [ local | external | relay-proxy ] [ subnetAddress ] no-interface
To delete DHCP client bindings for the specified agent-circuit-id suboption (suboption 1) string of the DHCP relay agent information option (option 82):
dhcp delete-binding [ local | external | relay-proxy ] [ subnetAddress ] circuit-id string
To delete DHCP client bindings for the specified agent-remote-id suboption (suboption 2) string of the DHCP relay agent information option (option 82):
dhcp delete-binding [ local | external | relay-proxy ] [ subnetAddress ] remote-id string
Command introduced in JUNOSe Release 8.1.0.
local, external, relay-proxy, interface, no-interface, ip-prefix, circuit-id, and remote-id keywords and subnetAddress, ipAddress, and string variables added in JUNOSe Release 9.3.0.
Deletes the specified DHCP client bindings. There is no no version.
![]() |
Note: This command replaces the deprecated clear ip dhcp-local binding and dhcp-external delete-binding commands, which may be removed completely in a future release. |
Each element is either a literal string, a metacharacter, or a combination. You can remove the special meaning of a metacharacter by preceding it with a backslash (\). Regular expressions support the following metacharacters:
You must specify the interface string as a regular expression without spaces; for example, fastEthernet1.1/100 or fastEthernet.*100
The following rules apply for representing nonprintable character sequences in the circuit ID string or the remote ID string:
For example, to match the sequence 74 65 73 74 0d 0a 6f 6e 65 (hex), use the string 'test\\r\\none'. In this string, 74 is represented by t, 65 is represented by e, 73 is represented by s, 74 is represented by t, 0d 0a is represented by \\r\\n, 6f is represented by o, 6e is represented by n, and 65 is represented by e.
For example, to match the sequence 74 65 73 74 0a 00 6f 6e 65 (hex), use the string 'test\\none'. In this string, 74 is represented by t, 65 is represented by e, 73 is represented by s, 74 is represented by t, 0a 00 is represented by \\n, 0a is represented by \\n, 6f is represented by o, 6e is represented by n, and 65 is represented by e.
As another example, to match the sequence 74 65 73 74 f3 6f 6e 65 (hex), use the string 'test\\xf3one'. In this string, 74 is represented by t, 65 is represented by e, 73 is represented by s, 74 is represented by t, byte F3 is represented by \\xf3, 6f is represented by o, 6e is represented by n, and 65 is represented by e.
Privileged Exec