metalcloud-cli logical-network get

Get detailed information about a logical network

Synopsis

Display detailed information about a specific logical network including its configuration, associated fabric, network kind, and other properties.

Arguments: logical_network_id The unique identifier of the logical network to retrieve (required)

The command shows comprehensive details including:

  • Network identification (ID, label)

  • Associated fabric and infrastructure

  • Network kind and configuration

  • Creation and modification timestamps

  • Current status and operational state

Examples:

Get details of a logical network by ID

metalcloud-cli logical-network get 12345

Get details using the ‘show’ alias

metalcloud-cli logical-network show network-production-vlan

Use with pipe or redirect for further processing

metalcloud-cli logical-network get 12345 | jq .

metalcloud-cli logical-network get logical_network_id [flags]

Options

  -h, --help   help for get

Options inherited from parent commands

  -k, --api_key string         MetalCloud API key
  -c, --config string          Config file path
  -d, --debug                  Set to enable debug logging
  -e, --endpoint string        MetalCloud API endpoint
  -f, --format string          Output format. Supported values are 'text','csv','md','json','yaml'. (default "text")
  -i, --insecure_skip_verify   Set to allow insecure transport
  -l, --log_file string        Log file path
  -v, --verbosity string       Log level verbosity (default "INFO")

SEE ALSO

Auto generated by spf13/cobra on 11-Aug-2025