Show DHCP (Dynamic Host Configuration Protocol) information
Show DHCP information
Show DHCP server leases
sudo ${vyos_op_scripts_dir}/show_dhcp.py --leases
Show DHCP leases for a specific pool
sudo ${vyos_op_scripts_dir}/show_dhcp.py --leases --pool $4
Show DHCP server statistics
sudo ${vyos_op_scripts_dir}/show_dhcp.py --statistics
Show DHCP server statistics for a specific pool
sudo ${vyos_op_scripts_dir}/show_dhcp.py --statistics --pool $4
Show DHCPv6 (IPv6 Dynamic Host Configuration Protocol) information
Show DHCPv6 server information
Show DHCPv6 server leases
sudo ${vyos_op_scripts_dir}/show_dhcpv6.py --leases
Restart DHCP processes
Restart the DHCP server process
sudo systemctl restart isc-dhcp-server.service
Restart the DHCP server process
sudo ${vyos_op_scripts_dir}/restart_dhcp_relay.py --ipv4
Restart DHCPv6 processes
Restart the DHCPv6 server process
sudo systemctl restart isc-dhcpv6-server.service
Restart the DHCP server process
sudo ${vyos_op_scripts_dir}/restart_dhcp_relay.py --ipv6