Switch Memory and Configuration
Using the CLI To Implement Configuration Changes
N o t e
If you use the CLI to make a change to the running-config file, you should
either use the
write memory
command or select the save option allowed during
a reboot (figure 6-6-2, above) to save the change to the startup-config file. That
is, if you use the CLI to change a parameter setting, but then reboot the switch
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 interface displays the current
running-config values. Thus, where a parameter setting is accessible from both
the CLI and the menu interface, if you change the setting in the CLI, the new
value will appear in the menu interface 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-config files
with the factory-default startup configuration.
Syntax:
erase startup-config
For example:
ProCurve(config)# erase startup-config
Configuration will be deleted and device rebooted, continue [y/n]?
Figure 6-3. Example of erase startup-config Command
Press
[y]
to replace the current configuration with the factory default config
uration and reboot the switch. Press
[n]
to retain the current configuration and
prevent a reboot.
6-9
Содержание ProCurve 6120G/XG
Страница 1: ...ProCurve Series 6120 Switches Management and Configuration Guide November 2010 Version Z 14 22 ...
Страница 2: ......
Страница 3: ...HP ProCurve 6120G XG Switch 6120XG Switch November 2010 Z 14 22 Management and Configuration Guide ...
Страница 24: ...xxii ...
Страница 40: ...Getting Started To Set Up and Install the Switch in Your Network 1 10 ...
Страница 54: ...Selecting a Management Interface Advantages of Using ProCurve Manager or ProCurve Manager Plus 2 14 ...
Страница 70: ...Using the Menu Interface Where To Go From Here 3 16 ...
Страница 92: ...Using the ProCurve Web Browser Interface Contents Setting Fault Detection Policy 5 25 5 2 ...
Страница 160: ...Switch Memory and Configuration Automatic Configuration Update with DHCP Option 66 6 44 ...
Страница 288: ...Port Status and Configuration Uplink Failure Detection 10 42 ...
Страница 318: ...Port Trunking Outbound Traffic Distribution Across Trunked Links 11 30 ...
Страница 470: ...File Transfers Copying Diagnostic Data to a Remote Host USB Device PC or UNIX Workstation A 34 ...
Страница 487: ...Monitoring and Analyzing Switch Operation Status and Counters Data B 17 ...
Страница 518: ...Monitoring and Analyzing Switch Operation Traffic Mirroring B 48 ...
Страница 612: ...MAC Address Management Viewing the MAC Addresses of Connected Devices D 8 ...
Страница 616: ...Monitoring Resources When Insufficient Resources Are Available E 4 ...
Страница 620: ...Daylight Savings Time on ProCurve Switches F 4 ...
Страница 638: ...Network Out of Band Management OOBM Tasks G 18 ...
Страница 659: ...download to primary or secondary flash A 21 using to download switch software A 19 Index 19 ...
Страница 660: ...20 Index ...
Страница 661: ......