Set-NetTCPSetting

Set-NetTCPSetting

Modifies a TCP setting.

구문

Parameter Set: ByName
Set-NetTCPSetting [[-SettingName] <String[]> ] [-AsJob] [-AutomaticUseCustom <AutomaticUseCustom> ] [-AutoTuningLevelLocal <AutoTuningLevelLocal> ] [-CimSession <CimSession[]> ] [-CongestionProvider <CongestionProvider> ] [-CwndRestart <CwndRestart> ] [-DelayedAckFrequency <Byte> ] [-DelayedAckTimeoutMs <UInt32> ] [-DynamicPortRangeNumberOfPorts <UInt16> ] [-DynamicPortRangeStartPort <UInt16> ] [-EcnCapability <EcnCapability> ] [-ForceWS <ForceWS> ] [-InitialCongestionWindowMss <UInt32> ] [-InitialRtoMs <UInt32> ] [-MaxSynRetransmissions <Byte> ] [-MemoryPressureProtection <MemoryPressureProtection> ] [-MinRtoMs <UInt32> ] [-NonSackRttResiliency <NonSackRttResiliency> ] [-PassThru] [-ScalingHeuristics <ScalingHeuristics> ] [-ThrottleLimit <Int32> ] [-Timestamps <Timestamps> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: InputObject (cdxml)
Set-NetTCPSetting -InputObject <CimInstance[]> [-AsJob] [-AutomaticUseCustom <AutomaticUseCustom> ] [-AutoTuningLevelLocal <AutoTuningLevelLocal> ] [-CimSession <CimSession[]> ] [-CongestionProvider <CongestionProvider> ] [-CwndRestart <CwndRestart> ] [-DelayedAckFrequency <Byte> ] [-DelayedAckTimeoutMs <UInt32> ] [-DynamicPortRangeNumberOfPorts <UInt16> ] [-DynamicPortRangeStartPort <UInt16> ] [-EcnCapability <EcnCapability> ] [-ForceWS <ForceWS> ] [-InitialCongestionWindowMss <UInt32> ] [-InitialRtoMs <UInt32> ] [-MaxSynRetransmissions <Byte> ] [-MemoryPressureProtection <MemoryPressureProtection> ] [-MinRtoMs <UInt32> ] [-NonSackRttResiliency <NonSackRttResiliency> ] [-PassThru] [-ScalingHeuristics <ScalingHeuristics> ] [-ThrottleLimit <Int32> ] [-Timestamps <Timestamps> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

자세한 설명

The Set-NetTCPSetting cmdlet modifies a TCP setting. TCP settings are optimized for different network conditions including latency and congestion. To apply a TCP setting to a port number or destination IP address range, create a transport filter by using the New-NetTransportFilter cmdlet.

You can only modify the Custom TCP setting.

매개 변수

-AsJob

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-AutomaticUseCustom<AutomaticUseCustom>

Specifies whether the automatic profile assigns a custom template, either Datacenter Custom or Internet Custom, to a connection. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- True
-- False

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-AutoTuningLevelLocal<AutoTuningLevelLocal>

Specifies a TCP auto-tuning level for the host computer. TCP auto-tuning can improve throughput on high throughput, high latency networks. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- Disabled. Sets the TCP receive window to the default value.
-- HighlyRestricted. Sets the TCP receive window to grow beyond the default value, but very conservatively.
-- Restricted. Sets the TCP receive window to grow beyond the default value, but less conservatively than HighlyRestricted.
-- Normal. Sets the TCP receive window to grow to accommodate almost all scenarios.
-- Experimental. Sets the TCP receive window to grow to accommodate extreme scenarios.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-CimSession<CimSession[]>

원격 세션에서 또는 원격 컴퓨터에서 cmdlet을 실행합니다. New-CimSession 또는 Get-CimSession cmdlet의 출력과 같은 컴퓨터 이름이나 세션 개체를 입력합니다. 기본값은 로컬 컴퓨터의 현재 세션입니다.

별칭

Session

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-CongestionProvider<CongestionProvider>

Specifies the congestion provider property that TCP uses. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- CTCP. Compound TCP increases the receive window and amount of data sent. CTCP can improve throughput on higher latency connections.
-- DCTCP. Data Center TCP adjusts the TCP window based on network congestion feedback based on Explicit Congestion Notification (ECN) signaling. DCTCP may improve throughput on low latency links.
-- Default. Servers use DCTCP by default. Client computers use NewReno. For information about NewReno, see RFC 3782 (http://www.ietf.org/rfc/rfc3782.txt).

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-CwndRestart<CwndRestart>

Specifies whether to enable congestion window restart. Congestion window restart can avoid slow start to optimize throughput on low latency networks. For more information about congestion window restart, see RFC 2581 (http://www.ietf.org/rfc/rfc2581.txt). 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- True. TCP uses congestion window restart.
-- False. TCP uses the default setting of the connection.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-DelayedAckFrequency<Byte>

Specifies the number of acknowledgments (ACKs) received before the computer sends a response.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-DelayedAckTimeoutMs<UInt32>

Specifies the time to wait, in milliseconds, before the computer sends an ACK if the computer receives fewer than delayed acknowledgment frequency of packets. Use the DelayedAckFrequency parameter to specify the delayed ACK frequency value. Reducing the time to wait can increase throughput on low latency networks by accelerating growth in TCP window size. 이 매개 변수에 허용되는 값은 다음과 같습니다. increments of 10, from 10 through 600.

별칭

DelayedAckTimeout

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-DynamicPortRangeNumberOfPorts<UInt16>

Specifies the number of ports for the dynamic port range that starts from the port that you specify for the DynamicPortRangeStartPort parameter.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-DynamicPortRangeStartPort<UInt16>

Specifies the starting port for the dynamic port range. This parameter sets the starting port to send and receive TCP traffic. 이 매개 변수에 허용되는 값은 다음과 같습니다. 1 through 65535.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-EcnCapability<EcnCapability>

Specifies whether to enable ECN capability. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- Enabled. Uses ECN capability.
-- Disabled. Does not use ECN capability.

If you specify a value of Disabled, UseECT0, or UseEct1 for the EcnMarking parameter of the Set-NetIPInterface cmdlet, the current parameter has no effect.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-ForceWS<ForceWS>

Specifies whether to force window scaling for retransmission. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- Enabled. Requires window scaling for retransmission.
-- Disabled. Does not require window scaling for retransmission.

The default value is Disabled.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-InitialCongestionWindowMss<UInt32>

Specifies the initial size of the congestion window. Provide a value to multiply by the maximum segment size (MSS). 이 매개 변수에 허용되는 값은 다음과 같습니다. even numbers from 2 through 64.

별칭

InitialCongestionWindow

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-InitialRtoMs<UInt32>

Specifies the period, in milliseconds, before connect, or SYN, retransmit. 이 매개 변수에 허용되는 값은 다음과 같습니다. increments of 10, from 300 ms through 3000 ms.

별칭

InitialRto

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-InputObject<CimInstance[]>

이 cmdlet에 대한 입력을 지정합니다. 이 매개 변수를 사용하거나 입력을 이 cmdlet으로 파이프할 수 있습니다.

별칭

없음

필수 여부

true

위치

named

기본값

없음

파이프라인 입력 적용 여부

True (ByValue)

와일드카드 문자 허용 여부

false

-MaxSynRetransmissions<Byte>

Specifies the maximum number of times the computer sends SYN packets without receiving a response.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-MemoryPressureProtection<MemoryPressureProtection>

Specifies whether to use memory pressure protection. TCP memory pressure protection helps ensure that a computer continues normal operation when low on memory due to denial of service attacks. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- Enabled. When low on memory, during an attack, close existing TCP connections and drop incoming SYN requests.
-- Disabled. Do not use memory pressure protection.
-- Default. Use the computer default value for memory pressure protection.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-MinRtoMs<UInt32>

Specifies a value, in milliseconds, for the TCP retransmission to time out. 이 매개 변수에 허용되는 값은 다음과 같습니다. increments of 10, from 20 ms through 300 ms.

별칭

MinRto

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-NonSackRttResiliency<NonSackRttResiliency>

Specifies whether to enable round trip time resiliency for clients that do not support selective acknowledgment. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- Enabled
-- Disabled

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-PassThru

작업하고 있는 항목을 나타내는 개체를 반환합니다. 기본적으로 이 cmdlet은 출력을 생성하지 않습니다.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-ScalingHeuristics<ScalingHeuristics>

Specifies whether to enable scaling heuristics. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- Enabled
-- Disabled

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-SettingName<String[]>

Specifies an array of setting names. You can specify only Custom for this parameter.

별칭

없음

필수 여부

false

위치

1

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-ThrottleLimit<Int32>

이 cmdlet을 실행하도록 설정할 수 있는 최대 동시 작업 수를 지정합니다. 이 매개 변수가 생략되거나 값 0이 입력되면 Windows PowerShell®은 컴퓨터에서 실행 중인 CIM cmdlet의 수에 따라 cmdlet에 대한 최적의 제한 한도를 계산합니다. 제한 한도는 현재 cmdlet에만 적용되며 세션이나 컴퓨터에는 적용되지 않습니다.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-Timestamps<Timestamps>

Specifies whether to enable timestamps. Timestamps facilitate round trip measurement, and can help protect against wrapped sequence numbers on high throughput links. For more information about TCP timestamps, see RFC 1323 (http://www.ietf.org/rfc/rfc1323.txt). 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- Enabled
-- Disabled

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-Confirm

cmdlet을 실행하기 전에 확인 메시지가 표시됩니다.

필수 여부

false

위치

named

기본값

false

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-WhatIf

cmdlet이 실행될 경우 결과 동작을 표시합니다. cmdlet이 실행되지 않습니다.

필수 여부

false

위치

named

기본값

false

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

  • Microsoft.Management.Infrastructure.CimInstance#root\StandardCimv2\MSFT_NetTCPSetting

    Microsoft.Management.Infrastructure.CimInstance 개체는 WMI(Windows Management Instrumentation) 개체를 표시하는 래퍼 클래스입니다. 파운드 기호(#) 뒤에 오는 경로는 기본 WMI 개체의 네임스페이스 및 클래스 이름을 제공합니다.

출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

  • None

예제

Example 1: Change the custom TCP setting

This command changes the custom TCP setting to have a value of 6 for the initial congestion window and use compound TCP.

PS C:\> Set-NetTCPSetting –SettingName Custom –CongestionProvider CTCP –InitialCongestionWindowMss 6 

관련 항목

Get-NetTCPSetting

Get-NetTransportFilter

Get-NetUDPSetting

New-NetTransportFilter

Remove-NetTransportFilter

Set-NetUDPSetting