show sflow
sFlow統計についてのコンフィグレーション設定状態と動作状況を表示します。
[入力形式]
show sflow [detail]
[入力モード]
一般ユーザモードおよび装置管理者モード
[パラメータ]
- detail
-
sFlow統計情報の設定状態と動作状況の詳細情報を表示します。
[スタック構成時の運用]
マスタスイッチからスタックを構成しているすべてのメンバスイッチを対象にコマンドを実行します。
なお,remote commandコマンドも使用できます。
remote command {<switch no.> | all} show sflow [detail]
[実行例]
> show sflow Date 20XX/01/26 20:04:01 UTC sFlow service status: enable Progress time from sFlow statistics cleared: 8:00:05 sFlow agent data : sFlow service version : 4 CounterSample interval rate: 60 seconds Default configured rate: 1 per 2048 packets Default actual rate : 1 per 2048 packets Configured sFlow ingress ports : 1/0/2-4 Configured sFlow egress ports : ---- Received sFlow samples : 37269 Dropped sFlow samples : 2093 Exported sFlow samples : 37269 Couldn't export sFlow samples : 0 Overflow time of sFlow queue : 0 seconds sFlow collector data : Collector IP address: 192.168.4.199 UDP:6343 Source IP address: 130.130.130 .1 Send FlowSample UDP packets : 12077 Send failed packets: 0 Send CounterSample UDP packets: 621 Send failed packets: 0 Collector IP address: 192.168.4.203 UDP:65535 Source IP address: 130.130.13 0.1 Send FlowSample UDP packets : 12077 Send failed packets: 0 Send CounterSample UDP packets: 621 Send failed packets: 0 |
> show sflow detail Date 20XX/01/26 20:04:01 UTC sFlow service status: enable Progress time from sFlow statistics cleared: 8:00:05 sFlow agent data : sFlow service version : 4 CounterSample interval rate: 60 seconds Default configured rate: 1 per 2048 packets Default actual rate : 1 per 2048 packets Configured sFlow ingress ports : 1/0/2-4 Configured sFlow egress ports : ---- Received sFlow samples : 37269 Dropped sFlow samples : 2093 Exported sFlow samples : 37269 Couldn't export sFlow samples : 0 Overflow time of sFlow queue : 0 seconds sFlow collector data : Collector IP address: 192.168.4.199 UDP:6343 Source IP address: 130.130.130 .1 Send FlowSample UDP packets : 12077 Send failed packets: 0 Send CounterSample UDP packets: 621 Send failed packets: 0 Collector IP address: 192.168.4.203 UDP:65535 Source IP address: 130.130.13 0.1 Send FlowSample UDP packets : 12077 Send failed packets: 0 Send CounterSample UDP packets: 621 Send failed packets: 0 Detail data : Max packet size: 1400 bytes Packet information type: header Max header size: 128 bytes Extended information type: switch,router,gateway,user,url Url port number: 80,8080 Sampling mode: random-number Sampling rate to collector: 1 per 2163 packets Target ports for CounterSample: 1/0/2-4 |
[表示説明]
表示項目 |
表示内容 |
---|---|
sFlow service status |
sFlow統計の現在の動作状況 (対象となるポートが指定されていない場合はdisableと表示) |
Progress time from sFlow statistics cleared |
sFlow統計が開始してからの経過時間,または最後にclear sflow statisticsコマンドが実行されてからの経過時間※1 hh:mm:ss:(24時間以内の場合:hh=時,mm=分,ss=秒) D day:(24時間を超えた場合:D=日数) |
sFlow service version |
sFlowパケットのバージョン |
CounterSample interval rate |
カウンタサンプルの送信間隔(秒) |
Default configured rate |
コンフィグレーションで設定された装置全体のサンプリング間隔 |
Default actual rate |
実際の装置全体のサンプリング間隔 |
Configured sFlow ingress ports |
コンフィグレーションで"sflow forward ingress"が設定されたsFlow統計を収集しているポート※2 |
Configured sFlow egress ports |
コンフィグレーションで"sflow forward egress"が設定されたsFlow統計を収集しているポート※2 |
Received sFlow samples |
正常にサンプリングされたパケット総数※3 |
Dropped sFlow samples |
装置内部で優先的な処理があった場合や,処理能力以上の通知があった場合に,ソフトウェア内のsFlow統計処理待ちキューに積めずに廃棄したパケット総数※3 (ハードウェア内のsFlow統計処理待ちキューに積めずに廃棄した数は含まれません) |
Exported sFlow samples |
コレクタへ送信したUDPパケットに含まれるサンプルパケット総数※3 |
Couldn't export sFlow samples |
送信に失敗したUDPパケットに含まれるサンプルパケット総数※3 |
Overflow time of sFlow queue |
clear sflow statisticsコマンドが実行されてからのsFlow統計処理待ちキューが満杯状態だった時間(秒)※4 本値が増えている場合はサンプリング間隔を調整してください。 |
Collector IP address |
コンフィグレーションにて設定されているコレクタのIPアドレス |
UDP |
UDPポート番号 |
Source IP address |
コレクタへ送信時に,エージェントIPとして使用しているアドレス |
Send FlowSample UDP packets |
コレクタへ送信したフローサンプルのUDPパケット数※3 |
Send failed packets |
コレクタへ送信できなかったUDPパケット数※3 |
Send CounterSample UDP packets |
コレクタへ送信したカウンタサンプルのUDPパケット数※3 |
Max packet size |
sFlowパケットの最大サイズ |
Packet information type |
フローサンプルの基本データ形式 |
Max header size |
基本データ形式でヘッダ型を使用する場合のサンプルパケットの最大サイズ |
Extended information type |
フローサンプルの拡張データ形式 |
Url port number |
拡張データ形式でURL情報を使用する場合に,HTTPパケットと判断するポート番号 |
Sampling mode |
サンプリングの方式 |
random-number |
サンプリング間隔に従った確率(乱数)で収集 |
Sampling rate to collector |
廃棄が発生しない推奨サンプリング間隔※4 現在のサンプリング間隔に問題がある場合に妥当な値を表示します。コンフィグレーションで設定された値より小さくなることはありません。 サンプリング間隔を変更した場合は,clear sflow statisticsコマンドを実行してください。実行するまで正しい値で表示されない場合があります。 |
Target ports for CounterSample |
カウンタサンプルの対象ポート |
- 注※1
-
スタック構成時は次のようになります。
-
バックアップスイッチは0:00:00を表示します。
-
バックアップスイッチがマスタスイッチに切り替わった場合,切り替わってからの経過時間になります。
-
- 注※2
-
設定したポートがない場合,“----”を表示します。
- 注※3
-
スタック構成時は次のようになります。
-
すべてのパケットをマスタスイッチでカウントします。バックアップスイッチは0を表示します。
-
バックアップスイッチがマスタスイッチに切り替わった場合,0からカウントします。
-
- 注※4
-
指定したメンバスイッチの情報を表示します。
[通信への影響]
なし
[応答メッセージ]
メッセージ |
内容 |
---|---|
Can't execute. |
コマンドを実行できません。再実行してください。 |
sflow doesn't seem to be running. |
フロー統計プログラムが起動していないため,コマンドが失敗しました。sFlow統計が有効になっているにもかかわらずこのメッセージが出る場合は,フロー統計プログラムの再起動を待って,コマンドを再実行してください。 |
Switch <switch no.> was deleted from stack. |
メンバスイッチはスタック構成から削除されました。 <switch no.>:スイッチ番号 |
[注意事項]
パケット数や統計情報カウンタが最大値(32bitカウンタ)を超えた場合,0に戻ります。
IPアドレスやポートがコンフィグレーションで設定されていない場合は"----"と表示します。