Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products

Dell Networking Nシリーズ スイッチでsFlowを設定する方法

Summary: OS6を実行しているDell Networking Nシリーズ スイッチでSflowを設定する方法。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

この記事では、OS6を実行しているDell Networking Nシリーズ スイッチでsFlowを設定および検証する方法について説明します。

索引

概要

sFlowテクノロジー:sFlowは、高速のスイッチ/ルーター ネットワークをモニタリングするための業界標準のテクノロジーです。Dell Networking Nシリーズ スイッチ ソフトウェアには、各ポートのネットワーク トラフィックを監視し、sFlowレシーバー(コレクターとも呼ばれる)にsFlowデータを生成できるsFlowエージェントが統合されています。

Nシリーズ スイッチのsFlowのデフォルト:
 

パラメータ

デフォルト値

レシーバー ポート

6343

レシーバーの最大データグラム サイズ

1400バイト

最大ヘッダー サイズ

128バイト


Configuration


スイッチでsFlowを設定するには、次のコマンドを入力します。
 

console> enable

特権モードに入ります。

console# configure

設定モードに入ります。

console(config)# sflow destination

sFlowレシーバのアドレスと(オプションで)sFlowデータグラムの宛先UDPポートを設定します。

console(config)# sflow destination owner timeout

受信側の ID ストリングを指定し、受信側タイムアウト値を設定します。

timeout - 設定が自動的にクリアされるまでの有効な秒数です。「0」の値は基本的に、レシーバーが設定されていないことを意味します。

console(config)# sflow polling

インターフェイス範囲で新しいsFlowポーラー インスタンスを有効にします。

console(config)# sflow sampling

指定したインターフェイス範囲の新しいsFlowサンプラー インスタンスを
有効にします。
 

 

サンプル設定

次は、10ギガ ポート1から4までのインターフェイスでポーリングとサンプリングを行うスイッチ上のsFlowの設定例を示しています。

この例では、次の入力値を使用します。

sFlowレシーバーのIPアドレス -- 192.168.2.1
所有者文字列 -- SFLOW_EXAMPLE
レシーバー インデックス -- 1
ポーリング間隔 -- 30(ポーリング間隔:sFlowインスタンスのポーリング間隔。値「n」は、n秒に1回カウンター サンプルが生成されることを意味します。(範囲:0~86400))
サンプリング レート -- 1204(サンプリングレート:この送信元からのパケット サンプリングの統計的サンプリング レート。サンプリング レートを1にすると、すべてのパケットがカウントされます。値 n は、n 個の着信パケットのうち 1 個のパケットがサンプリングされることを意味します (範囲: 1024~65536))。

console> enable
console# configure
console(config)# sflow 1 destination 192.168.2.1
console(config)# sflow 1 destination owner SFLOW_EXAMPLE timeout 10000
console(config)# sflow 1 polling gi1/0/1-4 30
console(config)# sflow 1 sampling gi1/0/1-4 1024


設定の確認

設定を確認するには、次のコマンドを使用します。

console# show sflow 1 destination

Receiver Index.................... 1
Owner String...................... SFLOW_EXAMPLE
Time out.......................... 10000
IP Address:....................... 192.168.2.1
Address Type...................... 1
Port.............................. 6343
Datagram Version.................. 5
Maximum Datagram Size............. 1400

console# show sflow 1 polling
Poller Receiver Poller
Data Source Index Interval
----------- ------- -------
Te1/0/1     1     30
Te1/0/2     1     30
Te1/0/3     1     30
Te1/0/4     1     30


console# show sflow 1 sampling
Sampler Receiver Packet Max Header
Data Source Index Sampling Rate Size
----------- ------- ------------- ----------
Te1/0/1            1      1024        128
Te1/0/2            1      1024        128
Te1/0/3            1      1024        128
Te1/0/4            1      1024        128

 

Affected Products

N Series, PowerSwitch N1100-ON Series, PowerSwitch N1500 Series, PowerSwitch N2000 Series, PowerSwitch N2100 Series, PowerSwitch N2200-ON Series, PowerSwitch N3000 Series, Dell EMC PowerSwitch N3000E-ON Series, Dell EMC PowerSwitch N3100 Series , PowerSwitch N4000 Series ...
Article Properties
Article Number: 000116368
Article Type: How To
Last Modified: 24 Mar 2025
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.