Skip to main content
Command reference

snapmirror mediator remove

Suggest changes

Remove mediator config entry

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The snapmirror mediator remove command deletes a mediator configuration entry.

Parameters

-peer-cluster <text> - Peer cluster

Peer cluster with AutomatedFailOver SnapMirror relationships.

[-type {on-prem|cloud}] - Mediator Type

Specifies the type of the mediator. The value on-prem represents ONTAP Mediator. The value cloud represents ONTAP cloud mediator. The default value is on-prem .

[-mediator-address <IP Address>] - Mediator Ip Address

Specifies the IP address of the mediator. This is only applicable for ONTAP Mediator.

[-f, -force <true>] - Force (privilege: advanced)

The force option deletes the local configuration even if the peer cluster or mediator is not reachable.

Examples

The following example removes a mediator configuration entry for ONTAP Mediator.

clusA::> snapmirror mediator remove -peer-cluster clusB -mediator-address 10.140.102.227
Info: [Job 36] 'mediator remove' job queued

The following example removes a mediator configuration entry for ONTAP cloud mediator.

clusA::> snapmirror mediator remove -peer-cluster clusB -type cloud
Info: [Job 53] 'mediator remove' job queued