Skip to content

metalcloud-cli logical-network get

Get detailed information about a logical network

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:

metalcloud-cli logical-network get 12345

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

Use with pipe or redirect for further processing

Section titled “Use with pipe or redirect for further processing”

metalcloud-cli logical-network get 12345 | jq .

metalcloud-cli logical-network get logical_network_id [flags]
-h, --help help for get
-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")

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

Section titled “Auto generated by spf13/cobra on 11-Aug-2025”