Upcoming Scheduled Maintenance
The NetApp Knowledge Base will be offline between Oct 26, 23:59 PDT and Oct 27, 02:59 PDT, for system maintenance and infrastructure updates. As a result, Elio and kb.netapp.com will be unavailable.

ONTAP Discussions

How to remove home port or current port of a LIF

Atish1
1,172 Views

cluster1::> network port broadcast-domain delete -broadcast-domain Default -ports cluster1-01:e0d

 

Error: command failed: Port "cluster1-01:e0c" cannot be used because it is currently the home port or current port of a LIF.
To view LIFs with a specified home port, use the "network interface show -home-node <nodename> -home-port
{<netport>|<ifgrp>}" command. To view LIFs with a specified current port, use the "network interface show -curr-node
<nodename> -curr-port {<netport>|<ifgrp>}" command.

4 REPLIES 4

SpindleNinja
1,157 Views

what lifs have that as their home port? 

Atish1
1,150 Views

cluster1::> network interface show -home-node cluster1-01
Logical Status Network Current Current Is
Vserver Interface Admin/Oper Address/Mask Node Port Home
----------- ---------- ---------- ------------------ ------------- ------- ----
ApplicationData
lif_ApplicationData_324 up/up 192.168.0.94/24 cluster1-01 e0c true
lif_ApplicationData_50 up/up 192.168.0.90/24 cluster1-01 e0e true
Cluster
cluster1-01_clus1 up/up 169.254.145.151/16 cluster1-01 e0a true
cluster1-01_clus2 up/up 169.254.58.159/16 cluster1-01 e0b true
EmployeeData
lif_EmployeeData_298 up/up 192.168.0.92/24 cluster1-01 e0g true
lif_EmployeeData_84 up/up 192.168.0.95/24 cluster1-01 e0e false
cluster1
cluster1-01_mgmt1 up/up 192.168.0.111/24 cluster1-01 e0c true
cluster_mgmt up/up 192.168.0.101/24 cluster1-01 e0c true
lif_Default_18 up/up 192.168.0.80/24 cluster1-01 e0f true
9 entries were displayed.

cluster1::> "network interface show -curr-node cluster1-01 -curr-port e0f"
Logical Status Network Current Current Is
Vserver Interface Admin/Oper Address/Mask Node Port Home
----------- ---------- ---------- ------------------ ------------- ------- ----
cluster1
lif_Default_18 up/up 192.168.0.80/24 cluster1-01 e0f true

cluster1::> network interface show -curr-node cluster1-01 -curr-port e0f
Logical Status Network Current Current Is
Vserver Interface Admin/Oper Address/Mask Node Port Home
----------- ---------- ---------- ------------------ ------------- ------- ----
cluster1
lif_Default_18 up/up 192.168.0.80/24 cluster1-01 e0f true




SpindleNinja
1,096 Views

You'll need to modify the home ports of the lifs on cluster1-01:e0c and then move them to their new home port(s).  

 

I see 3 - 

lif_ApplicationData_324 up/up 192.168.0.94/24 cluster1-01 e0c true
cluster1-01_mgmt1 up/up 192.168.0.111/24 cluster1-01 e0c true
cluster_mgmt up/up 192.168.0.101/24 cluster1-01 e0c true
 

 

https://docs.netapp.com/us-en/ontap-cli-991/network-interface-modify.html#parameters

 

 

 

 

Ashun
46 Views

hi

 

You need to change the lif with -home port as "cluster1-01:e0c" to another port and then try your previous operation

Run the following command to change the -home port of lif_ApplicationData_324, cluster1-01_mgmt1, cluster_mgmt

 

network interface modify -vserver <vserver_name> -lif <lif_name> -home-node <node_name> -home-port <port_name>

Public