dhcp delete-binding

Syntax

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

Release Information

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.

Description

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.

Options

Mode

Privileged Exec

Related Documentation