Configuring LIFs on the SVM

An SVM serves data to clients through one or more network logical interfaces (LIFs). You must create LIFs on the ports you want to use to access data.

Before you begin

You must be a cluster administrator to perform this task.

About this task

You should not configure LIFs that carry CIFS traffic to automatically revert to their home nodes. This recommendation is mandatory if the CIFS server is to host a solution for nondisruptive operations with Hyper-V or SQL Server over SMB.


  1. Determine which broadcast domain ports you want to use for the LIF.
    network port broadcast-domain show -ipspace ipspace1
    IPspace Broadcast                                 Update
    Name    Domain Name    MTU  Port List             Status Details
    ------- ----------- ------  --------------------- --------------
            ipspace1      1500
                                node1:e0d             complete
                                node1:e0e             complete
                                node2:e0d             complete
                                node2:e0e             complete
  2. Verify that the subnet you want to use for the LIFs contains sufficient unused IP addresses.
    network subnet show -ipspace ipspace1
    IPspace: ipspace1
    Subnet                  Broadcast               Avail/
    Name      Subnet        Domain    Gateway       Total   Ranges
    --------- ------------  --------- ----------- --------- ---------------
    ipspace1   ipspace1      4/4,
  3. Create one or more LIFs on the ports you want to use to access data.
    network interface create -vserver vs1 -lif lif1 -role data -data-protocol nfs,cifs -home-node node1 -home-port e0d -subnet-name ipspace1network interface create -vserver vs1 -lif lif2 -role data -data-protocol nfs,cifs -home-node node2 -home-port e0d -subnet-name ipspace1 network interface create -vserver vs1 -lif lif2 -home-node node2 -home-port e0d -service-policy default-data-files -subnet-name ipspace1
  4. Verify that the LIF interface configuration is correct.
    network interface show -vserver vs1
              Logical    Status     Network         Current   Current Is
    Vserver   Interface  Admin/Oper Address/Mask    Node      Port    Home
    --------- ---------- ---------- --------------- --------- ------- ----
              lif1       up/up   node1     e0d     true
              lif2       up/up   node2     e0d     true
  5. Verify that the failover group configuration is as desired.
    network interface show -failover -vserver vs1
             Logical         Home                  Failover        Failover
    Vserver  Interface       Node:Port             Policy          Group
    -------- --------------- --------------------- --------------- ---------------
             lif1            node1:e0d             system-defined  ipspace1
                             Failover Targets: node1:e0d, node1:e0e,
                                               node2:e0d, node2:e0e
             lif2            node2:e0d             system-defined  ipspace1
                             Failover Targets: node2:e0d, node2:e0e,
                                               node1:e0d, node1:e0e