Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Move-NcNetInterface


NAME
Move-NcNetInterface

SYNOPSIS
Migrate a Logical Interface between nodes and ports.

SYNTAX
Move-NcNetInterface [-Name] <String> [-Vserver] <String> [-SourceNode <Strin
g>] [-DestinationNode] <String> [-DestinationPort <String>] [-Force] [-Contr
oller <NcController[]>] [<CommonParameters>]


DESCRIPTION
Migrate a Logical Interface between nodes and ports.


PARAMETERS
-Name <String>
The logical interface that is to be migrated.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Vserver <String>
Specifies the Vserver that owns the logical interface that is to be migr
ated.

Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-SourceNode <String>
Specifies the node from which the logical interface is to be migrated. I
f not specifed, this field will be set to the node on which the LIF curr
ently resides.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-DestinationNode <String>
Specifies the node to which the logical interface is to be migrated.

Required? true
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-DestinationPort <String>
Specifies the port or interface group to which the logical interface is
to be migrated. If not specified, this field will be set to the port nam
e of the port on which the LIF currently resides.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Force
If specified, force the migration operation. If specified, migrating a L
IF whos 'sticky' field is set to true, or whose current node is sick wil
l be allowed. Otherwise they will not be permitted.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
DataONTAP.C.Types.Net.NetInterfaceInfo


NOTES


Category: net
API: net-interface-migrate
Family: cluster

-------------- Example 1 --------------

C:\PS>Move-NcNetInterface -Name beam_vsim01_data1 -Vserver beam_vsim01 -Sour
ceNode vsim_cluster1-01 -DestinationNode vsim_cluster1-02 -DestinationPort e
0d


Move the 'beam_vsim01_data1' LIF from node 'vsim_cluster1-01' to node 'vsim_
cluster1-02'.


InterfaceName OpStatus DataProtocols FirewallPolicy Vserver
Address
------------- -------- ------------- -------------- -------
-------
beam_vsim01_data1 up {cifs} mgmt beam_vsim0
1 10.63.58.222



RELATED LINKS
Invoke-NcNetInterfaceRevert







 Data ONTAP® PowerShell Toolkit