|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Switch-NaFcpPortName
NAME
Switch-NaFcpPortName
SYNOPSIS
Swap port names of two local Fibre Channel target adapters.
SYNTAX
Switch-NaFcpPortName [-FirstAdapter] <String> [-SecondAdapter] <String> [-Co
ntroller <NaController>] [-WarningAction <ActionPreference>] [-WarningVariab
le <String>] [<CommonParameters>]
DESCRIPTION
Swap port names of two local Fibre Channel target adapters.
PARAMETERS
-FirstAdapter <String>
One of the adapters to swap their port names. It has to be a local adapt
er in standby or single_image cfmode.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-SecondAdapter <String>
One of the adapters to swap their port names. It has to be a local adapt
er in standby or single_image cfmode.
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningAction <ActionPreference>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningVariable <String>
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
NetApp.Ontapi.Filer.Fcp.FcpConfigAdapterInfo
NOTES
Category: fcp
API: fcp-port-name-swap
-------------- Example 1 --------------
C:\PS>Switch-NaFcpPortName 0c 0d
Swap the WWPN's for FC target adapters 0c and 0d.
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:81:97:09:3b:1f
Speed : auto
SramParityEnabled : True
Standby : False
State : offlined by user/system
CacheLineSizeSpecified : True
DataLinkRateSpecified : True
ExternalGbicEnabledSpecified : True
FabricEstablishedSpecified : True
LoopIdSpecified : False
PacketSizeSpecified : True
PciBusWidthSpecified : False
PciClockSpeedSpecified : False
PortAddressSpecified : True
PortIdSpecified : False
SramParityEnabledSpecified : True
StandbySpecified : True
Adapter : 0d
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
CacheLineSizeSpecified : True
DataLinkRateSpecified : True
ExternalGbicEnabledSpecified : True
FabricEstablishedSpecified : True
LoopIdSpecified : False
PacketSizeSpecified : True
PciBusWidthSpecified : False
PciClockSpeedSpecified : False
PortAddressSpecified : True
PortIdSpecified : False
SramParityEnabledSpecified : True
StandbySpecified : True
RELATED LINKS
Get-NaFcpAdapter
| Copyright © 2010 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|