Difficulty: Easy
Correct Answer: erase startup
Explanation:
Introduction / Context:
Clearing the saved configuration (startup-config) is often necessary before repurposing a device or troubleshooting. On classic IOS, several syntaxes exist; exam-style questions commonly reference the shorthand form used to erase NVRAM content that is loaded at the next boot.
Given Data / Assumptions:
Concept / Approach:
The saved configuration that persists across reloads is the startup-config stored in NVRAM (or its flash-backed equivalent). To remove it, classic IOS accepts commands such as erase startup or the more explicit erase startup-config, as well as the legacy write erase. After erasing, a reload boots the device without a saved configuration and triggers the initial configuration dialog.
Step-by-Step Solution:
From privileged EXEC mode, issue: erase startupConfirm the prompt to erase NVRAM contents.Reload the device: reloadUpon boot, skip initial config or reconfigure as needed.
Verification / Alternative check:
Run show startup-config after erasure (or before reload) to verify it is empty or not present. After reload, show running-config shows default minimal settings.
Why Other Options Are Wrong:
Common Pitfalls:
Erasing the wrong configuration (confusing running vs. startup) or forgetting to reload, leaving the old running-config active until reboot.
Final Answer:
erase startup
Discussion & Comments