Once you’ve made changes to the configuration of an HP Procurve switch using the CLI, those changes need to be saved so that they persist after a switch reboot. To save the current running config so that it persists after a reboot, use the command:
write mem