mac
271
Chapter 16 Commands for DHCPv6
16.1 clear ipv6 dhcp binding
Command: clear ipv6 dhcp binding [<ipv6-address>] [pd <ipv6-prefix |
prefix-length>]
Function: To clear one specified DHCPv6 assigned address binding record or all the IPv6
address binding records.
Parameter: <ipv6-address> is the specified IPv6 address with binding record;
<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 ipv6 dhcp binding
Relative Command: show ipv6 dhcp binding
16.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 ipv6 dhcp server statistics
Relative Command: show ipv6 dhcp server statistics










