NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

How to remove home port or current port of a LIF

Atish1
8,435 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.

1 ACCEPTED SOLUTION

SpindleNinja
8,359 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

 

 

 

 

View solution in original post

4 REPLIES 4

SpindleNinja
8,420 Views

what lifs have that as their home port? 

Atish1
8,413 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
8,360 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
7,309 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