Using extended queries to act on many SnapMirror relationships

You can use extended queries to perform SnapMirror operations on many SnapMirror relationships at one time. For example, you might have multiple uninitialized SnapMirror relationships that you want to initialize using one command.

About this task

You can apply extended queries to the following SnapMirror operations:

Procedure

Perform a SnapMirror operation on many relationships: snapmirror command {-state state } *
The following command initializes SnapMirror relationships that are in an Uninitialized state:
vs1::> snapmirror initialize {-state Uninitialized} *