VMware NSX-T Data Center 2.5.x
VMware NSX-T Data Center 3.x
This issue occurs due to the NSX Manager not allowing packet capture session to run for a long period of time. If the Packet Capture value parameter is specified and larger than 10 minutes in the REST API, the fixed 10 minutes timeout value will take higher priority than the duration.
Notes:
Workarond:
Run the next command directly on the host:
nohup nsxcli -c start capture interface <interface_uuid> file test.pcap > /dev/null 2>&1 &
This command keeps the Packet Capture process continuously running.
For more information, see the NSX-T Data Center API Guide.