metalctlv2_network_list-base-networks.md

July 31, 2026 ยท View on GitHub

metalctlv2 network list-base-networks

lists base networks that can be used for network creation

metalctlv2 network list-base-networks [flags]

Options

      --addressfamily string           addressfamily to filter, either ipv4 or ipv6 [optional]
      --description string             description to filter [optional]
      --destination-prefixes strings   destination prefixes to filter
  -h, --help                           help for list-base-networks
      --id string                      ID to filter [optional]
      --labels strings                 labels to filter [optional]
      --name string                    name to filter [optional]
      --partition string               partition to filter [optional]
      --prefixes strings               prefixes to filter
      --project string                 project to filter [optional]
  -t, --type string                    type of the network. [optional]
      --vrf uint32                     vrf to filter [optional]

Options inherited from parent commands

      --api-token string       the token used for api requests
      --api-url string         the url to the metal-stack.io api
  -c, --config string          alternative config file path, (default is ~/.metal-stack/config.yaml)
      --debug                  debug output
      --force-color            force colored output even without tty
  -o, --output-format string   output format (table|wide|markdown|json|yaml|template), wide is a table with more columns. (default "table")
      --template string        output template for template output-format, go template format. For property names inspect the output of -o json or -o yaml for reference.
      --timeout duration       request timeout used for api requests

SEE ALSO