Erase a Device's Configuration
erase_device_configurationErase a Cisco device's startup configuration and optionally reload it to reset lab gear to a blank configuration; confirm before the destructive wipe.
Instructions
Erase a Cisco device's startup-config ("write erase") and, by default, reload it so it boots with a blank configuration -- the classic way to reset lab gear. Prompts are answered automatically (the running config is NOT saved before reload).
CRITICAL: Destructive and irreversible. Always ask "Erase the configuration of [device]?" and wait for the user's "yes" before invoking this tool.
Examples:
"Wipe R1's configuration"
"Reset the switch to factory defaults"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Device display name as shown in Packet Tracer (e.g. 'Router0', 'PC1') | |
| reload | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |