ONTAP 9

to Japanese version

Enable and revert LIFs to home ports after a revert

During a reboot, some LIFs might have been migrated to their assigned failover ports. After you revert a cluster, you must enable and revert any LIFs that are not on their home ports.

The network interface revert command reverts a LIF that is not currently on its home port back to its home port, provided that the home port is operational. A LIF’s home port is specified when the LIF is created; you can determine the home port for a LIF by using the network interface show command.

  1. Display the status of all LIFs: network interface show

    This example displays the status of all LIFs for a storage virtual machine (SVM).

    cluster1::> network interface show -vserver vs0
                Logical    Status     Network            Current       Current Is
    Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
    ----------- ---------- ---------- ------------------ ------------- ------- ----
    vs0
                data001    down/down  192.0.2.120/24     node0         e0e     true
                data002    down/down  192.0.2.121/24     node0         e0f     true
                data003    down/down  192.0.2.122/24     node0         e2a     true
                data004    down/down  192.0.2.123/24     node0         e2b     true
                data005    down/down  192.0.2.124/24     node0         e0e     false
                data006    down/down  192.0.2.125/24     node0         e0f     false
                data007    down/down  192.0.2.126/24     node0         e2a     false
                data008    down/down  192.0.2.127/24     node0         e2b     false
    8 entries were displayed.

    If any LIFs appear with a Status Admin status of down or with an Is home status of false, continue with the next step.

  2. Enable the data LIFs: network interface modify {-role data} -status-admin up

    cluster1::> network interface modify {-role data} -status-admin up
    8 entries were modified.
  3. Revert LIFs to their home ports: network interface revert *

    This command reverts all LIFs back to their home ports.

    cluster1::> network interface revert *
    8 entries were acted on.
  4. Verify that all LIFs are in their home ports: network interface show

    This example shows that all LIFs for SVM vs0 are on their home ports.

    cluster1::> network interface show -vserver vs0
                Logical    Status     Network            Current       Current Is
    Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
    ----------- ---------- ---------- ------------------ ------------- ------- ----
    vs0
                data001      up/up    192.0.2.120/24     node0         e0e     true
                data002      up/up    192.0.2.121/24     node0         e0f     true
                data003      up/up    192.0.2.122/24     node0         e2a     true
                data004      up/up    192.0.2.123/24     node0         e2b     true
                data005      up/up    192.0.2.124/24     node1         e0e     true
                data006      up/up    192.0.2.125/24     node1         e0f     true
                data007      up/up    192.0.2.126/24     node1         e2a     true
                data008      up/up    192.0.2.127/24     node1         e2b     true
    8 entries were displayed.
Top of Page