> ## Documentation Index
> Fetch the complete documentation index at: https://docs.megaport.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Troubleshooting Port and VXC Latency

> This help topic describes how to identify and solve issues with Port and VXC latency.

export const Video = ({url, text, duration, description}) => {
  const errorPrefix = '\x1b[31;1;4mERROR\x1b[0m: Video -';
  if (typeof url !== 'string') {
    url = String(url);
  }
  if (typeof text !== 'string') {
    text = String(text);
  }
  if (!url || url === 'undefined') {
    console.error(`${errorPrefix} the \`url\` property is required — rendering an empty string instead`);
    return <></>;
  }
  if (!text || text === 'undefined') {
    console.error(`${errorPrefix} the \`text\` property is required — rendering an empty string instead`);
    return <></>;
  }
  const youtubeIconMask = "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M549.7 124.1c-6.3-23.7-24.8-42.3-48.3-48.6C458.8 64 288 64 288 64S117.2 64 74.6 75.5c-23.5 6.3-42 24.9-48.3 48.6-11.4 42.9-11.4 132.3-11.4 132.3s0 89.4 11.4 132.3c6.3 23.7 24.8 41.5 48.3 47.8C117.2 448 288 448 288 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zM232 336V176l142.7 80z'/%3E%3C/svg%3E\")";
  return <div className="video-callout">
      <div className="callout my-4 flex gap-3 overflow-hidden rounded-2xl border px-5 py-4">
        <div className="mt-0.5 w-4 shrink-0" data-component-part="callout-icon">
          <svg aria-hidden="true" className="size-4 shrink-0" style={{
    WebkitMaskImage: youtubeIconMask,
    maskImage: youtubeIconMask,
    WebkitMaskRepeat: 'no-repeat',
    maskRepeat: 'no-repeat',
    WebkitMaskPosition: 'center',
    maskPosition: 'center',
    backgroundColor: '#0284c7'
  }} />
        </div>
        <div className="min-w-0 w-full text-sm" data-component-part="callout-content">
          <strong>
            Video:{' '}
            <a href={url} target="_blank" rel="noopener noreferrer">
              {text}
              <span className="sr-only"> (opens in a new tab)</span>
            </a>
          </strong>
          {}
          {duration && <> ({duration})</>}
          {}
          {description && <p className="mt-1 mb-0 text-xs text-gray-500 dark:text-gray-400">
              {description}
            </p>}
        </div>
      </div>
    </div>;
};

export const Gloss = ({term, anchor, langDir = 'en'}) => {
  const errorPrefix = '\x1b[31;1;4mERROR\x1b[0m: Gloss -';
  if (typeof term !== 'string') {
    term = String(term);
  }
  if (typeof anchor !== 'string') {
    anchor = String(anchor);
  }
  if (!term || term === 'undefined') {
    console.error(`${errorPrefix} the \`term\` property is required — rendering an empty string instead`);
    return <></>;
  }
  if (!anchor || anchor === 'undefined') {
    console.error(`${errorPrefix} the \`anchor\` property is required — rendering an empty string instead`);
    return <></>;
  }
  const lang = langDir === 'en' ? '/' : '/' + langDir + '/';
  const glossaryPage = lang + 'glossary/#' + anchor;
  return <a href={glossaryPage}>{term}</a>;
};

