Skip to content

metalcloud-cli logical-network-profile config-example

Get example configuration for a specific profile kind

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

Section titled “Get example configuration for Cisco profiles”

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

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

metalcloud-cli network-profile example arista

metalcloud-cli logical-network-profile config-example kind [flags]
-h, --help help for config-example
-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”