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

Configuration guidelines, Configuration procedure, Enabling automatic configuration archiving

Page 93 highlights

Configuration archives are saved with the file name format prefix_serial number.cfg, for example, 20080620archive_1.cfg and 20080620archive_2.cfg. The serial number is automatically assigned from 1 to 1000, increasing by 1. After the serial number reaches 1000, it restarts from 1. After you change the file directory or file name prefix, or reboot the device, the old configuration archives are regarded as common configuration files, the configuration archive counter resets, and the display archive configuration command no longer displays them. The serial number for new configuration archives starts at 1. After the maximum number of configuration archives is reached, the system deletes the oldest archive for the new archive. Configuration guidelines In an IRF fabric, the configuration archive function saves the running configuration only on the master device. To make sure the system can archive the running configuration after a master/subordinate switchover, create the directory on all IRF members. Configuration procedure To configure configuration archive parameters: Step 1. Enter system view. Command system-view 2. Configure the directory and archive configuration location file name prefix for archiving directory filename-prefix the running configuration. filename-prefix 3. (Optional.) Set the maximum number of configuration archive configuration max file-number archives. Remarks N/A Do not include member ID information in the directory name. By default, no path or file name prefix is set for configuration archives, and the system does not regularly save configuration. IMPORTANT: The undo form of this command disables both manual and automatic configuration archiving, restores the default settings for the archive configuration interval and archive configuration max commands, and deletes all saved configuration archives. The default number is 5. Change the setting depending on the amount of storage available on the device. Enabling automatic configuration archiving To avoid decreasing system performance, follow these guidelines when you configure automatic configuration archiving: • If the device configuration does not change frequently, manually archive the running configuration as needed. 86

  • 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

86
Configuration archives are saved with the file name format
prefix
_
serial number
.cfg
, for example,
20080620archive_1.cfg
and
20080620archive_2.cfg
. The serial number is automatically assigned from
1 to 1000, increasing by 1. After the serial number reaches 1000, it restarts from 1.
After you change the file directory or file name prefix, or reboot the device, the old configuration archives
are regarded as common configuration files, the configuration archive counter resets, and the
display
archive configuration
command no longer displays them. The serial number for new configuration
archives starts at 1.
After the maximum number of configuration archives is reached, the system deletes the oldest archive for
the new archive.
Configuration guidelines
In an IRF fabric, the configuration archive function saves the running configuration only on the master
device. To make sure the system can archive the running configuration after a master/subordinate
switchover, create the directory on all IRF members.
Configuration procedure
To configure configuration archive parameters:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the directory and
file name prefix for archiving
the running configuration.
archive configuration location
directory
filename-prefix
filename-prefix
Do not include member ID
information in the directory
name.
By default, no path or file name
prefix is set for configuration
archives, and the system does
not regularly save configuration.
IMPORTANT:
The
undo
form of this command
disables both manual and
automatic configuration
archiving, restores the default
settings for the
archive
configuration interval
and
archive configuration max
commands, and deletes all
saved configuration archives.
3.
(Optional.) Set the maximum
number of configuration
archives.
archive configuration max
file-number
The default number is 5.
Change the setting depending
on the amount of storage
available on the device.
Enabling automatic configuration archiving
To avoid decreasing system performance, follow these guidelines when you configure automatic
configuration archiving:
If the device configuration does not change frequently, manually archive the running configuration
as needed.