NSX CLI Guide

get dhcp-server config <hs-name-arg> <dvport-id-arg> ipv4

Display DHCP server config for a host switch and dvport

Parameters:

Option Description
<host-switch-name> Host switch name
<dvport-id> DVPort identifier
Allowed pattern: ^([A-Za-z0-9_:-]+)$


Example:

esx-1> get dhcp-server config nsxvswitch b65dcac9-6611-41ce-b96c-69255120b473 ipv4 DHCP Server Config ------------------------------------------------------------ Status : Enabled Server IP : 10.6.0.34 Server MAC : 00:50:56:98:7d:d7 Server NetMask : 255.255.255.224 Desired Client IP : 10.6.0.59 Client MAC : 00:50:56:94:b5:34 Client Requested IP : 10.6.0.59 Server State : Ack Sent Options Count : 8 List of Configured Option Codes : 1 Subnet Mask : 255.255.255.224 3 Routers : 10.6.0.33 26 Interface MTU : 1500 51 Lease Time : 60 54 Server Identifier : 10.6.0.34 67 Boot File Name : /boot/file/name 121 Classless Static Routes : 10.0.1.0/24 via 10.5.0.97 129.0.1.0/24 via 10.5.0.97 0.0.0.0/0 via 10.6.0.33 249 MS Classless Routes : 10.0.1.0/24 via 10.5.0.97 129.0.1.0/24 via 10.5.0.97 0.0.0.0/0 via 10.6.0.33

Mode:

Basic

Availability: