Modify a cross-site network Stay organized with collections Save and categorize content based on your preferences.
This page describes how to modify a cross-site network by updating or addingwire groups.
Before you begin
Consider the following before you modify a cross-site network:
Bandwidth quotas and limits
Increasing bandwidth usage between two metros by updating an existing wiregroup or adding a new wire group requires that you have enough bandwidthquota between the two metros. You can't add bandwidth if doing so exceedsyour quota for theWire groups unmetered bandwidth per Cloud Interconnect metro pair.
The bandwidth that you specify when updating or adding a wire group mustnot exceed the limit for theMaximum bandwidth per wire.
ReviewCheck bandwidth quotas and limitsand request an increase if necessary.
Connection capacity and support for multiple wire groups
Increasing bandwidth usage by updating an existing wire group or addinga new wire group requires that you have Cross-Site Interconnectconnections with sufficient capacity. If you plan to use existing connections,you must ensure that their capacity isn't already fully used by existing wire groups.
To view both the provisioned and effective capacity of a connection, seeView connection details.If necessary,order new connections.
You can create multiple wire groups that use the sameCross-Site Interconnect connections if the wire groups are in VLAN mode. In port mode, you can't use the same Cross-Site Interconnect connection for more than one wire group. For more information, seeTraffic modes.
Duration of operations that add or remove wires
- When you initiate an operation that adds or removes a wire, the operationcan take several minutes to complete. For example, if you areadding a wire group to your cross-site network, thenrunning the Google Cloud CLI commands to add connections B1 and B2 can takeseveral minutes to complete because Google Cloud provisions the wiresA1-B1 and A2-B2.
Add a wire group
This section describes how to add a wire group to an existing cross-site network.
Console
To add a wire group to an existing cross-site network, do the following:
In the Google Cloud console, go to theInterconnect page.
On theCross-site networks tab, click the name of the cross-sitenetwork to which you want to add a wire group.
ClickAdd wire group.
Specify the basic details of the wire group to add to the cross-site network.
- Name: a name for the wire group
- Description: an optional description of the wire group
Select eitherVLAN mode orPort mode for your wire group. If necessary, reviewTraffic modes.
If you configuredPort mode, review theFailure detectionfield. To enable failure detection, select theDisable portcheckbox.
When you enable failure detection,Google Cloud continuously monitors each wire and disables a wireif it loses connectivity so that you can fail over to an alternatepath, such as another healthy wire in the group.
In theUnmetered bandwidth field, enter the unmetered bandwidth,in Gbps, for the wire group.
You can't configure bandwidth that exceeds the following:
- Your quota between a given pair of metros or the limit for a given wire.If you haven't already, follow the instructions tocheck quotas and limits for bandwidth.
- The Cross-Site Interconnect connection capacity.
For additional considerations for configuringthis field, seeWire bandwidth.
Choose whether to allocate the wire group's bandwidth setting to eachwire or to share the bandwidth between all wires in the group.
- Allocate per wire. The unmetered bandwidth is allocated to eachwire in the group.
- Shared with wire group. The unmetered bandwidth is divided equallybetween each wire in the group. However, dynamic throttling allocatesunused unmetered bandwidth to other wires in the group.
ClickNext.
Specify the Cross-Site Interconnect connections over which to createyour cross-site network.
- Select the connections that you created for your first site,Site A.
- Select the connections that you created for your second site,Site B.
ClickNext.
If you configuredVLAN mode, specifyVLAN tags for eachwire in your wire group by entering an integer from
2to4093.You can't enter a VLAN tag value that is already in use on the sameCross-Site Interconnect connection.
Review the configuration of your wire group, and then clickCreate wire group.
gcloud
Google Cloud CLI procedure overview
To complete the procedure for adding a wire group to an existing cross-site network by using the Google Cloud CLI, do the following:
- Add a wire group to your cross-site network
- Add an endpoint and connections for site A to the wire group:
- Add an endpoint and connections for site B to the wire group:
1. Add a wire group
To add a wire group, use thegcloud compute interconnects wire-groups create command.
gcloud compute interconnects wire-groups createWIRE_GROUP_NAME \ --cross-site-network=CROSS_SITE_NETWORK_NAME \ --bandwidth-unmetered=UNMETERED_BANDWIDTH \ --bandwidth-allocation=BANDWIDTH_ALLOCATION \ --fault-response=FAILURE_DETECTION \ [--description=DESCRIPTION]
Replace the following:
WIRE_GROUP_NAME: the name of the wire group.CROSS_SITE_NETWORK_NAME: the name of the cross-sitenetwork to add the wire group to.
UNMETERED_BANDWIDTH: the unmetered bandwidthfor the wire group in Gbps. The bandwidth that you specify is allocatedto each wire in the group.
You can't configure bandwidth that exceeds the following:
- Your quota between a given pair of metros or the limit for a given wire.If you haven't already, follow the instructions tocheck quotas and limits for bandwidth.
- The Cross-Site Interconnect connection capacity.
For additional considerations for configuringthis field, seeWire bandwidth.
BANDWIDTH_ALLOCATION: use this flag to set thebandwidth allocation scope, which can have either of the following values:
ALLOCATE_PER_WIRE, which provides a separate unmetered bandwidthallocation for each wire in the group.SHARED_WITH_WIRE_GROUP, which has one unmetered bandwidth allocationthat is divided across each wire in the group. Dynamic throttlingreallocates unused bandwidth from unutilized or underutilized wires toother wires in the group.
FAILURE_DETECTION: use this flag for port modeconfigurations only. To enable failure detection, enterDISABLE_PORT.Otherwise, enterNONE.
When you enable failure detection,Google Cloud continuously monitors each wire and disables a wireif it loses connectivity so that you can fail over to an alternatepath, such as another healthy wire in the group.
DESCRIPTION: an optional description of the wire group.
2a. Add an endpoint for site A
To add an endpoint to the wire group that represents your first site, orsite A, use thegcloud compute interconnects wire-groups add-endpoint command.
gcloud compute interconnects wire-groups add-endpointWIRE_GROUP_NAME \ --cross-site-network=CROSS_SITE_NETWORK_NAME \ --endpoint-label=ENDPOINT_A_LABEL
Replace the following:
WIRE_GROUP_NAME: the name of the wire group that youcreated previouslyCROSS_SITE_NETWORK_NAME: the name of the cross-sitenetwork to which you are adding a wire groupENDPOINT_A_LABEL: a label for the endpoint, suchasashburn
2b. Add connection A1
To add the first Cross-Site Interconnect connection to thewire group for site A, orconnection A1, use thegcloud compute interconnects wire-groups add-interconnect command.
gcloud compute interconnects wire-groups add-interconnectWIRE_GROUP_NAME \ --cross-site-network=CROSS_SITE_NETWORK_NAME \ --endpoint-label=ENDPOINT_A_LABEL \ --interconnect-label=INTERCONNECT_CONNECTION_A1_LABEL \ --interconnect=INTERCONNECT_CONNECTION_A1 \ --vlan-tags=TRAFFIC_MODE
Replace the following:
WIRE_GROUP_NAME: the name of the wire group that youcreated previously.CROSS_SITE_NETWORK_NAME: the name of the cross-sitenetwork to which you are adding a wire group.ENDPOINT_A_LABEL: the existing label that you specifiedwhen you created the endpoint for site A.INTERCONNECT_CONNECTION_A1_LABEL: a new labelfor the first Cross-Site Interconnect connection that youcreated for site A.INTERCONNECT_CONNECTION_A1: the connectionthat you created for site A. You can specify the connection by its name,partial URI, or full URI. See the following examples:my-connectionprojects/my-project/global/interconnects/my-connectionhttps://compute.googleapis.com/compute/v1/projects/my-project/global/interconnects/my-connection
TRAFFIC_MODE: the traffic mode configuration for the wiresthat use this Cross-Site Interconnect connection:- To configure port mode, enter
-1. To configure VLAN mode, choose one of the following:
- To auto-allocate VLAN tag values, enter
0. To specify VLAN tag values manually, enter one tag value,such as
1000. This VLAN tag is used for the wire betweenconnections A1 and B1 (wire A1-B1). A VLAN tag value must be aninteger from2to4093. VLAN tags must be the same for bothendpoints of a wire. You can't enter a VLAN tag value that isalready in use on the Cloud Interconnect connection.
- To auto-allocate VLAN tag values, enter
- To configure port mode, enter
2c. Add connection A2
gcloud compute interconnects wire-groups add-interconnectWIRE_GROUP_NAME \ --cross-site-network=CROSS_SITE_NETWORK_NAME \ --endpoint-label=ENDPOINT_A_LABEL \ --interconnect-label=INTERCONNECT_CONNECTION_A2_LABEL \ --interconnect=INTERCONNECT_CONNECTION_A2 \ --vlan-tags=TRAFFIC_MODE
Replace the following:
WIRE_GROUP_NAME: the name of the wire group that youcreated previously.CROSS_SITE_NETWORK_NAME: the name of the cross-sitenetwork to which you are adding a wire group.ENDPOINT_A_LABEL: the existing label that you specifiedwhen you created the endpoint for site A.INTERCONNECT_CONNECTION_A2_LABEL: a new labelfor the redundant Cross-Site Interconnect connection that youcreated for site A.INTERCONNECT_CONNECTION_A2: the redundant connectionthat you created for site A. You can specify the connection by its name,partial URI, or full URI. See the following examples:my-connectionprojects/my-project/global/interconnects/my-connectionhttps://compute.googleapis.com/compute/v1/projects/my-project/global/interconnects/my-connection
TRAFFIC_MODE: the traffic mode configuration for the wiresthat use this Cloud Interconnect connection:- To configure port mode, enter
-1. To configure VLAN mode, choose one of the following:
To auto-allocate VLAN tag values, enter
0.To specify VLAN tag values manually, enter one tag value,such as1000. This VLAN tag is used for the wire betweenconnections A1 and B1 (wire A1-B1). A VLAN tag value must be aninteger from2to4093. VLAN tags must be the same for bothendpoints of a wire. You can't enter a VLAN tag value that isalready in use on the Cloud Interconnect connection.
- To configure port mode, enter
3a. Add an endpoint for site B
To add an endpoint to the wire group that represents your second site, orsite B, use thegcloud compute interconnects wire-groups add-endpoint command.
gcloud compute interconnects wire-groups add-endpointWIRE_GROUP_NAME \ --cross-site-network=CROSS_SITE_NETWORK_NAME \ --endpoint-label=ENDPOINT_B_LABEL
Replace the following:
WIRE_GROUP_NAME: the name of the wire group that youcreated previouslyCROSS_SITE_NETWORK_NAME: the name of the cross-sitenetwork to which you are adding a wire groupENDPOINT_B_LABEL: a label for the endpoint, suchaschicago
3b. Add connection B1
To add a Cross-Site Interconnect connection to the wire groupfor site B, orconnection B1, use thegcloud compute interconnects wire-groups add-interconnect command.
gcloud compute interconnects wire-groups add-interconnectWIRE_GROUP_NAME \ --cross-site-network=CROSS_SITE_NETWORK_NAME \ --endpoint-label=ENDPOINT_B_LABEL \ --interconnect-label=INTERCONNECT_CONNECTION_B1_LABEL \ --interconnect=INTERCONNECT_CONNECTION_B1 \ --vlan-tags=TRAFFIC_MODE
Replace the following:
WIRE_GROUP_NAME: the name of the wire group that youcreated previouslyCROSS_SITE_NETWORK_NAME: the name of the cross-sitenetwork to which you are adding a wire groupENDPOINT_B_LABEL: the existing label that you specifiedwhen you created the endpoint for site BINTERCONNECT_CONNECTION_B1_LABEL: a new labelfor the Cross-Site Interconnect connection that youcreated for site BINTERCONNECT_CONNECTION_B1: the connectionthat you created for site B. You can specify the connection by its name,partial URI, or full URI. See the following examples:my-connectionprojects/my-project/global/interconnects/my-connectionhttps://compute.googleapis.com/compute/v1/projects/my-project/global/interconnects/my-connection
TRAFFIC_MODE: the traffic mode configuration for thewires that use this Cloud Interconnect connection:- To configure port mode, enter
-1. To configure VLAN mode, choose one of the following:
- To auto-allocate VLAN tag values, enter
0. To specify VLAN tag values manually, enter the sametag value that you specified previously for wire A1-B1.
- To auto-allocate VLAN tag values, enter
- To configure port mode, enter
3c. Add connection B2
Note: Adding connections to site B can take several minutes to complete.gcloud compute interconnects wire-groups add-interconnectWIRE_GROUP_NAME \ --cross-site-network=CROSS_SITE_NETWORK_NAME \ --endpoint-label=ENDPOINT_B_LABEL \ --interconnect-label=INTERCONNECT_CONNECTION_B2_LABEL \ --interconnect=INTERCONNECT_CONNECTION_B2 \ --vlan-tags=TRAFFIC_MODE
Replace the following:
WIRE_GROUP_NAME: the name of the wire group that youcreated previouslyCROSS_SITE_NETWORK_NAME: the name of the cross-sitenetwork to which you are adding a wire groupENDPOINT_B_LABEL: the existing label that you specifiedwhen you created the endpoint for site AINTERCONNECT_CONNECTION_B2_LABEL: a new labelfor the redundant Cross-Site Interconnect connection that youcreated for site B.INTERCONNECT_CONNECTION_B2: the redundant connectionthat you created for site B. You can specify the connection by its name,partial URI, or full URI. See the following examples:my-connectionprojects/my-project/global/interconnects/my-connectionhttps://compute.googleapis.com/compute/v1/projects/my-project/global/interconnects/my-connection
TRAFFIC_MODE: the traffic mode configuration for the wiresthat use this Cloud Interconnect connection:- To configure port mode, enter
-1. To configure VLAN mode, choose one of the following:
- To auto-allocate VLAN tag values, enter
0. To specify VLAN tag values manually, enter the sametag value that you specified previously for wire A1-B1.
- To auto-allocate VLAN tag values, enter
- To configure port mode, enter
Update a wire group
This section describes how to update the following properties of an existingwire group:
- The description
- Whether the wire group is enabled or disabled
- The unmetered bandwidth
- The unmetered bandwidth allocation method
- Whether failure detection is enabled or disabled (applies to port mode only)
To change the wire group traffic mode, seeChange the traffic mode of a wire group.
Console
To update a wire group in a cross-site network, do the following:
In the Google Cloud console, go to theInterconnect page.
On theCross-site networks tab, click the name of the wiregroup that you want to update.
On theWire group details page, clickEdit, andupdate the following fields as needed:
Description: The description of the wire group.
Admin enabled state: Whether the wire group is enabled ordisabled. Disabling a wire group stops all traffic through the wiregroup.
Unmetered bandwidth: The unmetered bandwidth,in Gbps, for the wire group.
You can't configure bandwidth that exceeds the following:
- Your quota between a given pair of metros or the limit for a given wire.If you haven't already, follow the instructions tocheck quotas and limits for bandwidth.
- The Cross-Site Interconnect connection capacity.
For additional considerations for configuringthis field, seeWire bandwidth.
Allocation method: whether to allocate the wire group'sbandwidth setting to each wire or to share the bandwidth betweenall wires in the group.
- Allocate per wire. The unmetered bandwidth is allocated to eachwire in the group.
- Shared with wire group. The unmetered bandwidth is divided equallybetween each wire in the group. However, dynamic throttling allocatesunused unmetered bandwidth to other wires in the group.
Failure detection: Whether failure detection is enabled ordisabled. If your wire group is in port mode, you canenable failure detection by selecting theDisable port checkbox.
When you enable failure detection,Google Cloud continuously monitors each wire and disables a wireif it loses connectivity so that you can fail over to an alternatepath, such as another healthy wire in the group.
After you make your changes, clickSave.
gcloud
To update a wire group, use thegcloud compute interconnects wire-groups update command.
gcloud compute interconnects wire-groups updateWIRE_GROUP_NAME \ --cross-site-network=CROSS_SITE_NETWORK_NAME \ [--bandwidth-unmetered=UNMETERED_BANDWIDTH] \ [--bandwidth-allocation=BANDWIDTH_ALLOCATION] \ [--fault-response=FAILURE_DETECTION] \ [--description=DESCRIPTION] \ [--admin-enabled | --no-admin-enabled]
Replace the following:
WIRE_GROUP_NAME: the name of the wire groupCROSS_SITE_NETWORK_NAME: the name of the cross-sitenetwork that contains the wire groupDepending on which properties you want to update, use the following flags:
UNMETERED_BANDWIDTH: the unmetered bandwidthfor the wire group in Gbps. The bandwidth that you specify is allocatedto each wire in the group.You can't configure bandwidth that exceeds the following:
- Your quota between a given pair of metros or the limit for a given wire.If you haven't already, follow the instructions tocheck quotas and limits for bandwidth.
- The Cross-Site Interconnect connection capacity.
For additional considerations for configuringthis field, seeWire bandwidth.
BANDWIDTH_ALLOCATION: use this flag to set thebandwidth allocation scope, which can have either of the following values:ALLOCATE_PER_WIRE, which provides a separate unmetered bandwidthallocation for each wire in the group.SHARED_WITH_WIRE_GROUP, which has one unmetered bandwidth allocationthat is divided across each wire in the group. Dynamic throttlingreallocates unused bandwidth from unutilized or underutilized wires toother wires in the group.FAILURE_DETECTION: Use this flag for port modeconfigurations only. To enable failure detection, enterDISABLE_PORT.Otherwise, enterNONE.When you enable failure detection,Google Cloud continuously monitors each wire and disables a wireif it loses connectivity so that you can fail over to an alternatepath, such as another healthy wire in the group.
DESCRIPTION: the description of the wire group--admin-enabled | --no-admin-enabled: whether the wire group isenabled or disabled.To enable the wire group, use
--admin-enabled. To disable a wiregroup, use--no-admin-enabled. Disabling a wire group stops alltraffic through the wire group.
Change the traffic mode of a wire group
This section describes how to change the traffic mode of a wire group.In the following procedure, you delete your existing wires and re-createthem with the mode that you want by removing and re-adding yourCross-Site Interconnect connections from and to the wire group.
If you need to get the details of your existing wire groups, such as theirendpoint and connection labels, follow the instructions for listing anddescribing wire groups inView cross-site networks.
Console
In the Google Cloud console, go to theInterconnect page.
On theCross-site networks tab, click the name of the wire group whosemode you want to change.
On theWire group details page, clickEdit.
ClickAdvanced settings, and then select an option in theWire group mode field.
If you selectedVLAN mode, specifyVLAN tags for eachwire in your wire group by entering an integer from
2to4093.You can't enter a VLAN tag value that is already in use on the sameCross-Site Interconnect connection.
ClickSave.
gcloud
Remove the existing connections from your wire group by using the
gcloud compute interconnects wire-groups remove-interconnectcommand.Run the command four times to remove
INTERCONNECT_CONNECTION_A1,INTERCONNECT_CONNECTION_A2,INTERCONNECT_CONNECTION_B1, andINTERCONNECT_CONNECTION_B2.gcloud compute interconnects wire-groups remove-interconnectWIRE_GROUP_NAME \ --cross-site-network=CROSS_SITE_NETWORK_NAME \ --endpoint-label=ENDPOINT_LABEL \ --interconnect-label=INTERCONNECT_CONNECTION_LABEL
Replace the following:
WIRE_GROUP_NAME: the name of the wire groupCROSS_SITE_NETWORK_NAME: the name of the cross-sitenetworkENDPOINT_LABEL: the label that you specifiedwhen you created the endpoint for the siteINTERCONNECT_CONNECTION_LABEL: the labelthat you specified when you added the connection to the wire group
Add the connections to your wire group again.
Complete the following steps and configure the
--vlan-tagsflagaccording to the traffic mode that you want to use:
What's next
To learn more about Cross-Site Interconnect, see theCross-Site Interconnect overview.
To help you solve common issues that you might encounter when usingCloud Interconnect, seeTroubleshooting.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-19 UTC.