Clear DHCP server lease
DHCP server lease
${vyos_op_scripts_dir}/dhcp.py clear_dhcp_server_lease --family inet --address $4
Clear DHCP server lease for vrf
vrf name
DHCP server lease
${vyos_op_scripts_dir}/dhcp.py clear_dhcp_server_lease --family inet --vrf $4 --address $6
Clear DHCPv6 server lease
DHCPv6 server lease
${vyos_op_scripts_dir}/dhcp.py clear_dhcp_server_lease --family inet6 --address $4
Clear DHCPv6 server lease for vrf
vrf name
DHCPv6 server lease
${vyos_op_scripts_dir}/dhcp.py clear_dhcp_server_lease --family inet6 --vrf $4 --address $6
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 --vrf ''
Show DHCP server leases granted by local or remote DHCP server
local remote
${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet --vrf '' --origin $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 --vrf '' --origin $6 --sort $8
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 --vrf '' --pool $6
Show DHCP server leases sorted by the specified key
end hostname ip mac remaining start state
${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet --vrf '' --pool $6 --sort $8
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 --vrf '' --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 --vrf '' --state $6
Show DHCP server leases sorted by the specified key
end hostname ip mac pool remaining start
${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet --vrf '' --state $6 --sort $8
Show DHCP server static mappings
${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet --vrf ''
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 --vrf '' --pool $6
Show DHCP server static mappings sorted by the specified key
duid hostname ip mac
${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet --vrf '' --pool $6 --sort $8
Show DHCP server static mappings sorted by the specified key
duid hostname ip mac pool
${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet --vrf '' --sort $6
Show DHCP server statistics
${vyos_op_scripts_dir}/dhcp.py show_server_pool_statistics --family inet --vrf ''
Show DHCP server statistics for a specific pool
service dhcp-server shared-network-name
${vyos_op_scripts_dir}/dhcp.py show_server_pool_statistics --family inet --vrf '' --pool $6
Show DHCP (Dynamic Host Configuration Protocol) information for vrf
vrf name
Show DHCP server leases
${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet --vrf $5
Show DHCP server leases granted by local or remote DHCP server
local remote
${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet --vrf $5 --origin $8
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 --vrf $5 --origin $8 --sort $10
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 --vrf $5 --pool $8
Show DHCP server leases sorted by the specified key
end hostname ip mac remaining start state
${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet --vrf $5 --pool $8 --sort $10
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 --vrf $5 --sort $8
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 --vrf $5 --state $8
Show DHCP server leases sorted by the specified key
end hostname ip mac pool remaining start
${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet --vrf $5 --state $8 --sort $10
Show DHCP server static mappings
${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet --vrf $5
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 --vrf $5 --pool $8
Show DHCP server static mappings sorted by the specified key
duid hostname ip mac
${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet --vrf $5 --pool $8 --sort $10
Show DHCP server static mappings sorted by the specified key
duid hostname ip mac pool
${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet --vrf $5 --sort $8
Show DHCP server statistics
${vyos_op_scripts_dir}/dhcp.py show_server_pool_statistics --family inet --vrf $5
Show DHCP server statistics for a specific pool
service dhcp-server shared-network-name
${vyos_op_scripts_dir}/dhcp.py show_server_pool_statistics --family inet --vrf $5 --pool $8
Show DHCPv6 (IPv6 Dynamic Host Configuration Protocol) information
Show DHCPv6 server information
Show DHCPv6 server leases
${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet6 --vrf ''
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 --vrf '' --pool $6
Show DHCPv6 server leases sorted by the specified key
end duid hostname ip last_communication remaining state type
${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet6 --vrf '' --pool $6 --sort $8
Show DHCPv6 server leases sorted by the specified key
end duid hostname ip last_communication pool remaining state type
${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet6 --vrf '' --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 --vrf '' --state $6
Show DHCPv6 server leases sorted by the specified key
end duid hostname ip last_communication pool remaining type
${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet6 --vrf '' --state $6 --sort $8
Show DHCPv6 server static mappings
${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet6 --vrf ''
Show DHCPv6 server static mappings for a specific pool
service dhcpv6-server shared-network-name
${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet6 --vrf '' --pool $6
Show DHCPv6 server static mappings sorted by the specified key
duid hostname ip mac
${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet6 --vrf '' --pool $6 --sort $8
Show DHCPv6 server static mappings sorted by the specified key
duid hostname ip mac pool
${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet6 --vrf '' --sort $6
Show DHCPv6 server statistics
${vyos_op_scripts_dir}/dhcp.py show_server_pool_statistics --family inet6 --vrf ''
Show DHCPv6 server statistics for a specific pool
service dhcpv6-server shared-network-name
${vyos_op_scripts_dir}/dhcp.py show_server_pool_statistics --family inet6 --vrf '' --pool $6
Show DHCPv6 (IPv6 Dynamic Host Configuration Protocol) information for vrf
vrf name
Show DHCPv6 server leases
${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet6 --vrf $5
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 --vrf $5 --pool $8
Show DHCPv6 server leases sorted by the specified key
end duid hostname ip last_communication remaining state type
${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet6 --vrf $5 --pool $8 --sort $10
Show DHCPv6 server leases sorted by the specified key
end duid hostname ip last_communication pool remaining state type
${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet6 --vrf $5 --sort $8
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 --vrf $5 --state $8
Show DHCPv6 server leases sorted by the specified key
end duid hostname ip last_communication pool remaining type
${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet6 --vrf $5 --state $8 --sort $10
Show DHCPv6 server static mappings
${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet6 --vrf $5
Show DHCPv6 server static mappings for a specific pool
service dhcpv6-server shared-network-name
${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet6 --vrf $5 --pool $8
Show DHCPv6 server static mappings sorted by the specified key
duid hostname ip mac
${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet6 --vrf $5 --pool $8 --sort $10
Show DHCPv6 server static mappings sorted by the specified key
duid hostname ip mac pool
${vyos_op_scripts_dir}/dhcp.py show_server_static_mappings --family inet6 --vrf $5 --sort $8
Show DHCPv6 server statistics
${vyos_op_scripts_dir}/dhcp.py show_server_pool_statistics --family inet6 --vrf $5
Show DHCPv6 server statistics for a specific pool
service dhcpv6-server shared-network-name
${vyos_op_scripts_dir}/dhcp.py show_server_pool_statistics --family inet6 --vrf $5 --pool $8
Restart DHCP processes
Restart DHCP server
${vyos_op_scripts_dir}/restart.py restart_service --name dhcp
Restart DHCP server on vrf
vrf name
${vyos_op_scripts_dir}/restart.py restart_service --name dhcp --vrf $5
Restart DHCP relay-agent
${vyos_op_scripts_dir}/restart_dhcp_relay.py --ipv4
Restart DHCPv6 processes
Restart DHCPv6 server
${vyos_op_scripts_dir}/restart.py restart_service --name dhcpv6
Restart DHCPv6 server on vrf
vrf name
${vyos_op_scripts_dir}/restart.py restart_service --name dhcpv6 --vrf $5
Restart DHCPv6 relay-agent
${vyos_op_scripts_dir}/restart_dhcp_relay.py --ipv6
Renew specified variable
Renew DHCP client lease
Renew DHCP client lease for specified interface
${vyos_op_scripts_dir}/dhcp.py renew_client_lease --family inet --interface "$4"
Renew DHCPv6 client lease
Renew DHCPv6 client lease for specified interface
${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
${vyos_op_scripts_dir}/dhcp.py release_client_lease --family inet --interface "$4"
Release DHCPv6 client lease
Release DHCPv6 client lease for specified interface
${vyos_op_scripts_dir}/dhcp.py release_client_lease --family inet6 --interface "$4"