Skip to main content
ONTAP MetroCluster

Online or offline MetroCluster IP interface ports

Contributors netapp-aoife netapp-cgoff

When you perform maintenance tasks, you might need to bring a MetroCluster IP interface port offline or online.

About this task

Enable console logging before performing this task.

Steps

You can use the following steps to bring a MetroCluster IP interface port online or take it offline.

  1. Set the privilege level to advanced.

    set -privilege advanced

    Example output

    Cluster A_1::> set -privilege advanced
    Warning: These advanced commands are potentially dangerous; use them only when
             directed to do so by NetApp personnel.
    Do you want to continue? {y|n}: y
  2. Take the MetroCluster IP interface port offline.

    system ha interconnect link off -node <node_name> -link <link_num, 0 or 1>

    Example output

    Cluster_A1::*> system ha interconnect link off -node node-a1 -link 0
    1. Verify the MetroCluster IP interface is offline.

      Cluster_A1::*> system ha interconnect port show

      Example output

      Cluster_A1::*> system ha interconnect port show
                                     Physical  Link
                      Link           Layer     Layer      Physical   Physical  Active
      Node            Monitor  Port  State     State       Link Up  Link Down  Link
      --------------  -------  ----  --------  ---------  --------  ---------  ------
      node-a1        off
                                  0  disabled  down              4          3  false
                                  1  linkup    active            4          2  true
      node-a2        off
                                  0  linkup    active            4          2  true
                                  1  linkup    active            4          2  true
      2 entries were displayed.
  3. Bring the MetroCluster IP interface port online.

    system ha interconnect link on -node <node_name> -link <link_num, 0 or 1>

    Example output

    Cluster_A1::*> system ha interconnect link on -node node-a1 -link 0
    1. Verify the MetroCluster IP interface port is online.

      Cluster_A1::*> system ha interconnect port show

      Example output

      Cluster_A1::*> system ha interconnect port show
                                     Physical  Link
                      Link           Layer     Layer      Physical   Physical  Active
      Node            Monitor  Port  State     State       Link Up  Link Down  Link
      --------------  -------  ----  --------  ---------  --------  ---------  ------
      node-a1        off
                                  0  linkup    active            5          3  true
                                  1  linkup    active            4          2  true
      node-a2        off
                                  0  linkup    active            4          2  true
                                  1  linkup    active            4          2  true
      2 entries were displayed.