For the complete documentation index, see llms.txt. This page is also available as Markdown.

update

Update a LAN

Usage

ionosctl compute lan update [flags]

Aliases

For lan command:

[l]

For update command:

[u up]

Description

Use this command to update an existing LAN. Only the flags you pass are changed; the rest are left as-is.

You can:

  • rename the LAN (--name);

  • switch it between public and private (--public). Turning a LAN public attaches it to an internet gateway (NICs can then get public IPv4s); turning it private removes that internet route;

  • move a private LAN to a different IPv4 range (--ipv4-cidr). The block can be changed but not removed. Making the LAN public drops it;

  • attach it to a Cross-Connect (--pcc-id) to bridge it with private LANs in other VDCs of the same region. This requires the LAN to be private and to have a non-overlapping IP range with the other members. To detach from a Cross-Connect, set an empty value.

NOTE: IP failover groups are configured on a NIC, not here.

Use --wait (-w) to wait for the resource to reach AVAILABLE state.

Required values to run command:

  • Data Center Id

  • LAN Id

Options

Examples

Last updated