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

[目次][用語][索引][前へ][次へ]


18.2.3 フロー集約統計の基本設定例(AS集約)

<この項の構成>
(1) 設定内容の概要
(2) 構成図と設定条件
(3) コンフィグレーション例

(1) 設定内容の概要

本装置に流れるトラフィックをAS集約でモニタするNetFlowコンフィグレーションの例を示します。

(2) 構成図と設定条件

[構成図]

図18-7 構成図

[図データ]

[設定条件]
  1. 本装置のポート0/0−0/2に流入するトラフィックをモニタして,その内容をフロー集約統計でコレクタ装置(192.1.1.12)へ送付する基本的な設定を行います。
  2. 隣接AS番号でフロー集約統計(as)とフロー集約統計(prefix-port)を利用する設定を行います。

(3) コンフィグレーション例

[コマンドによる設定]

<本装置>
 1    (config)# netflow yes
      [netflow]
 2    (config)# sample 2048
      [netflow]
 3    (config)# entries 0 3000
      [netflow]
 4    (config)# peer-as
      [netflow]
 5    (config)# flow-aggregation-cache as
      [netflow flow-aggregation-cache as]
 6    (config)# aggregation-entries 2000
      [netflow flow-aggregation-cache as]
 7    (config)# destination 192.1.1.12
      [netflow flow-aggregation-cache as]
 8    (config)# exit
      [netflow]
 9    (config)# flow-aggregation-cache prefix-port
      [netflow flow-aggregation-cache prefix-port]
10    (config)# aggregation-entries 14000
      [netflow flow-aggregation-cache prefix-port]
11    (config)# destination 192.1.1.12
      [netflow flow-aggregation-cache prefix-port]
12    (config)# exit
      [netflow]
13    (config)# port 0/0-2
      [netflow]
14    (config)# exit

表18-7 本装置のコンフィグレーション解説

解説番号 解説
1 NetFlow統計を使用します。
netflowモードに移行します。
2 2048パケット毎にトラフィックをモニタします。
3 フロー統計でPRU0のQoSエントリを3000確保します。
4 隣接AS番号を収集するように指定します。
5 フロー集約統計を使用します。
netflow flow-aggregation-cache asモードに移行します。
6 as集約用にエントリを2000使用します。
7 as集約結果を送るコレクタ装置のIPアドレスを192.1.1.12に指定します。
8 netflow flow-aggregation-cache asモードからnetflowモードに戻ります。
9 フロー集約統計を使用します。
netflow flow-aggregation-cache prefix-portモードに移行します。
10 prefix-port集約用にエントリを14000使用します。
11 prefix-port集約結果を送るコレクタ装置のIPアドレスを192.1.1.12に指定します。
12 netflow flow-aggregation-cache prefix-portモードからnetflowモードに戻ります。
13 ポート0/0,0/1,0/2に対してNetFlow統計によるトラフィックモニタを行います。
14 netflowモードからグローバルコンフィグモードに戻ります。

[コンフィグレーションの表示]

<本装置>
netflow yes 
  sample 2048
  peer-as
  entries 0 3000
  flow-aggregation-cache as
    aggregation-entries 2000
    destination 192.1.1.12
  flow-aggregation-cache prefix-port
    aggregation-entries 14000
    destination 192.1.1.12
  port 0/0-2

[目次][前へ][次へ]


[他社商品名称に関する表示]

Copyright (c)2005, 2011, ALAXALA Networks Corporation. All rights reserved.