- NAME
-
- gcloud preview compute interconnects macsec update - update a Compute Engine interconnect MACsec configuration
- SYNOPSIS
-
-
gcloud preview compute interconnects macsec updateNAME[--enabled] [--fail-open] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(PREVIEW)gcloud preview compute interconnects macsec updateis used to update MACsec configuration of interconnect. An interconnect represents a single specific connection between Google and the customer.For an example, refer to the
EXAMPLESsection below. - EXAMPLES
-
To enable MACsec on an interconnect, run:
gcloud preview compute interconnects macsec update example-interconnect --enabled - POSITIONAL ARGUMENTS
-
NAME- Name of the interconnect to update.
- FLAGS
-
--enabled- Enable or disable MACsec on this Interconnect. MACsec enablement will fail if the MACsec configuration is not specified. Use --no-enabled to disable it.
--fail-open- If enabled, the Interconnect will be configured with a should-secure MACsec security policy, that allows the Google router to fallback to cleartext traffic if the MKA session cannot be established. By default, the Interconnect will be configured with a must-secure security policy that drops all traffic if the MKA session cannot be established with your router. Use --no-fail-open to disable it.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - NOTES
-
This command is currently in DEVELOPER PREVIEW and may change without notice. If
this command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. These variants are also available:
gcloud compute interconnects macsec updategcloud alpha compute interconnects macsec updategcloud beta compute interconnects macsec update
gcloud preview compute interconnects macsec update
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-04-14 UTC.