「Windows/PowerShell/NET TCPIP」の版間の差分
提供: Blanc de Zinc Wiki
< Windows
14行目: | 14行目: | ||
== TCP設定 == | == TCP設定 == | ||
− | === | + | === アドオン輻輳制御プロバイダの設定 === |
==== 確認 ==== | ==== 確認 ==== | ||
PS> Get-NetTransportFilter | Where DestinationPrefix -eq '*' | Get-NetTcpSetting | PS> Get-NetTransportFilter | Where DestinationPrefix -eq '*' | Get-NetTcpSetting |
2014年6月16日 (月) 19:42時点における版
IPインターフェイス
MTUの設定値
確認
PS> Get-NetIPInterface
NlMtu(Bytes)が各インターフェイスのMTU設定値
設定
PS> Set-NetIPInterface -InterfaceIndex n -NlMtuBytes mtu
nはGet-NetIPInterfaceで確認できるインターフェイスの番号
mtuは設定したい値
TCP設定
アドオン輻輳制御プロバイダの設定
確認
PS> Get-NetTransportFilter | Where DestinationPrefix -eq '*' | Get-NetTcpSetting
CongestionProviderの値が現在の設定値
Windows 8/8.1ではデフォルトでCTCPが設定されている
なお、コマンドプロンプト等からnetshの下記コマンドを利用して設定値を参照しても正しい表示が得られずnoneとなる。
C:\> netsh interface tcp show global