Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Get-NcFcportLinkState


NAME
Get-NcFcportLinkState

SYNOPSIS
Get the link state of a specific adapter on this system.

SYNTAX
Get-NcFcportLinkState [-Node] <String> [-Adapter] <String> [-Controller <NcC
ontroller[]>] [<CommonParameters>]


DESCRIPTION
Get the link state of a specific adapter on this system.


PARAMETERS
-Node <String>
The storage system name the command will be executed on.

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

-Adapter <String>
The adapter name is either a slot number, or, if a port letter is also p
resented, a slot number and port letter concatenated into a single name
-- for example, "8a" or "11b".

Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
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.Fcport.LinkStateInfo


NOTES


Category: fcport
API: fcport-get-link-state
Family: cluster

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

C:\PS>Get-NcFcportLinkState -Node fas3070cluster01-01 -Adapter 0a


Get the link state of adapter 0a on node fas3070cluster01-01.


AdapterName : 0a
FcPortInfo : DataONTAP.C.Types.Fcport.FcPorts
LinkState : up
NcController : 10.61.172.155
NodeName : fas3070cluster01-01



RELATED LINKS







 Data ONTAP® PowerShell Toolkit