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 

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

PowerSwitch N2000 Series, PowerSwitch N3000 Series
Article Properties
Article Number: 000116368
Article Type: How To
Last Modified: 26 Feb 2024
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.