Deleting DHCPv6 Client Bindings
The JUNOSe Software enables you to manage your router’s DHCPv6 local server client bindings. The client binding associates an IPv6 prefix with a unique DHCP ID (DUID) of the subscriber client. To view information about current DHCPv6 client bindings and track lease times of a specific client binding, use the show ipv6 dhcpv6–local binding command.
To delete a client binding and the associated route configuration when the DHCPv6 client binding is no longer needed, use the dhcpv6 delete-binding command. You can delete the DHCPv6 client bindings instead of waiting for the lease timer to expire. Use the following keywords and variables with the dhcpv6 delete-binding command to specify (filter) the client bindings you want to delete:
- all—All DHCPv6 local server client bindings
- ipv6Prefix—IPv6 prefix (address and subnetwork mask) of the DHCPv6 clients; for example, 2002:2:4:1::/64
- string—Local address pool name; for example, server4pool
You can remove all DHCPv6 client bindings, all DHCPv6 client bindings of a particular type, or a specified DHCPv6 client binding that meets the deletion criteria you specify.
- To delete all DHCPv6 client bindings on virtual router
vr1: host1:vr1#dhcpv6 delete-binding all
- To delete DHCPv6 client bindings with the specified IPv6
prefix:host1:vr1#dhcpv6 delete-binding 2002:2:4:1::/64
- To delete a group of DHCPv6 client bindings that were
assigned prefix from the local pool:host1:vr2#dhcpv6 delete-binding server4pool
The router does not notify the DHCPv6 client when you use the dhcpv6 delete-binding command. To verify that the DHCPv6 client bindings have been deleted, use the show ipv6 dhcpv6–local binding command.





