HP 6125G HP 6125G & 6125G/XG Blade Switches Fundamentals Configuration - Page 98

Enabling configuration file auto-update, Saving configuration in different approaches

Page 98 highlights

Complete these tasks to save the current configuration: Task Enabling configuration file auto-update Saving configuration in Remarks Optional. Perform this task to ensure configuration consistency across member devices. Required. Enabling configuration file auto-update The configuration auto-update function enables all subordinate switches to automatically save the running configuration as the master does when you execute the save [ safely ] [ backup | main ] [ force ] command or the save filename all command. If this function is disabled, only the master saves the configuration. To ensure configuration consistency, HP recommends enabling the function. To enable configuration auto-update: Step 1. Enter system view. 2. Enable configuration file auto-update. Command system-view slave auto-update config Remarks N/A By default, this function is enabled. Saving configuration in different approaches When saving the running configuration to a configuration file, you can specify the file as the next-startup configuration file or not. If you are specifying the file as the next-startup configuration file, use one of the following methods to save the configuration: • Fast mode-Use the save command without the safely keyword. In this mode, the device directly overwrites the target next-startup configuration file. If a reboot or power failure occurs during this process, the next-startup configuration file is lost. You must re-specify a new startup configuration file after the device reboots (see "Specifying a configuration file for the next startup"). • Safe mode-Use the save command with the safely keyword. Safe mode is slower than fast mode, but more secure. In safe mode, the system saves configuration in a temporary file and starts overwriting the target next-startup configuration file after the save operation is complete. If a reboot or power failure occurs during the save operation, the next-startup configuration file is still retained Use the safe mode if the power source is not reliable or you are remotely configuring the device. The configuration file extension must be .cfg. To save the running configuration, perform either of the following tasks in any view: 92

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135

92
Complete these tasks to save the current configuration:
Task
Remarks
Enabling configuration file auto-update
Optional.
Perform this task to ensure configuration
consistency across member devices.
Saving configuration in
Required.
Enabling configuration file auto-update
The configuration auto-update function enables all subordinate switches to automatically save the
running configuration as the master does when you execute the
save
[
safely
] [
backup
|
main
] [
force
]
command or the
save
filename
all
command. If this function is disabled, only the master saves the
configuration.
To ensure configuration consistency, HP recommends enabling the function.
To enable configuration auto-update:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable configuration file
auto-update.
slave auto-update config
By default, this function is
enabled.
Saving configuration in different approaches
When saving the running configuration to a configuration file, you can specify the file as the next-startup
configuration file or not.
If you are specifying the file as the next-startup configuration file, use one of the following methods to
save the configuration:
Fast mode
—Use the
save
command without the
safely
keyword. In this mode, the device directly
overwrites the target next-startup configuration file. If a reboot or power failure occurs during this
process, the next-startup configuration file is lost. You must re-specify a new startup configuration file
after the device reboots (see "
Specifying a configuration file for the next startup
").
Safe mode
—Use the
save
command with the
safely
keyword. Safe mode is slower than fast mode,
but more secure. In safe mode, the system saves configuration in a temporary file and starts
overwriting the target next-startup configuration file after the save operation is complete. If a reboot
or power failure occurs during the save operation, the next-startup configuration file is still retained
Use the safe mode if the power source is not reliable or you are remotely configuring the device.
The configuration file extension must be .cfg.
To save the running configuration, perform either of the following tasks in any view: