NSX CLI Guide

Associated Commands:

CLI Description Command

Show dhcp ip pool


Display a specific DHCP IP pool.
get dhcp ip-pool <uuid-string-arg>

Show all dhcp ip pool


Display all DHCP IP pools.
get dhcp ip-pools

Show dhcp ip pools matched server uuid


Display DHCP IP pools which matched a specific server UUID.
get dhcp ip-pools server-uuid <uuid-string-arg>

Show DHCPv6 IP pool


Display a specific DHCPv6 IP pool.
get dhcp ipv6-ip-pool <uuid-string-arg>

Show all DHCPv6 IP pools


Display all DHCPv6 IP pools.
get dhcp ipv6-ip-pools

Show DHCPv6 IP pools matching server uuid


Display DHCPv6 IP pools which match a specific server UUID.
get dhcp ipv6-ip-pools server-uuid <uuid-string-arg>

Show all non-released DHCPv6 leases by search string


Display all non-released DHCPv6 leases by search string.
get dhcp ipv6-lease <string-arg>

Show all DHCPv6 leases by search string


Display all DHCPv6 leases(both released and non-released) by search string.
get dhcp ipv6-lease <string-arg> all

Show all non-released DHCPv6 leases


Display all non-released DHCPv6 leases.
get dhcp ipv6-leases

Show all DHCPv6 leases


Display all DHCPv6 leases.
get dhcp ipv6-leases all

Show DHCPv6 static binding


Display a specific DHCPv6 static binding.
get dhcp ipv6-static-binding <uuid-string-arg>

Show all DHCPv6 static bindings


Display all DHCPv6 static bindings.
get dhcp ipv6-static-bindings

Show DHCPv6 static bindings matching server uuid


Display DHCPv6 static bindings which match a specific server UUID.
get dhcp ipv6-static-bindings server-uuid <uuid-string-arg>

Show non-released DHCP lease


Display a specific DHCP lease. You can specify a DHCP server's UUID, or a MAC address, or an IP address.
get dhcp lease <string-arg>

Show DHCP lease


Display a specific DHCP lease. You can specify a DHCP server's UUID, or a MAC address, or an IP address.
get dhcp lease <string-arg> all

Show all non-released dhcp leases


Display all non-released DHCP leases.
get dhcp leases

Show all dhcp leases


Display all DHCP leases.
get dhcp leases all

Display DHCP Server IPv6 Stats Entries


Display the DHCP Server IPv6 Stats Entries.
get dhcp server <uuid-string-arg> ipv6-stats

Display DHCP Server IPv4 Stats Entries


Display the DHCP Server IPv4 Stats Entries.
get dhcp server <uuid-string-arg> stats

Show logical dhcp server


Display a specific DHCP server. Optionally specify an argument to display only the status or the synchronization information.
get dhcp server <uuid> [status | sync]

Show all logical DHCP server


Display all DHCP servers. Optionally specify an argument to display only the status or the synchronization information.

If the edge node is the only member of the edge cluster, the STATUS property will be displayed as UNKNOWN when you call get dhcp servers status because HA (high availability) is not available.
get dhcp servers [status | sync]

Show dhcp static binding


Display a specific DHCP static binding.
get dhcp static-binding <uuid-string-arg>

Show all dhcp static binding


Display all DHCP static bindings.
get dhcp static-bindings

Show dhcp static bindings matched server uuid


Display a specific DHCP static bindings which matched a specific server UUID.
get dhcp static-bindings server-uuid <uuid-string-arg>

Reset DHCP Server IPv6 Stats Entries


Reset the DHCP Server IPv6 Stats Entries.
reset dhcp server <uuid-string-arg> ipv6-stats

Reset DHCP Server IPv4 Stats Entries


Reset the DHCP Server IPv4 Stats Entries.
reset dhcp server <uuid-string-arg> stats

Total commands: 26