Skip to content

metalcloud-cli network-device reset

Reset network device to factory defaults (destructive operation)

Reset a network device to its factory default state, destroying all custom configurations, VLANs, and settings. This is a destructive operation that will:

  • Remove all VLANs and network configurations
  • Reset interface configurations
  • Clear all custom settings
  • Restore factory default credentials

WARNING: This operation is irreversible and will cause network disruption. Ensure all connected services are properly migrated before performing this reset.

Arguments: network_device_id The unique identifier of the network device to reset

Examples:

metalcloud-cli network-device reset 12345

metalcloud-cli switch reset 12345

metalcloud-cli network-device reset <network_device_id> [flags]
-h, --help help for reset
-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”