Latency is the time it takes for data to be transferred between its original source and its destination, measured in milliseconds. Latency generally can be attributed to changes to the path network traffic traversed and stabilizes quite quickly. To understand the expected latency for the circuits your traffic traverses, see the Megaport [Network Latency page](https://www.megaport.com/network-latency/).

<Tip>
  You can verify Port and VXC status from the Megaport Portal. On the [Services page](/portal-admin/services-page) in the Portal, find the Port or VXC and mouse over its icon. A message displays the status of the service. The color of the icon also indicates the service status.
</Tip>

<Video url="https://youtu.be/rJU3yjCEn-o" text="How to Check the Port Status" duration="1:02" description="This video shows how to check the status of a Port from the Services page in the Megaport Portal, using the port icon color." />

<Video url="https://youtu.be/XSNm5q3d3n0" text="How to Check the Network Latency" duration="1:23" description="This video shows how to check latency between Megaport points of presence and compare latency values across the Megaport network." />

<Video url="https://youtu.be/l2DIuVzea_Q" text="Troubleshooting Port Activation" duration="13:44" description="This video walks through the process of provisioning a Port and troubleshooting common activation issues." />

<Video url="https://youtu.be/5Xm8mFD1MBg" text="Troubleshooting VXC Connectivity" duration="12:16" description="This video shows how to check VXC status from the Services page and diagnose connectivity issues between endpoints." />

<Video url="https://www.youtube.com/watch?v=LPvKSXHelCw" text="Common Troubleshooting Actions, Part I - Ports" description="This video covers common troubleshooting actions for new and existing Ports, including cross connects, fiber polarity, auto-negotiation, LACP, and checking optical levels." />

## Troubleshooting actions

If you notice ongoing increased latency or frequent latency spikes with your Ports or VXCs, step through these troubleshooting actions before contacting Megaport Support.

| **Action**                                                                                                             | **Steps**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| :--------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Check for errors and packet drops on the device**                                                                    | Interface statistics and logs can help identify which end of the cross connect is causing the fault, and the potential solution. For example, an increasing number of incoming errors on a network interface generally rules out that specific <Gloss term="SFP" anchor="sfp" /> and indicates a potential issue with other components of the cross connect.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| **Verify the Tx and Rx optical levels on the device**                                                                  | Verify both the transmitted (Tx) and received (Rx) light levels. When no signal is received from the far-end (Megaport) device, it could indicate that the polarity is wrong and reversed. If no light is received from the far-end connection, verify the fiber polarity.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **Verify physical connections with the data center (reseat and replace SFP, clean and replace cables, loopback test)** | Open a ticket with the data center to perform the following tests:<br /><ol><li>Check the cross connect for damages or cleaning, if needed.</li><li>Ensure that the data center is transmitting adequate light outside of the demarcation point at its end of the connection. The data center should check the light at the demarcation point with a light reading meter.</li><li>SFP models should align with the interface speed and interface details in Megaport [Technical Specifications](/tech-specs).</li></ol>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **Verify carrier circuit status (if any)**                                                                             | Some cross connects are set through one or multiple carrier network devices before reaching the Megaport network. Verify that the device interfaces in the cross connect path are free of errors and optic light readings are operating correctly.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **Validate equipment performance**                                                                                     | While troubleshooting, Megaport does not have visibility or access outside the Megaport network. To verify that the cause of an issue is within the Megaport network, Megaport Support requires customers to validate the performance of their equipment. This includes ensuring that the hardware specifications and limitations are compatible with Megaport [Technical Specifications](/tech-specs), and monitoring the network traffic and the workload on the hardware to avoid congestion or degraded performance. To ensure that hardware and your network is operating as expected, we recommend that you validate the performance of the following:<br /><br />**Hardware**<ul><li>Optic (SFP type, speed, and wavelength) and fiber type</li><li>Port capacity</li><li>Switch, router, and firewall models</li><li>Firmware version</li></ul>**Network**<ul><li>Traffic flow</li><li>Port utilization</li><li>CPU utilization</li><li>Configuration</li><li>Overall network design</li></ul>If you identify any anomalies, capture the logs, graph details, or any relevant error messages.                                 |
| **Compare latencies**                                                                                                  | Compare your latency to Megaport's published latency. For more information, see the How to Check the Network Latency video above.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **Perform <Gloss term="traceroute" anchor="traceroute" /> or other test to locate symptom**                            | **Traceroute** testing can help to determine if a destination is reachable. **Traceroute** sends a sequence of <Gloss term="User Datagram Protocol (UDP)" anchor="udp" /> packets between two points and shows you the route the packets take. **Traceroute** also measures the transit delays of packets across an IP network.<br /><br />**Perform end-to-end traceroute testing**<br /><ul><li>From the host that is originating traffic (A-End), start the **traceroute** to the destination host (B-End). Then run the traceroute from the destination host to the origin host. Commands and flags might differ by device.</li></ul>**Analyze the results**<br /><ul><li>Look for potential asymmetric routing. If the **traceroute** results are not taking the same path, a **traceroute** will help pinpoint asymmetric routing somewhere in the network.</li><li>Are there any places in the **traceroute** where the response time has significantly increased? If so, are those delays within your network?<br />Are there any firewalls or access list rules prohibiting traffic from reaching the destination?</li></ul> |

## Next steps

If the troubleshooting actions do not resolve your issue, contact support. Before requesting assistance, collect the following information.

* **Troubleshooting results** -- Provide all the troubleshooting steps you have taken in detail. For example, if loops were placed, note their location and which direction they faced.
* **Source IP address and destination IP address** -- The source IP address IP packet field contains the IP address of the originating data host. The destination IP address IP packet field contains the IP address of the host to which it is addressed.
* **High-level network diagram** -- Understanding how your network design is implemented and the connection into the Megaport network helps identify additional focus areas within the troubleshooting process. Provide a network diagram that includes all devices in the path; note the involved IP addresses and VLANs for each device.
* **Ping test results** -- Provide the output of each **ping** test performed on the service. Provide all output tests if you have multiple services related to different products (for example, a Port or VXC).
* **Traceroute results** -- Provide **traceroute** results, indicating which side of the connection initiated the test and which side was the destination. We recommend that you use the A-End and B-End information from your VXC.

<Note>
  For more information about when a field service technician is needed onsite at the data center, see [Customer Field Services](/finance/customer-field-services).
</Note>
