Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Set-NaFcpPortName


NAME
Set-NaFcpPortName

SYNOPSIS
Set a valid but unused port name on a local Fibre Channel target adapter.

SYNTAX
Set-NaFcpPortName [-Adapter] <String> [-PortName] <String> [-Controller <NaC
ontroller>] [-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Set a valid but unused port name on a local Fibre Channel target adapter.


PARAMETERS
-Adapter <String>
Adapter to set the port name on. It has to be a local adapter in standb
y or single_image cfmode.

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

-PortName <String>
WWPN to be set on the adapter. It has to be a valid and unused one.

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

-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.

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

-WhatIf


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

-Confirm


Required? false
Position? named
Default value
Accept pipeline input? false
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.Types.Fcp.FcpConfigAdapterInfo


NOTES


Category: fcp
API: fcp-port-name-set

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

C:\PS>Set-NaFcpPortName 0c 50:0a:09:82:97:09:3b:1f


Set the WWPN on FC target adapter 0c to '50:0a:09:82:97:09:3b:1f'.


Adapter : 0c
AdapterType : Local
CacheLineSize : 16
ConnectionEstablished : loop
DataLinkRate : 0
ErrorMsg :
ExternalGbicEnabled : False
FabricEstablished : False
FirmwareRev : 4.5.2
HardwareRev : 2
InfoName : Dual-channel, QLogic 2432 (2462)
LoopId :
MediaType : auto
NodeName : 50:0a:09:80:87:09:3b:1f
PacketSize : 2048
PartnerAdapter :
PciBusWidth :
PciClockSpeed :
PortAddress : 0
PortId :
PortName : 50:0a:09:83:97:09:3b:1f
Speed : auto
SramParityEnabled : True
Standby : False
State : offlined by user/system



RELATED LINKS
Get-NaFcpPortName
Get-NaFcpAdapter







 Data ONTAP® PowerShell Toolkit