New-NetQosTrafficClass

New-NetQosTrafficClass

Creates a new traffic class.

構文

Parameter Set: cim:CreateInstance0
New-NetQosTrafficClass [-Name] <String> [-Algorithm] <Algorithm> [-Priority] <Byte[]> [-AsJob] [-BandwidthPercentage <Byte> ] [-CimSession <CimSession[]> ] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

This New-NetQosTrafficClass cmdlet creates a new traffic class. Traffic class is specified in the enhanced transmission selection (ETS) specification in the IEEE data center bridging (DCB) standard. In creating a traffic class, the user specifies which types of traffic, differentiated by the IEEE 802.1p priority, are mapped to the traffic class, what transmission algorithm it uses, and how much bandwidth it gets. If Windows Server® 2012 or later is set to be not willing to accept DCB configurations from a remote device, then Windows Server 2012 or later will program DCB capable network adapters to add this new traffic class.

For more information on remote device configurations, see the Set-NetQosDcbxSetting cmdlet.

There is a default traffic class created by Windows Server 2012 or later. All 8 priorities are mapped to this default traffic class, which selects ETS as its transmission algorithm and has all of the total bandwidth. Users cannot delete the default traffic class. Since a traffic class must have at least one type of traffic mapped to it and there are 8 or less types of such traffic, which is limited by IEEE 802.1p, only 7 additional traffic classes can be created.

In reality, a network adapter that supports DCB may support less than 8 traffic classes. If there are more traffic classes configured in Windows Server 2012 or later than what a network adapter can support, then Windows Server 2012 or later will not send the configurations to the network adapter.

パラメーター

-Algorithm<Algorithm>

Specifies the transmission selection algorithm to assign to the traffic class. このパラメーターに対して使用できる値: ETS or Strict
ETS refers to IEEE 802.1Qaz Enhanced Transmission Selection. Strict refers to Strict Priority scheduling. Both of the algorithms are specified in the IEEE 802.1Q standard.

エイリアス

tsa

必須?

true

位置は?

2

既定値

ets

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-AsJob

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-BandwidthPercentage<Byte>

Specifies the percent of total bandwidth to assign to the traffic class.

エイリアス

Bandwidth,bw

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-CimSession<CimSession[]>

リモート セッションまたはリモート コンピューターでコマンドレットを実行します。New-CimSession コマンドレットや Get-CimSession コマンドレットの出力など、コンピューター名またはセッション オブジェクトを入力します。既定値は、ローカル コンピューターで実行中の現在のセッションです。

エイリアス

Session

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Name<String>

Specifies the name of the traffic class.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Priority<Byte[]>

Specifies the IEEE 802.1p priority values. One priority can be mapped to only one traffic class whereas multiple priorities can be mapped to the same traffic class.

エイリアス

p,pri

必須?

true

位置は?

3

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-ThrottleLimit<Int32>

このコマンドレットを実行するために確立できる最大同時操作数を指定します。このパラメーターを省略するか、値として 0 を入力した場合、Windows PowerShell® では、コンピューターで実行している CIM コマンドレットの数に基づいて、コマンドレットに対する最適なスロットル制限を計算します。スロットル制限は現在のコマンドレットのみに適用され、セッションまたはコンピューターには適用されません。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • None

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • Microsoft.Management.Infrastructure.CimInstance#ROOT/StandardCimv2/MSFT_NetQosTrafficClassSettingData

    Microsoft.Management.Infrastructure.CimInstance オブジェクトは、Windows Management Instrumentation (WMI) オブジェクトを表示するラッパー クラスです。シャープ記号 (#) の後のパスは、基になる WMI オブジェクトの名前空間とクラス名です。
    The MSFT_NetQosTrafficClassSettingData object contains a network traffic class.

EXAMPLE 1

Create a traffic class for traffic tagged with the 802.1p value of 3. This traffic class, named as SMB, has 60 percent of the entire bandwidth.

PS C:\> New-NetQosTrafficClass –Name "SMB" -Priority 3 -Algorithm ETS -BandwidthPercentage 60

関連トピック

Get-NetQosTrafficClass

Set-NetQosTrafficClass