HP 6125XLG R2306-HP 6125XLG Blade Switch Fundamentals Configuration Guide - Page 94

Manually archiving the running configuration, Rolling back configuration

Page 94 highlights

• If the device configuration changes frequently, configure automatic archiving with an interval longer than 1440 minutes (24 hours). Make sure you have set an archive path and file name prefix before performing this task. To enable automatic configuration archiving: Step 1. Enter system view. Command system-view 2. Enable automatic configuration archiving and archive configuration interval minutes set the archiving interval. Remarks N/A By default, this function is disabled. To view configuration archive names and their archiving time, use the display archive configuration command. Manually archiving the running configuration To save system resources, disable automatic configuration archiving and manually archive the configuration if the configuration will not be changed very often. You can also manually archive configuration before performing complicated configuration tasks so you can use the archive for configuration recovery after the configuration attempt fails. Make sure you have set an archive path and file name prefix before performing this task. Perform the following task in user view: Task Manually archive the running configuration. Command archive configuration Rolling back configuration To avoid a rollback failure, follow these guidelines: • Make sure the replacement configuration file is created by using the configuration archive function or the save command on the local device. • If the configuration file is not created on the local device, make sure the configuration file content format is fully compatible with the local device. • The replacement configuration file is not encrypted. To perform a configuration rollback: Step 1. Enter system view. 2. Roll the running configuration back to the configuration defined by a configuration file. Command system-view configuration replace file filename Remarks N/A The specified configuration file must not be encrypted. 87

  • 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
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155

87
If the device configuration changes frequently, configure automatic archiving with an interval longer
than 1440 minutes (24 hours).
Make sure you have set an archive path and file name prefix before performing this task.
To enable automatic configuration archiving:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable automatic
configuration archiving and
set the archiving interval.
archive configuration interval
minutes
By default, this function is
disabled.
To view configuration archive
names and their archiving time,
use the
display archive
configuration
command.
Manually archiving the running configuration
To save system resources, disable automatic configuration archiving and manually archive the
configuration if the configuration will not be changed very often. You can also manually archive
configuration before performing complicated configuration tasks so you can use the archive for
configuration recovery after the configuration attempt fails.
Make sure you have set an archive path and file name prefix before performing this task.
Perform the following task in user view:
Task
Command
Manually archive the running configuration.
archive configuration
Rolling back configuration
To avoid a rollback failure, follow these guidelines:
Make sure the replacement configuration file is created by using the configuration archive function
or the
save
command on the local device.
If the configuration file is not created on the local device, make sure the configuration file content
format is fully compatible with the local device.
The replacement configuration file is not encrypted.
To perform a configuration rollback:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Roll the running configuration
back to the configuration
defined by a configuration
file.
configuration replace file
filename
The specified configuration file
must not be encrypted.