Skip to main content
ONTAP MetroCluster
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。

联机或脱机MetroCluster IP接口端口

贡献者

执行维护任务时、可能需要使MetroCluster IP接口端口脱机或联机。

关于此任务

"启用控制台日志记录" 执行此任务之前。

步骤

您可以使用以下步骤使MetroCluster IP接口端口联机或脱机。

  1. 将权限级别设置为高级:

    set -privilege advanced

    示例输出

    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. 使MetroCluster IP接口端口脱机。

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

    示例输出

    Cluster_A1::*> system ha interconnect link off -node node-a1 -link 0
    1. 验证MetroCluster IP接口是否脱机。

      Cluster_A1::*> system ha interconnect port show

      示例输出

    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. 使MetroCluster IP接口端口联机。

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

    示例输出

    Cluster_A1::*> system ha interconnect link on -node node-a1 -link 0
    1. 验证MetroCluster IP接口端口是否联机。

      Cluster_A1::*> system ha interconnect port show

      示例输出

    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.