metalcloud-cli logical-network-profile config-example

Get example configuration for a specific profile kind

Synopsis

Get an example configuration template for creating logical network profiles.

This command displays a sample configuration in JSON format that can be used as a starting point for creating new logical network profiles. The configuration includes all required and optional fields with example values.

Required Arguments: kind The profile kind to generate an example for (e.g., ‘cisco’, ‘juniper’, ‘arista’)

Examples:

Get example configuration for Cisco profiles

metalcloud-cli logical-network-profile config-example cisco

Get example and save to file

metalcloud-cli lnp example juniper > profile-template.json

Get example using alias

metalcloud-cli network-profile example arista

metalcloud-cli logical-network-profile config-example kind [flags]

Options

  -h, --help   help for config-example

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