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

list

List LANs

Usage

ionosctl compute lan list [flags]

Aliases

For lan command:

[l]

For list command:

[l ls]

Description

Use this command to list the LANs provisioned in a Virtual Data Center. The output shows each LAN's ID, name, whether it is public, the Cross-Connect (PCC) it is attached to, its IPv4 CIDR block (private LANs only), its IPv6 CIDR block, and its provisioning state.

Use --all to list LANs across every datacenter in the account instead of a single one (in which case --datacenter-id is not required).

You can filter the results using --filters option. Use the following format to set filters: --filters KEY1=VALUE1,KEY2=VALUE2. Available Filters:

  • filter by property: [name ipv4CidrBlock ipv6CidrBlock pcc public]

  • filter by metadata: [etag createdDate createdBy createdByUserId lastModifiedDate lastModifiedBy lastModifiedByUserId state]

Required values to run command:

  • Data Center Id

Options

Examples

Last updated

Was this helpful?