Skip to main content

Enabling and reverting LIFs to home ports (preparing the ONTAP software for the update)

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

About this task

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

    Example

    This example displays the status of all LIFs for a storage virtual machine (SVM).
    TDC-DM7K::> 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 TDC-7K-03 e0e true
    data002 down/down 192.0.2.121/24 TDC-7K-03 e0f true
    data003 down/down 192.0.2.122/24 TDC-7K-03 e2a true
    data004 down/down 192.0.2.123/24 TDC-7K-03 e2b true
    data005 down/down 192.0.2.124/24 TDC-7K-03 e0e false
    data006 down/down 192.0.2.125/24 TDC-7K-03 e0f false
    data007 down/down 192.0.2.126/24 TDC-7K-03 e2a false
    data008 down/down 192.0.2.127/24 TDC-7K-03 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

    Example

    TDC-DM7K::> network interface modify {-role data} -status-admin up 
    8 entries were modified.

  3. Revert LIFs to their home ports: network interface revert *

    Example

    This command reverts all LIFs back to their home ports.
    TDC-DM7K::> network interface revert *      
    8 entries were acted on.

  4. Verify that all LIFs are in their home ports: network interface show

    Example

    This example shows that all LIFs for SVM vs0 are on their home ports.
    TDC-DM7K::> 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 TDC-7K-03 e0e true
    data002 up/up 192.0.2.121/24 TDC-7K-03 e0f true
    data003 up/up 192.0.2.122/24 TDC-7K-03 e2a true
    data004 up/up 192.0.2.123/24 TDC-7K-03 e2b true
    data005 up/up 192.0.2.124/24 TDC-7K-01 e0e true
    data006 up/up 192.0.2.125/24 TDC-7K-01 e0f true
    data007 up/up 192.0.2.126/24 TDC-7K-01 e2a true
    data008 up/up 192.0.2.127/24 TDC-7K-01 e2b true
    8 entries were displayed.