CmdID

CmdID / az / az network / az network watcher / az network watcher packet-capture

az network watcher packet-capture create

Create and start a packet capture session. Azure CLI reference

15 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

15 in the Azure CLI reference
--capture-limitMaximum size in bytes of the capture output.
--capture-sizeNumber of bytes captured per packet.
--excludeSpace-separated list of VMSS instances to exclude in packet capture.
--file-pathLocal path on the targeted VM at which to save the packet capture.
--filtersJSON encoded list of packet filters.
--includeSpace-separated list of VMSS instances to include in packet capture like 0 1 2.
--name, -nName of the packet capture session.
--storage-accountName or ID of a storage account to save the packet capture to.
--storage-pathFully qualified URI of an existing storage container in which to store the capture file.
--target-typeResource type of target.
--targetName or ID of the target resource.
--time-limitMaximum duration of the capture session in seconds.
--vmName or ID of the VM to target.
--watcher-nameName of the network watcher.
--watcher-rgName of the resource group the watcher is in.