diff options
author | Jernej Jakob <jernej.jakob@gmail.com> | 2019-12-06 18:23:50 +0100 |
---|---|---|
committer | Jernej Jakob <jernej.jakob@gmail.com> | 2019-12-13 08:50:07 +0100 |
commit | 304b963f441d85f5135d96746870fc87e91839bb (patch) | |
tree | 10d66a978faa00394ec06648c6ffc7dc235385de | |
parent | a6f4597b83db535822061fd73298591d0b7c6f58 (diff) | |
download | vyos-documentation-304b963f441d85f5135d96746870fc87e91839bb.tar.gz vyos-documentation-304b963f441d85f5135d96746870fc87e91839bb.zip |
dhcpv6: add op-mode commands description
-rw-r--r-- | docs/services/dhcp.rst | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/services/dhcp.rst b/docs/services/dhcp.rst index e7011387..1303395a 100644 --- a/docs/services/dhcp.rst +++ b/docs/services/dhcp.rst @@ -512,6 +512,27 @@ To show the current status of the DHCPv6 server. Show statuses of all assigned leases: +.. code-block:: none + + vyos@vyos:~$ show dhcpv6 server leases + IPv6 address State Last communication Lease expiration Remaining Type Pool IAID_DUID + ------------- ------- -------------------- ------------------- ----------- ------------- ----- -------------------------------------------- + 2001:db8::101 active 2019/12/05 19:40:10 2019/12/06 07:40:10 11:45:21 non-temporary NET1 98:76:54:32:00:01:00:01:12:34:56:78:aa:bb:cc:dd:ee:ff + 2001:db8::102 active 2019/12/05 14:01:23 2019/12/06 02:01:23 6:06:34 non-temporary NET1 87:65:43:21:00:01:00:01:11:22:33:44:fa:fb:fc:fd:fe:ff + +.. hint:: Static mappings aren't shown. To show all states, use ``show dhcp server leases state all``. + +.. opcmd:: show dhcpv6 server leases pool <pool> + +Show only leases in the specified pool. + +.. opcmd:: show dhcpv6 server leases sort <key> + +Sort the output by the specified key. Possible keys: expires, iaid_duid, ip, last_comm, pool, remaining, state, type (default = ip) + +.. opcmd:: show dhcpv6 server leases state <state> + +Show only leases with the specified state. Possible states: abandoned, active, all, backup, expired, free, released, reset (default = active) DHCP Relay ========== |