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:
Summary of Contents for ProCurve 4104GL
Page 2: ......
Page 26: ...xxiv Getting Started Need Only a Quick Start ...
Page 34: ...1 8 Selecting a Management Interface Advantages of Using HP TopTools for Hubs Switches ...
Page 50: ...2 16 Using the Menu Interface Where To Go From Here ...
Page 172: ...8 24 Time Protocols SNTP Messages in the Event Log ...
Page 240: ...10 30 Configuring for Network Management Applications CDP ...
Page 288: ...11 48 Port Based Virtual LANs VLANs and GVRP GVRP ...
Page 480: ...C 38 Troubleshooting Restoring a Flash Image ...
Page 486: ...D 6 MAC Address Management Determining MAC Addresses ...
Page 490: ......
Page 502: ...12 Index ...
Page 503: ......