5-7
Switch Memory and Configuration
Using the Menu and Web Browser Interfaces To Im plement Configuration Changes
Switch Memory and
Configuration
from either the CLI or the menu interface without first executing the write
memory command in the CLI, the current startup-config file will replace the
running-config file, and any changes in the running-config file will be lost.
Using the Save command in the menu interface does not save a change made
to the running config by the CLI unless you have also made a configuration
change in the menu interface. Also, the menu i nterface displays the current
running-config values. Thus, where a parameter setting is accessable from
both the CLI and the menu interface, if you cha nge the setting in the CLI, the
new value will appear in the menu interfac e display for that parameter.
However, as indicated above, unless you also make a configuration change
in the menu interface, only the write memory command in the CLI will actually
save the change to the startup-config file.
How To Reset the startup-config and running-config Files to the
Factory Default Configuration. This command reboots the switch,
replacing the contents of the current startup-config and running-conf ig files
with the factory-default startup configuration.
Syntax: erase startup-config
For example:
Press [Y] to replace the current configuration with the factory def ault config-
uration and reboot the switch. Press [N] to retain the current configuration and
prevent a reboot.
Using the Menu and Web Browser Interfaces To Implement Configuration ChangesThe menu and web browser interfaces offer these advantages:
■Quick, easy menu or window access to a subset of switch configuration
features (See the "Menu Features List" on page 2-14 and the web browser
"General Features" list on page .)
HP4108(config)# erase startup-config
Configuration will be deleted and device rebooted, continue [y/n]?