Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Set-NaFcpAdapterMediaType


NAME
Set-NaFcpAdapterMediaType

SYNOPSIS
Sets the link type on the Fibre Channel target adapter.

SYNTAX
Set-NaFcpAdapterMediaType [-Adapter] <String> [-MediaType] <String> [-Contro
ller <NaController>] [-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Sets the link type on the Fibre Channel target adapter. It can be configured
to establish a point-to-point link, a loop configuration or to automaticall
y sense whether the connection type is a point-to-point or loop link. Settin
g the link to point-to-point in a loop configuration can prevent the loop fr
om coming up properly. If the adapter is online, it must be brought offline
and then online in order for a new mediatype to take effect. This may tempor
arily disrupt fcp service on the target adapter.


PARAMETERS
-Adapter <String>
FC adapter to modify.

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

-MediaType <String>
Media type to set. Valid values are point-to-point ("ptp"), loop config
uration ("loop"), or automatic ("auto").

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
NetApp.Ontapi.Filer.Fcp.FcpConfigAdapterInfo


NOTES


Category: fcp
API: fcp-adapter-config-media-type

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

C:\PS>Set-NaFcpAdapterMediaType 0c auto


Set the media type on FC target adapter 0c to 'auto'.


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-NaFcpAdapter







 Data ONTAP® PowerShell Toolkit