Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Set-NaNetPersistentConfig


NAME
Set-NaNetPersistentConfig

SYNOPSIS
Writes controllers persistent network config in /etc/rc.

SYNTAX
Set-NaNetPersistentConfig [-Config] <NetConfigInfo> [-Controller <NaControll
er>] [-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Writes controllers persistent network config in /etc/rc. Non-network-relate
d entries in /etc/rc are preserved.


PARAMETERS
-Config <NetConfigInfo>
Network configuration object of the type returned by Get-NaNetActiveConf
ig or Get-NaNetPersistentConfig.

Required? true
Position? 1
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



NOTES


Category: net
API: net-config-set-persistent

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

C:\PS>Get-NaNetActiveConfig | Set-NaNetPersistentConfig


Write the currently active network configuration to the /etc/rc file.






RELATED LINKS
Get-NaNetActiveConfig
Get-NaNetPersistentConfig







 Data ONTAP® PowerShell Toolkit