dhcp: add "show log" op-mode commands

(cherry picked from commit 25d7f7d78e514d7164091397faafea61902d29bd)
This commit is contained in:
Christian Poessinger 2021-10-04 20:53:05 +02:00
parent 8ad1637066
commit 8734c24604

View File

@ -464,6 +464,30 @@ Option 43 for UniFI
Operation Mode
==============
.. opcmd:: show log dhcp server
Show DHCP server daemon log file
.. opcmd:: show log dhcp client
Show logs from all DHCP client processes.
.. opcmd:: show log dhcp client interface <interface>
Show logs from specific `interface` DHCP client process.
.. opcmd:: show log dhcpv6 server
Show DHCPv6 server daemon log file
.. opcmd:: show log dhcpv6 client
Show logs from all DHCPv6 client processes.
.. opcmd:: show log dhcpv6 client interface <interface>
Show logs from specific `interface` DHCPv6 client process.
.. opcmd:: restart dhcp server
Restart the DHCP server
@ -512,6 +536,8 @@ Operation Mode
Show only leases with the specified state. Possible states: all, active,
free, expired, released, abandoned, reset, backup (default = active)
***********
IPv6 server
***********