Chapter 25 commands for dhcpv6, 1 clear ipv6 dhcp binding, 2 clear ipv6 dhcp server statistics – PLANET XGS3-24040 User Manual
Page 332: Clear ipv, Dhcp binding, Dhcp server statistics
25-45
Chapter 25 Commands for DHCPv6
25.1 clear ipv6 dhcp binding
Command:
clear ipv6 dhcp binding [
Function:
To clear one specified DHCPv6 assigned address binding record or all the IPv6 address binding
records.
Parameter:
<ipv6-prefix| prefix-length> is the specified IPv6 prefix with binding record; To clear all IPv6
address binding record if there is no specified record.
Command Mode:
Admin Configuration Mode.
Usage Guide:
DHCPv6 IPv6 address binding information can be displayed through the command show ipv6 dhcp
binding. If DHCPv6 client does not use the DHCPv6 allocated IPv6 address but when the life time of
the IPv6 address does not end, the DHCPv6 server will not remove its bind for this address. In this
situation, the address binding information can be removed manually through this command; and if
no parameter is appended, this command will remove all the address binding information, then all
addresses and prefix will be assigned again in the DHCPv6 address pool.
Example:
To delete all binding record of IPv6 address and prefix.
Switch#clear ip dhcp binding
Relative Command:
show ipv6 dhcp binding
25.2 clear ipv6 dhcp server statistics
Command:
clear ipv6 dhcp server statistics
Function:
To delete the statistics of DHCPv6 Server, and reset DHCPv6 server counter.
Parameter:
None.
Command Mode:
Admin Mode.
Usage Guide:
Statistics about the DHCPv6 server can be displayed though the command show ipv6 dhcp server
statistics, and these statistics can be reset with this command.
Example:
To reset DHCPv6 Server counter.
Switch#clear ip dhcp server statistics