![Cisco MEM-RSP-128M= Скачать руководство пользователя страница 27](http://html.mh-extra.com/html/cisco/mem-rsp-128m/mem-rsp-128m_installation-and-configuration-manual_63936027.webp)
27
OL-4923-01 B0
Ensuring That Both RSPs Contain the Same Configuration File
With the simple hardware backup and software error protection implementation methods, you always
want your active and standby configuration files to match. To ensure that they match, turn on automatic
synchronization. In automatic synchronization mode, the active copies its startup configuration to the
standby’s startup configuration when you issue a copy command that specifies the active’s startup
configuration (nvram:startup-config) as the target.
Automatic synchronization mode is on by default; however, to turn it on manually, use the following
commands in
Table 5
, in privileged EXEC mode:
Table 5
Ensuring that Both RSPs Have the Same Configuration File
The following example turns on automatic configuration file synchronization:
Router# configure terminal
Router (config)# slave auto-sync config
Router (config)# end
Router# copy system:running-config nvram:startup-config
Ensuring that Both RSPs Contain the Same System Image
For simple hardware backup, ensure that both RSP cards have the same system image.
To ensure that both RSPs have the same system image, use the following commands in
Table 6
in
privileged EXEC mode:
Command
Description
Step 1
Router# configure terminal
Enters the configuration mode from the terminal.
Step 2
Router(config)# slave auto-sync config
Turns on the automatic synchronization mode.
Step 3
Router(config)# end
Exits configuration mode.
Step 4
Router# copy system: running-config nvram:startup-config
Saves this information to your startup configuration
and copies the configuration to the standby’s
startup configuration.
Table 6
Confirming the Same System Image on Both RSPs
Step
Command
Description
Step 1
Router# show bootvar
Displays the contents of the BOOT environment variable
to learn the current booting parameters for the active and
the standby RSP.
Step 2
Router# dir {bootflash: | slot0: | slot1:}
Verifies the location and version of the active RSP
software image.
Step 3
Router#
dir {slavebootflash: | slaveslot0: | slaveslot1:}
Determines if the standby RSP contains the same
software image in the same location.
Step 4
Router#
copy {bootflash:[filename]| slot0:[filename] |
slot1:[filename]}{slavebootflash:[filename] | slaveslot0:[filename] |
slaveslot1:[filename]}
Note that you might also have to use the delete and/or
squeeze command in conjunction with the copy
command to accomplish this step.
If the standby RSP does not contain the same system
image in the same location, copies the active’s system
image to the appropriate standby location.
Note that deleted space is not reusable until after you
perform the squeeze command.