MTR request
Synopsis
Test network connectivity with MTR.
Syntax
New-EdgeDiagnosticsMTR -Destination <String> -DestinationType <String> -PacketType <String> [-Port <Int32>] [-ResolveDNS] [-ShowIPs] [-ShowLocations] [-SiteShieldHostname <String>] -Source <String> -SourceType <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]New-EdgeDiagnosticsMTR -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Description
Using MTR provides information about packet loss and latency between an edge server IP and a location or between a Site Shield map and a remote destination.
To run this operation for an IP, run the Test-EdgeDiagnosticsIP operation first to verify if it belongs to an edge server.
To run this operation for a GTM hostname, run the Get-EdgeDiagnosticsGTMProperties and Get-EdgeDiagnosticsGTMPropertyIPs operations first to get the test and target IPs for the hostname.
Parameters
‑AccountSwitchKey | An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey. |
‑BodyConditionally required | Request body, either as a PSCustomObject or string. This parameter supports pipelining. |
‑DestinationConditionally required | An MTR destination compliant with the To build an object for a GTM hostname, enter the For a Site Shield hostname, enter a destination IP address. |
‑DestinationTypeConditionally required | The type of destination input, either |
‑EdgeRCFile | Your EdgeGrid resource file to authenticate your command. Defaults to |
‑PacketTypeConditionally required | The packet type for the Connectivity problems scenario to use to run MTR, either |
‑Port | The port number for the Connectivity problems scenario to use to run MTR, either |
‑ResolveDNS | Resolves DNS for each hop. |
‑Section | The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
‑ShowIPs | Shows IPs for each hop. |
‑ShowLocations | Shows locations for each hop. |
‑SiteShieldHostname | The Site Shield hostname you want to run the MTR for. |
‑SourceConditionally required | An MTR source compliant with the For locations, enter For edge IPs, use the edge server IP value from the To build an object for a GTM hostname, enter the |
‑SourceTypeConditionally required | Type of the source input, either |
