text
stringlengths
0
4.23k
Examples
To ping the destination 10.0.99.221 and resolve 10.0.99.221 to its host name, type:
ping /a 10.0.99.221
To ping the destination 10.0.99.221 with 10 echo Request messages, each of which has a Data field of 1000 bytes, type:
ping /n 10 /l 1000 10.0.99.221
To ping the destination 10.0.99.221 and record the route for 4 hops, type:
ping /r 4 10.0.99.221
To ping the destination 10.0.99.221 and specify the loose source route of 10.12.0.1-10.29.3.1-10.1.44.1, type:
ping /j 10.12.0.1 10.29.3.1 10.1.44.1 10.0.99.221
pktmon counters
Applies to: Windows Server 2022, Windows Server 2019, Windows 10, Azure Stack HCI, Azure Stack Hub, Azure
Pktmon counters allows you to query and display current packet counters from monitored components to confirm the presence of expected traffic and get a high-level view of how the traffic flowed in the machine.
Syntax
pktmon counters [--type { all | flow | drop }] [--include-hidden] [--zero] [--drop-reason] [--live] [--refresh-rate <n>] [--json]
Parameters
Parameter
Description
-t, --type
Select which types of counters to show. Supported values are all counters (default), flow (flows only), or drop (drops only).
-z, --zero
Show counters that are zero in both directions.
-i, --include-hidden
Show counters from components that are hidden by default.
-r, --drop-reason
Show the most recent drop reason for each drop counter.
--live
Automatically refresh the counters. Press Ctrl+C to stop.
--refresh-rate <n>
Number of times to refresh the counters per second, from 1 to 30. Default is 10.
--json
Output the counters in JSON format. Implies -i and -r.
pktmon etl2pcap
Applies to: Windows Server 2022, Windows Server 2019, Windows 10, Azure Stack HCI, Azure Stack Hub, Azure
Convert pktmon log file to pcapng format. Dropped packets are not included by default.
Syntax
pktmon etl2pcap <file> [--out <name>] [--drop-only] [--component-id <id>]
Where <file> is the ETL file to convert.
<file>
Parameters
Parameter
Description
-o, --out <name>
Name of the formatted pcapng file.
-d, --drop-only
Convert dropped packets only.
-c, --component-id <id>
Filter packets by a specific component ID.
pktmon etl2txt
Applies to: Windows Server 2022, Windows Server 2019, Windows 10, Azure Stack HCI, Azure Stack Hub, Azure
Convert ETL log file to text format.
Syntax
pktmon etl2txt <file> [--out <name>] [--stats-only] [--timestamp-only] [--metadata]
[--tmfpath <path>] [--brief] [--verbose <n>] [--hex]
[--no-ethernet] [--vxlan <port>]
Where <file> is the ETL file to convert.
<file>
Parameters
Parameter
Description