NSX CLI Guide

Debug Commands

get dhcp port <dhcp-uuid-arg>

Display a client port under a DHCP server/subnet including its status, allocated IP, consumed IP, etc.

Parameters:

Option Description
<dhcp-uuid-arg> DHCP server/subnet UUID
Allowed pattern: ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$


Example:

nsx-controller-1> get dhcp port 5539c4dc-621e-4d8b-8a40-2ee299f1ec73 lsp: 5539c4dc-621e-4d8b-8a40-2ee299f1ec73, state: dynamic, mac: 00:50:56:98:7d:d7, ip: 10.20.114.193, discovered: [{'mac': '00:50:56:98:7d:d7', 'ip': '10.20.114.193'}] nsx-controller-1> get dhcp port 954f9702-3854-4bda-8bf5-d9c2914ca570 lsp: 954f9702-3854-4bda-8bf5-d9c2914ca570, state: dynamic, mac: 00:50:56:85:95:e9, ip: 10.20.114.194 nsx-controller-1> get dhcp port 16789792-2dc8-47c6-86e6-7ecf2c15c047 lsp: 16789792-2dc8-47c6-86e6-7ecf2c15c047, state: disconnected nsx-controller-1> get dhcp port 4d65f600-7252-4255-8a19-f4b1ae1752b6 lsp: 4d65f600-7252-4255-8a19-f4b1ae1752b6, state: static, mac: 00:50:56:85:c8:ee, ip: 10.20.114.195/27

Mode:

Basic

Availability: