Cloud Interconnect diagnostics let you troubleshoot your Cross-Site Interconnect connections during provisioning and after activation.
The diagnostics provide you detailed technical information about the Google Cloud Cross-Site Interconnect connections on demand.
Diagnostics during outages
In the event of a global outage, don't use the diagnostics results from your Cross-Site Interconnect connection to make decisions about where to redirect your network traffic. A Cross-Site Interconnect connection is a global resource. A global outage can prevent the diagnostics for Cloud Interconnect from functioning properly.
Diagnostics during provisioning
Viewing diagnostics provides you with the information required to troubleshoot and fix problems in your on-premises router configuration, which can be helpful if your Cross-Site Interconnect connection fails to progress through the provisioning process.
The diagnostics results contain different data depending on what stage in the provisioning process your Cross-Site Interconnect connection is in. The major and minor steps are listed in the next section. This diagnostic information provides you with possible next steps to take to help ensure that the provisioning process progresses without further issues.
Use the command output reference to interpret diagnostic command results or the information provided in the Google Cloud console.
Provisioning stages
The Cross-Site Interconnect connection provisioning process occurs in the following stages. You must meet the requirements in stage 1 before you can move on to stage 2:
Stage 1, circuit connection
- The optical power state is
OK
for each link in the connection.
- The optical power state is
Stage 2, production configuration
- The optical power state is
OK
for each link in the connection. - A temporary IP address is assigned to the untagged bundle interface. Google Cloud verifies connectivity through a ping. The test IP address is removed when the activation process is complete.
- The optical power state is
Use diagnostics
To see diagnostics information for the Cross-Site Interconnect connection, follow these steps.
Console
In the Google Cloud console, go to the Interconnect page.
On the Physical connections tab, select the name of a Cross-Site Interconnect connection.
Diagnostics information is in the following locations on the connection details page:
- For warnings or errors, see the Status field.
- For the provisioned capacity of the Cross-Site Interconnect, see the Provisioned capacity field.
- For additional details, such as link status and light levels, see the Link circuit info section.
- For details such as the effective capacity of the connection or status of its wire groups, see the Wire groups section.
gcloud
Use the gcloud beta compute interconnects get-diagnostics
command:
gcloud beta compute interconnects get-diagnostics NAME \ --project=PROJECT_ID
Replace the following:
NAME
: the name of the Cross-Site Interconnect connection in your projectPROJECT_ID
: the ID of the Google Cloud project
API
Use the interconnects.getDiagnostics
method:
GET https://compute.googleapis.com/compute/beta/projects/PROJECT_ID/global/interconnects/NAME/getDiagnostics
Replace the following:
PROJECT_ID
: the ID of the Google Cloud projectNAME
: the name of the Cross-Site Interconnect connection in your project
If this command succeeds, it returns InterconnectDiagnostics
output. To interpret the output, see the
command output reference later in this document.
Command output reference
The definitions for the output parameters for the gcloud
commands and the
interconnects.getDiagnostics
API are listed in the following table.
Output parameter | Description |
---|---|
macAddress |
Describes the MAC address of the Cross-Site Interconnect connection bundle on the Google Cloud side. |
links[] |
Describes the status for each link on the Cross-Site Interconnect connection. |
links[].circuitId |
Lists the Google-assigned unique ID for this circuit, as assigned during circuit turn-up. |
links[].googleDemarc |
Describes the Google-assigned demarc, as assigned at circuit turn-up and provided by Google to the customer in the LOA. |
links[].macsec |
The link's MACsec state. This field is omitted if you don't have MACsec enabled. |
links[].macsec.ckn |
The connectivity association key name (CKN) in use. This field is omitted if you don't have MACsec enabled. |
links[].macsec.operational |
The link's MACsec state. This field is omitted if you don't have MACsec enabled. The following are the possible values:
|
links[].operationalState |
The operational state of this Cross-Site Interconnect link. This field is omitted if you don't have MACsec enabled. The following are the possible values:
The link's operational state isn't affected by the link's MACsec state. |
links[].receivingOpticalPower |
Describes the current value and status for the received light level. |
links[].receivingOpticalPower.value |
Lists the current value of the received light level, in dBm. |
links[].receivingOpticalPower.state |
The status of the current value when compared to the warning and alarm levels for the receiving transceiver:
|
links[].transmittingOpticalPower |
The current value and status for the transmit light level. |
links[].transmittingOpticalPower.value |
The current value of the transmitting light level, in dBm. |
links[].transmittingOpticalPower.state |
The status of the current value when compared to the warning and alarm levels for the transmitting transceiver:
|
links[].lacpStatus |
The LACP information for the single link. |
links[].lacpStatus.state |
|
What's next
To create a Cross-Site Interconnect connection, see the Cross-Site Interconnect provisioning overview.
To help you solve common issues that you might encounter when using Cloud Interconnect, see Troubleshooting.