Modifying a LIF

You can modify a LIF by changing the attributes, such as home node or current node, administrative status, IP address, netmask, failover policy, firewall policy, and service policy. You can also change the address family of a LIF from IPv4 to IPv6.

About this task


  1. Modify a LIF's attributes by using the network interface modify command.

    The following example shows how to modify LIF datalif1 that is located on the SVM vs0. The LIF's IP address is changed to and its network mask is changed to

    network interface modify -vserver vs0 -lif datalif1 -address -netmask 

    The following example shows how to modify the IP address and network mask of LIF datalif2 using an IP address and the network mask value from subnet client1_sub:

    network interface modify -vserver vs1 -lif datalif2 -subnet-name client1_sub
    The following example shows how to modify the service policy of a LIF.
    network interface modify -vserver siteA -lif node1_inter1 -service-policy example
  2. Verify that the IP addresses are reachable.
    If you are using Then use
    IPv4 addresses network ping
    IPv6 addresses network ping6