5-4
Switch Memory and Configuration
Using the CLI To Implement Configuration Changes
"permanent". When you are satisfied that the change is satisfactory, you can
make it permanent by executing the
write memory
command. For example,
suppose you use the following command to disable port 5:
HPswitch(config)# interface ethernet 5 disable
The above command disables port 5 in the running-config file, but not in the
startup-config file. Port 5 remains disabled only until the switch reboots. If
you want port 5 to remain disabled through the next reboot, use
write memory
to save the current running-config file to the startup-config file in flash
memory.
HPswitch(config)# write memory
If you use the CLI to make a configuration change and then change from the
CLI to the Menu interface without first using write memory to save the change
to the startup-config file, then the switch prompts you to save the change. For
example, if you use the CLI to create VLAN 20, and then select the menu
interface, VLAN 20 is configured in the running-config file, but not in the
startup-config file. In this case you will see:
HPswitch(config)# vlan 20
HPswitch(config)# menu
Do you want to save current configuration [y/n]?
If you type
[Y]
, the switch overwrites the startup-config file with the running-
config file, and your configuration change(s) will be preserved across reboots.
If you type
[N]
, your configuration change(s) will remain only in the running-
config file. In this case, if you do not subsequently save the running-config file,
your unsaved configuration changes will be lost if the switch reboots for any
reason.
Storing and Retrieving Configuration Files.
You can store or retrieve a
backup copy of the startup-config file on another device. For more informa-
tion, see appendix A, "Transferring an Operating System or Startup-Config
File"
Using the CLI To Implement
Configuration Changes
The CLI offers these capabilities:
Содержание ProCurve 4104GL
Страница 1: ...hp procurve series 4100gl switches management and configuration guide www hp com go hpprocurve ...
Страница 2: ......
Страница 26: ...xxiv Getting Started Need Only a Quick Start ...
Страница 34: ...1 8 Selecting a Management Interface Advantages of Using HP TopTools for Hubs Switches ...
Страница 50: ...2 16 Using the Menu Interface Where To Go From Here ...
Страница 172: ...8 24 Time Protocols SNTP Messages in the Event Log ...
Страница 240: ...10 30 Configuring for Network Management Applications CDP ...
Страница 288: ...11 48 Port Based Virtual LANs VLANs and GVRP GVRP ...
Страница 350: ...13 42 802 1w Rapid Spanning Tree Protocol RSTP and 802 1d Spanning Tree Protocol STP Web Enabling or Disabling STP ...
Страница 480: ...C 38 Troubleshooting Restoring a Flash Image ...
Страница 486: ...D 6 MAC Address Management Determining MAC Addresses ...
Страница 490: ......
Страница 502: ...12 Index ...
Страница 503: ......