@@ -472,7 +472,7 @@ for an IPv6 lease is:
472
472
::
473
473
474
474
{
475
- "command": "lease4 -get",
475
+ "command": "lease6 -get",
476
476
"arguments": {
477
477
"identifier-type": "duid",
478
478
"identifier": "08:08:08:08:08:08",
@@ -816,7 +816,7 @@ a pair of values: the type and the actual identifier. The currently
816
816
supported identifiers are ``"hw-address" `` (IPv4 only), ``"client-id" `` (IPv4
817
817
only), and ``"duid" `` (IPv6 only).
818
818
819
- An example command for deleting a lease by address is:
819
+ An example command for deleting an IPv4 lease by address is:
820
820
821
821
::
822
822
@@ -840,6 +840,20 @@ An example IPv4 lease deletion by ``"hw-address"`` is:
840
840
}
841
841
}
842
842
843
+ The IPv6 address leases are deleted the same way, but using :isccmd: `lease6-del `. The
844
+ prefix IPv6 leases are also deleted using :isccmd: `lease6-del `, but with some extra
845
+ steps. The prefix should be referenced by its address and prefix length should be ignored.
846
+ For example, to delete 2001:db8: 1::/48, the following command can be used:
847
+
848
+ ::
849
+ {
850
+ "command": "lease6-del",
851
+ "arguments": {
852
+ "ip-address": "2001:db8:1::",
853
+ "type": "IA_PD",
854
+ "subnet-id": 1
855
+ }
856
+ }
843
857
844
858
Another parameter called ``update-ddns ``, when ``true ``, instructs the server to
845
859
queue a request to :iscman: `kea-dhcp-ddns ` to remove DNS entries after the lease is
0 commit comments