NSX-T Data Center REST API

Associated URIs:

API Description API Path

Create an new packet capture session


Create an new packet capture session on given node with specified options
POST /policy/api/v1/infra/pktcap/session

Delete the packet capture session by session id.


Before calling this method, terminate any running capture session.
DELETE /policy/api/v1/infra/pktcap/session/{session-id}

Get the status of packet capture session


Get the packet capture status information by session id.
GET /policy/api/v1/infra/pktcap/session/{session-id}

Restart the packet capture session


Restart the packet capture session
POST /policy/api/v1/infra/pktcap/session/{session-id}

Get packet capture file


You must provide the request header
"Accept:application/octet-stream" when calling this API.
The capture file can only be found in MP which receives the capture request.
GET /policy/api/v1/infra/pktcap/session/{session-id}/CapturedFile

Delete all the packet capture sessions


Delete all the packet capture sessions.
DELETE /policy/api/v1/infra/pktcap/sessions

Get the information of all packet capture sessions


Get the information of all packet capture sessions.
GET /policy/api/v1/infra/pktcap/sessions