![Cisco ASR 14000 Series Management Command Reference Download Page 18](http://html.mh-extra.com/html/cisco/asr-14000-series/asr-14000-series_management-command-reference_66667018.webp)
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
Boot Commands on Cisco IOS XR Software
mirror
SMR-14
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
mirror
To configure disk mirroring on a node, use the
mirror
command in global configuration mode. To
disable disk mirroring, use the
no
form of this command.
mirror
location
[
preconfigure
]
node-id
primary-device
:
secondary-device
:
no mirror
location
node-id
Syntax Description
Defaults
No default behavior or values
Command Modes
Global configuration
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
The
mirror
command replicates all critical data contained in the primary partition of the primary boot
device, onto a second storage device on the same RP. Therefore, if the primary boot device fails,
applications continue to be serviced transparently by the secondary device, without having to switch
control to a standby RP.
Before the mirror command can be used, the secondary storage device must be partitioned using the
format
command. If the primary boot device is not partitioned, once mirroring is enabled and all data
on the primary boot device is replicated to the secondary device, the primary boot device is partitioned
automatically. This guarantees that only critical data on the primary boot device is mirrored to the
secondary device. Noncritical data, such as logging data, should not be mirrored and should, therefore,
be saved to the secondary partition on the storage device.
To temporarily suspend disk mirroring without changing the configuration, use the
mirror pause
command in EXEC mode.
primary-device
:
Specifies the primary boot device used to store installation packages
and configuration files. Supported devices are
disk0:
and
disk1:
(if
installed).
secondary-device
:
Storage device on the same RP as the
primary-device
, to where critical
data is replicated.
•
Supported devices are the same as for
primary-device:
,
but
secondary-device:
must be different than the
primary-device:
.
preconfigure
Enables you to specify a node that is not yet installed.
node-id
Node in a multishelf system. It can be a node that is not yet installed
if the keyword
preconfigure
is used.
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.