Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Get-NcFcpAdapter


NAME
Get-NcFcpAdapter

SYNOPSIS
Get a list of physical FC adapters.

SYNTAX
Get-NcFcpAdapter [[-Node] <String[]>] [[-Adapter] <String[]>] [[-NodeName] <
String[]>] [-Attributes <FcpConfigAdapterInfo>] [-Controller <NcController[]
>] [<CommonParameters>]

Get-NcFcpAdapter -Template [-Controller <NcController[]>] [<CommonParameters
>]

Get-NcFcpAdapter -Query <FcpConfigAdapterInfo> [-Attributes <FcpConfigAdapte
rInfo>] [-Controller <NcController[]>] [<CommonParameters>]


DESCRIPTION
Get a list of physical FC adapters.


PARAMETERS
-Node <String[]>
The name of the node where the adapter is installed. Data ONTAP wildcar
ds are permitted.

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

-Adapter <String[]>
The slot name of the FC adapter. Data ONTAP wildcards are permitted.

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

-NodeName <String[]>
The FCP World Wide Node Name (WWNN) of the adapter. Data ONTAP wildcard
s are permitted.

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

-Attributes <FcpConfigAdapterInfo>
For improved scalability in large clusters, provide an FcpConfigAdapterI
nfo object with various fields set to indicate which fields to return on
all objects. Undesired fields should remain set to null. Use "Get-NcF
cpAdapter -Template" to get the initially empty FcpConfigAdapterInfo obj
ect. If not specified, all data is returned for each object.

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

-Controller <NcController[]>
A Data ONTAP cluster-mode controller to receive this cmdlet, as embodied
by an NcController object. This parameter is returned by the Connect-N
cController cmdlet. If not specified, the value in the global variable
CurrentNcController is used. In the latter case, if CurrentNcController
contains a collection of NcController objects, this cmdlet is invoked o
n each controller in succession.

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

-Template
Specify to get an empty FcpConfigAdapterInfo object for use with advance
d queries involving the Query attribute.

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

-Query <FcpConfigAdapterInfo>
For advanced queries, provide an FcpConfigAdapterInfo object with variou
s fields set to indicate which records to retrieve. Other fields should
remain set to null. Use "Get-NcFcpAdapter -Template" to get the initia
lly empty FcpConfigAdapterInfo object.

Required? true
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.C.Fcp810.FcpConfigAdapterInfo


NOTES


Category: fcp
API: fcp-adapter-get-iter
Family: cluster

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

C:\PS>Get-NcFcpAdapter


Get all the FCP adapters in the current cluster.


Adapter : 0a
CacheLineSize : 16
ConnectionEstablished : ptp
DataLinkRate : 4
ExternalGbicEnabled : False
FabricEstablished : True
FirmwareRev : 5.5.2
HardwareRev : 2
InfoName : Fibre Channel Target Adapter 0a (rev. 2)
MaxSpeed : 4
MediaType : ptp
MpiFirmwareRev :
Node : VxeRubble-01
NodeName : 50:0a:09:80:89:0b:bf:89
PacketSize : 2048
PciBusWidth : 64
PciClockSpeed : 33
PhyFirmwareRev :
PhysicalDataLinkRate :
PhysicalLinkState :
PhysicalProtocol : fibre_channel
PortAddress : 70912
PortName : 50:0a:09:81:89:0b:bf:89
Speed : auto
SramParityEnabled : True
State : online
SwitchPort :
VlanId :
CacheLineSizeSpecified : True
DataLinkRateSpecified : True
ExternalGbicEnabledSpecified : True
FabricEstablishedSpecified : True
PacketSizeSpecified : True
PciBusWidthSpecified : True
PciClockSpeedSpecified : True
PhysicalDataLinkRateSpecified : False
PortAddressSpecified : True
SramParityEnabledSpecified : True
VlanIdSpecified : False


-------------- Example 2 --------------

C:\PS>$q = Get-NcFcpAdapter -Template
$q.State = "online"
Get-NcFcpAdapter -Query $q


Get all of the online FCP adapters in the current cluster.


Adapter : 0a
CacheLineSize : 16
ConnectionEstablished : ptp
DataLinkRate : 4
ExternalGbicEnabled : False
FabricEstablished : True
FirmwareRev : 5.5.2
HardwareRev : 2
InfoName : Fibre Channel Target Adapter 0a (rev. 2)
MaxSpeed : 4
MediaType : ptp
MpiFirmwareRev :
Node : VxeRubble-01
NodeName : 50:0a:09:80:89:0b:bf:89
PacketSize : 2048
PciBusWidth : 64
PciClockSpeed : 33
PhyFirmwareRev :
PhysicalDataLinkRate :
PhysicalLinkState :
PhysicalProtocol : fibre_channel
PortAddress : 70912
PortName : 50:0a:09:81:89:0b:bf:89
Speed : auto
SramParityEnabled : True
State : online
SwitchPort :
VlanId :
CacheLineSizeSpecified : True
DataLinkRateSpecified : True
ExternalGbicEnabledSpecified : True
FabricEstablishedSpecified : True
PacketSizeSpecified : True
PciBusWidthSpecified : True
PciClockSpeedSpecified : True
PhysicalDataLinkRateSpecified : False
PortAddressSpecified : True
SramParityEnabledSpecified : True
VlanIdSpecified : False



RELATED LINKS
Enable-NcFcpAdapter
Disable-NcFcpAdapter
Set-NcFcpAdapterSpeed







 Data ONTAP® PowerShell Toolkit