NSX CLI Guide

Associated Commands:

CLI Description Command

Show all IP leases under a DHCP server/subnet


Display all IP leases under a DHCP server/subnet
get dhcp leases <dhcp-uuid-arg>

Show all DHCP servers/subnets enabled with DHCP


Display all DHCP servers/subnets enabled with DHCP
get dhcp servers

Show the dynamic IP pool usage for a DHCP server/subnet


Display the dynamic IP pool usage for a DHCP server/subnet
get dhcp stats <dhcp-uuid-arg>

Display DHCP server config for a host switch and dvport


Display DHCP server config for a host switch and dvport
get dhcp-server config <hs-name-arg> <dvport-id-arg> ipv4

Display DHCP server stats for a host switch and dvport


Display DHCP server stats for a host switch and dvport
get dhcp-server stats <hs-name-arg> <dvport-id-arg> ipv4

Total commands: 5