clear dhcpv6 server binding
Syntax
clear dhcpv6 server binding
<address>
<all>
<interface interface-name>
<interfaces-vlan>
<interfaces-wildcard>
<logical-system logical-system-name>
<routing-instance routing-instance-name>
<dual-stack>
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:
|
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:
|
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
- clear dhcpv6 server binding <ipv6-prefix>
- clear dhcpv6 server binding interface
- clear dhcpv6 server binding <interfaces-vlan>
- clear dhcpv6 server binding <interfaces-wildcard>
- clear dhcpv6 server binding dual-stack all
clear dhcpv6 server binding all
The following command clears all DHCPv6 local server bindings:
user@host> clear dhcpv6 server binding all
clear dhcpv6 server binding <ipv6-prefix>
The following command clears DHCPv6 local server bindings for a specific IPv6 prefix:
user@host> clear dhcpv6 server binding 14/0x00010001/0x02b3be8f/0x00109400/0x0005
clear dhcpv6 server binding interface
The following command clears DHCPv6 local server bindings on a specific interface:
user@host> clear dhcpv6 server binding interface fe-0/0/2
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
:
user@host> clear dhcpv6 server binding interface 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:
user@host> clear dhcpv6 server binding ge-1/0/0.*
clear dhcpv6 server binding dual-stack all
The following command clears all the dual-stack local server bindings.
user@host> clear dhcpv6 server binding dual-stack all
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.