コンフィグレーションガイド Vol.2


24.3.3 sFlow統計機能の運用中の確認

本装置でsFlow統計機能を使用した場合,運用中の確認内容には次のものがあります。

〈この項の構成〉

(1) sFlowパケット廃棄数の確認

show sflowコマンドを実行してsFlow統計情報を表示し,sFlow統計機能でDropped sFlow samples(廃棄しているパケット数)やOverflow Time of sFlow Queue(廃棄パケット時間)を確認してください。どちらかの値が増加する場合は,増加しないサンプリング間隔を設定してください。

図24‒10 show sflowコマンドの実行結果
> show sflow
Date 20XX/12/13 14:10:32 UTC
sFlow service status: enable
Progress time from sFlow statistics cleared:  16: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 :  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: 12 seconds                                …1
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.130.1
  Send FlowSample UDP packets   : 12077  Send failed packets:     0
  Send CounterSample UDP packets:   621  Send failed packets:     0
  1. 廃棄パケット時間が増加している場合,サンプリング間隔の設定を見直してください。

(2) CPU使用率の確認

show cpuコマンドを実行してCPU使用率を表示し,負荷を確認してください。CPU使用率が高い場合は,コンフィグレーションコマンドsflow sampleでサンプリング間隔を再設定してください。

図24‒11 show cpuコマンドの実行結果
>show cpu minutes 
Date 20XX/12/13 14:15:37 UTC
*** minute ***
date    time              cpu average
Dec 13  14:42:00-14:42:59     6
Dec 13  14:43:00-14:43:59    20
                   :
                   :
Dec 13  15:41:00-15:41:59    10                …1
  1. CPU使用率が高くなっている場合,サンプリング間隔の設定を見直してください。