Clear DHCP server lease DHCP server lease ${vyos_op_scripts_dir}/dhcp.py clear_dhcp_server_lease --family inet --address $4 Clear DHCPv6 server lease DHCPv6 server lease ${vyos_op_scripts_dir}/dhcp.py clear_dhcp_server_lease --family inet6 --address $4 Show DHCP (Dynamic Host Configuration Protocol) information Show DHCP client information Show DHCP client leases Show DHCP client information for a given interface ${vyos_op_scripts_dir}/dhcp.py show_client_leases --family inet --interface $6 ${vyos_op_scripts_dir}/dhcp.py show_client_leases --family inet Show DHCP server information Show DHCP server leases ${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet Show DHCP server leases granted by local or remote DHCP server local remote ${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet --origin $6 Show DHCP server leases for a specific pool service dhcp-server shared-network-name ${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet --pool $6 Show DHCP server leases sorted by the specified key end hostname ip mac pool remaining start state ${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet --sort $6 Show DHCP server leases with a specific state (can be multiple, comma-separated) abandoned active all backup expired free released reset ${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet --state $6 Show DHCP server static mappings ${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet Show DHCP server static mappings for a specific pool service dhcp-server shared-network-name ${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet --pool $6 Show DHCP server static mappings sorted by the specified key ip mac duid pool ${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet --sort $6 Show DHCP server statistics ${vyos_op_scripts_dir}/dhcp.py show_pool_statistics --family inet Show DHCP server statistics for a specific pool service dhcp-server shared-network-name ${vyos_op_scripts_dir}/dhcp.py show_pool_statistics --family inet --pool $6 Show DHCPv6 (IPv6 Dynamic Host Configuration Protocol) information Show DHCPv6 server information Show DHCPv6 server leases sudo ${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet6 Show DHCPv6 server leases for a specific pool service dhcpv6-server shared-network-name ${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet6 --pool $6 Show DHCPv6 server leases sorted by the specified key end duid ip last_communication pool remaining state type ${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet6 --sort $6 Show DHCPv6 server leases with a specific state (can be multiple, comma-separated) abandoned active all backup expired free released reset ${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet6 --state $6 Show DHCPv6 server static mappings ${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet6 Show DHCPv6 server static mappings for a specific pool service dhcp-server shared-network-name ${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet6 --pool $6 Show DHCPv6 server static mappings sorted by the specified key ip mac duid pool ${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet6 --sort $6 Restart DHCP processes Restart DHCP server if cli-shell-api existsActive service dhcp-server; then sudo systemctl restart kea-dhcp4-server.service; else echo "DHCP server not configured"; fi Restart DHCP relay-agent sudo ${vyos_op_scripts_dir}/restart_dhcp_relay.py --ipv4 Restart DHCPv6 processes Restart DHCPv6 server if cli-shell-api existsActive service dhcpv6-server; then sudo systemctl restart kea-dhcp6-server.service; else echo "DHCPv6 server not configured"; fi Restart DHCPv6 relay-agent sudo ${vyos_op_scripts_dir}/restart_dhcp_relay.py --ipv6 Renew specified variable Renew DHCP client lease Renew DHCP client lease for specified interface sudo ${vyos_op_scripts_dir}/dhcp.py renew_client_lease --family inet --interface "$4" Renew DHCPv6 client lease Renew DHCPv6 client lease for specified interface sudo ${vyos_op_scripts_dir}/dhcp.py renew_client_lease --family inet6 --interface "$4" Release specified variable Release DHCP client lease Release DHCP client lease for specified interface sudo ${vyos_op_scripts_dir}/dhcp.py release_client_lease --family inet --interface "$4" Release DHCPv6 client lease Release DHCPv6 client lease for specified interface sudo ${vyos_op_scripts_dir}/dhcp.py release_client_lease --family inet6 --interface "$4"