Managing virtual network

Hello everyone,

I need some help working with virtual network.
Currently, I’m using sunstone to import NSX segment from vCenter. While importing my nsx segment, I change it settings, changing type “eth” to “ipv4” and and specifiying Ip range, DNS, Gateway etc.
It works perfectly but now I would like to perform this task using cli. Is there any way to import from vcenter and customizing the virtual network template using one commands?

Also, I’m looking for a way to export lease information for tracking purpose from the command line.

Thank you for your help.