PurposeCommand or Action
configure
Step 14
Swaps the device roles back so that the newly inserted device
becomes the primary device.
mirror location node-id Primary-device
Secondary-device
Example:
RP/0/RSP0/CPU0:router(config)# mirror
Step 15
location 0/
RSP0
/CPU0 disk0:disk1:
Verifies that the new device is now the primary device.
show mirror [location node-id]
Example:
RP/0/RSP0/CPU0:router# show mirror
Step 16
Configuration Examples for Enabling Disk Mirroring
Enabling Disk Mirroring: Example
In the following example, disk mirroring is enabled on a router:
format disk1: partition
This operation will destroy all data on "disk1:" and partition device.
Continue? [confirm] y
Device partition disk1: is now formated and is available for use.
configure
mirror location 0/0/cpu0 disk0:disk1:
commit
show mirror Command Output: Example
RP/0/RSP0/CPU0:router(admin)# show mirror location all
Tue Dec 7 13:02:26.520 PST
Mirror Information for 0/RSP0/CPU0.
========================================================
Mirroring Enabled
Configured Primary: disk0:
Configured Secondary: disk1:
Current Mirroring State: Redundant
Current Physical Primary: disk0:
Current Physical Secondary: disk1:
Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x
82
Configuring Disk Mirroring
Configuration Examples for Enabling Disk Mirroring