PowerShell Logo Small

Set-NetIPsecDospSetting



This is the built-in help made by Microsoft for the command 'Set-NetIPsecDospSetting', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Modifies existing IPsec Dos protection settings.

SYNTAX


Set-NetIPsecDospSetting [-Name] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-DefBlockExemptDscp <UInt16>] [-DefBlockExemptRateLimitBytesPerSec <UInt32>]
[-EnabledKeyingModules <DospKeyModules>] [-FilteringFlags <DospFlags>] [-IcmpV6Dscp <UInt16>] [-IcmpV6RateLimitBytesPerSec <UInt32>] [-IpV6FilterExemptDscp <UInt32>]
[-IpV6FilterExemptRateLimitBytesPerSec <UInt32>] [-IpV6IPsecAuthDscp <UInt16>] [-IpV6IPsecAuthRateLimitBytesPerSec <UInt32>] [-IpV6IPsecUnauthDscp <UInt32>]
[-IpV6IPsecUnauthPerIPRateLimitBytesPerSec <UInt32>] [-IpV6IPsecUnauthRateLimitBytesPerSec <UInt32>] [-MaxPerIPRateLimitQueues <UInt32>] [-MaxStateEntries <UInt32>]
[-PassThru] [-PerIPRateLimitQueueIdleTimeoutSeconds <UInt32>] [-PrivateInterfaceAliases <WildcardPattern[]>] [-PrivateV6Address <String>] [-PublicInterfaceAliases
<WildcardPattern[]>] [-PublicV6Address <String>] [-StateIdleTimeoutSeconds <UInt32>] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
Set-NetIPsecDospSetting [-AsJob] [-CimSession <CimSession[]>] [-DefBlockExemptDscp <UInt16>] [-DefBlockExemptRateLimitBytesPerSec <UInt32>] [-EnabledKeyingModules
<DospKeyModules>] [-FilteringFlags <DospFlags>] [-IcmpV6Dscp <UInt16>] [-IcmpV6RateLimitBytesPerSec <UInt32>] [-IpV6FilterExemptDscp <UInt32>]
[-IpV6FilterExemptRateLimitBytesPerSec <UInt32>] [-IpV6IPsecAuthDscp <UInt16>] [-IpV6IPsecAuthRateLimitBytesPerSec <UInt32>] [-IpV6IPsecUnauthDscp <UInt32>]
[-IpV6IPsecUnauthPerIPRateLimitBytesPerSec <UInt32>] [-IpV6IPsecUnauthRateLimitBytesPerSec <UInt32>] [-MaxPerIPRateLimitQueues <UInt32>] [-MaxStateEntries <UInt32>]
[-PassThru] [-PerIPRateLimitQueueIdleTimeoutSeconds <UInt32>] [-PrivateInterfaceAliases <WildcardPattern[]>] [-PrivateV6Address <String>] [-PublicInterfaceAliases
<WildcardPattern[]>] [-PublicV6Address <String>] [-StateIdleTimeoutSeconds <UInt32>] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [-Confirm] [-WhatIf]
[<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-NetIPsecDospSetting modifies existing IPsec Dos protection settings.


The settings cannot be queried by property in this cmdlet. The Get-NetIPsecDospSetting cmdlet returns the queried settings and pipes the settings into this cmdlet.


When modifying the DSCP parameters including the DefBlockExemptDscp, IcmpV6Dscp, IpV6FilterExemptDscp, IpV6IPsecAuthDscp, and IpV6IPsecUnauthDscp parameters, the parameters
are case sensitive and require Disabled to by specified using dot-notation.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=288369
Where-Object
Get-NetIPsecDospSetting
New-NetIPsecDospSetting
remove-NetIPsecDospSetting

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Set-NetIPsecDospSetting –Name PubNet-CorpNet –PublicInterfaceAliases PubNet2



This example modifies the internal interface of an IPsec DosP setting by using the rule name.




EXAMPLE 2

PS C:\>$nipDospSetting = Get-NetIPsecDospSetting



PS C:\>$nipDospSettingPubNet = Where-Object –FilterScript { $_.PublicInterfaceAliases –Eq "PubNet" } –InputObject $nipSospSetting



PS C:\>Set-NetIPsecDospSetting –PublicInterfaceAliases PubNet2 –InputObject $nipDospSettingPubNet


This cmdlet can be run using only the pipeline.
PS C:\>Get-NetIPsecDospSetting | Where-Object –FilterScript { $_.PublicInterfaceAliases –Eq "PubNet" } | Set-NetIPsecDospSetting –PublicInterfaceAliases PubNet2



This example modifies the internal interface of an IPsec DosP setting by querying by property.




EXAMPLE 3

PS C:\>$dosPSetting = Get-NetIPsecDospSetting –Name PubNet-CorpNet



PS C:\>$dosPSetting.IpV6IPsecUnauthDscp = "Disabled"



This example turns off DSCP marking for unauthenticated IPv6 IPsec-protected traffic for a particular DosP setting.