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 /opt/vyatta/sbin/dhcrelay-starter.pl --op-mode --init='/opt/vyatta/sbin/dhcrelay.init'
Restart DHCPv6 processes
Restart the DHCPv6 server process
sudo systemctl restart isc-dhcpv6-server.service
Restart the DHCP server process
sudo /opt/vyatta/sbin/dhcv6relay-starter.pl --op_mode --config_action ACTIVE