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

Configuring configuration rollback, Configuration task list

Page 99 highlights

Task Command Remarks Save the running configuration to a configuration file without specifying the file as a next-startup configuration file. save file-url [ all | slot slot-number ] The save command executed with only the file-url argument saves the running configuration only to the specified path, regardless of whether the configuration auto-update function has been enabled. Save the running configuration to a configuration file and specify the file as a next-startup configuration file. save [ safely ] [ backup | main ] [ force ] If you execute the save [ safely ] command without specifying any other keyword, the command saves the configuration to the main startup configuration file. If the force keyword is specified, the command saves the configuration to the next-startup configuration file that has been specified. If the force keyword is not specified, you may choose to re-specify a next-startup configuration file as instructed by the system. If configuration auto-update is enabled, the save file-url all command and the save [ safely ] [ backup | main ] [ force ] command save the configuration to the master device and all member devices. If the function is disabled, the commands save the configuration only to the master device. Configuring configuration rollback To replace the running configuration with the configuration in a configuration file without rebooting the device, use the configuration rollback function. This function helps you revert to a previous configuration state or adapt the running configuration to different network environments. The configuration rollback function compares the running configuration against the specified replacement configuration file and handles configuration differences as follows: • If a command in the running configuration is not in the replacement file, executes its undo form. • If a command in the replacement file is not in the running configuration, adds it to the running configuration. • If a command has different settings in the running configuration and the configuration file, replaces its running configuration with the setting in the configuration file. To facilitate configuration rollback, the configuration archive function is developed. This function enables the system to automatically save the running configuration at regular intervals as checkpoint references. Configuration task list 93

  • 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

93
Task
Command
Remarks
Save the running configuration to a
configuration file without
specifying the file as a next-startup
configuration file.
save
file-url
[
all
|
slot
slot-number
]
The
save
command executed with
only the
file-url
argument saves the
running configuration only to the
specified path, regardless of
whether the configuration
auto-update function has been
enabled.
Save the running configuration to a
configuration file and specify the
file as a next-startup configuration
file.
save
[
safely
] [
backup
|
main
]
[
force
]
If you execute the
save
[
safely
]
command without specifying any
other keyword, the command
saves the configuration to the main
startup configuration file.
If the
force
keyword is specified,
the command saves the
configuration to the next-startup
configuration file that has been
specified.
If the
force
keyword is not
specified, you may choose to
re-specify a next-startup
configuration file as instructed by
the system.
If configuration auto-update is enabled, the
save
file-url
all
command and the
save
[
safely
] [
backup
|
main
] [
force
] command save the configuration to the master device and all member devices. If the
function is disabled, the commands save the configuration only to the master device.
Configuring configuration rollback
To replace the running configuration with the configuration in a configuration file without rebooting the
device, use the configuration rollback function. This function helps you revert to a previous configuration
state or adapt the running configuration to different network environments.
The configuration rollback function compares the running configuration against the specified
replacement configuration file and handles configuration differences as follows:
If a command in the running configuration is not in the replacement file, executes its
undo
form.
If a command in the replacement file is not in the running configuration, adds it to the running
configuration.
If a command has different settings in the running configuration and the configuration file, replaces
its running configuration with the setting in the configuration file.
To facilitate configuration rollback, the configuration archive function is developed. This function enables
the system to automatically save the running configuration at regular intervals as checkpoint references.
Configuration task list