Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

clear dhcpv6 server binding

Syntax

Description

Clear the binding state of a Dynamic Host Configuration Protocol for IPv6 (DHCPv6) client from the client table on the extended DHCPv6 local server.

Options

address

(Optional) Clear the binding state for the DHCPv6 client, using one of the following entries:

  • CID—The specified Client ID (CID).

  • ipv6-prefix—The specified IPv6 prefix.

  • session-id—The specified session ID.

all

(Optional) Clear the binding state for all DHCPv6 clients.

interface interface-name

(Optional) Clear the binding state for DHCPv6 clients on the specified interface.

interfaces-vlan

(Optional) Clear the binding state on the interface VLAN ID and S-VLAN ID.

interfaces-wildcard

(Optional) Clear bindings on a set of interfaces. This option supports the use of the wildcard character (*).

logical-system logical-system-name

(Optional) Clear the binding state for DHCPv6 clients on the specified logical system.

routing-instance routing-instance-name

(Optional) Clear the binding state for DHCPv6 clients on the specified routing instance.

dual-stack

(Optional) Remove either both arms or single arm of dual-stack.

Note:
  • The dual-stack command is added in the syntax removes both arms of the dual-stack with a single command entry.

  • When the dual-stack command is not added in the syntax, the clear dhcpv6 server binding command clears only the family specific arm of the dual-stack.

Required Privilege Level

clear

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

clear dhcpv6 server binding all

The following command clears all DHCPv6 local server bindings:

clear dhcpv6 server binding <ipv6-prefix>

The following command clears DHCPv6 local server bindings for a specific IPv6 prefix:

clear dhcpv6 server binding interface

The following command clears DHCPv6 local server bindings on a specific interface:

clear dhcpv6 server binding <interfaces-vlan>

The following command uses the interfaces-vlan option to clear all DHCPv6 local server bindings on top of the underlying interface ae0, which clears DHCPv6 bindings on all demux VLANs on top of ae0:

clear dhcpv6 server binding <interfaces-wildcard>

The following command uses the interfaces-wildcard option to clear all DHCPv6 local server bindings over a specific interface:

clear dhcpv6 server binding dual-stack all

The following command clears all the dual-stack local server bindings.

Release Information

Command introduced in Junos OS Release 9.6.

Options interfaces-vlan and interfaces-wildcard added in Junos OS Release 12.1.

Command updated with dual-stack statement in Junos OS Release 17.3.