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

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


15.3.1 L2-VPNにおけるQoS制御

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

(1) 設定内容の概要

ユーザ優先度とMPLS ShimヘッダのEXP値の連携を行うことによって,QoS制御を行う例(本装置A側から本装置C側に流れるトラフィックに対する例)を示します。

(2) 構成図と設定条件

[構成図]

図15-8 構成図

[図データ]

[設定条件]
  1. ここでは,MPLS網によるQoS制御の基本設定についてだけ記述します。
    MPLS関連の設定については,「14. MPLS関連の設定例【OP-MPLS】」を参照してください。

<本装置A>
パケット受信時にユーザ優先度によりフローを検出し,EXP値,出力優先度,キューイング優先度を決定します。

表15-14 本装置Aの設定条件

インタ
フェース名
inbound
/outbound
ユーザ優先 EXP値 出力優先度 キューイング優先度
Office1 inbound 7 1 5 4
上記以外 2 4 4
Office2 inbound 7 3 3 4
6 4 2 4
上記以外 7 1 4

<本装置B>
パケット受信時にEXP値によりフローを検出し,出力優先度,キューイング優先度を決定します。

表15-15 本装置Bの設定条件

インタフェース名 inbound/outbound EXP値 出力優先度 キューイング優先度
routerB1 inbound 1 5 4
2 4 4
3 3 4
4 2 4
7 1 4

<本装置C>
パケット受信時にユーザ優先度によりフローを検出し,出力優先度,キューイング優先度を決定します。

表15-16 本装置Cの設定条件

インタフェース名 inbound/outbound ユーザ優先度 出力優先度 キューイング優先度
routerC1 inbound 7 5 4
6 4 4
5 3 4
2 2 4
上記以外 1 4

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

[コマンドによる設定]
 1    (config)# flow qos Office1 in
      [flow qos Office1 in]
 2    (config)# list 10 mac any any user_priority 7 action replace_exp 1 
                priority 5 discard 4
      [flow qos Office1 in]
 3    (config)# list 20 mac any any action replace_exp 2 priority 4 
                discard 4
      [flow qos Office1 in]
 4    (config)# exit
 5    (config)# flow qos Office2 in
      [flow qos Office2 in]
 6    (config)# list 10 mac any any user_priority 7 action replace_exp 3 
                priority 4 discard 4
      [flow qos Office2 in]
 7    (config)# list 20 mac any any user_priority 6 action replace_exp 4 
                priority 3 discard 4
      [flow qos Office2 in]
 8    (config)# list 30 mac any any action replace_exp 7 priority 1 
                discard 4
      [flow qos Office2 in]
 9    (config)# exit
10    (config)# flow yes

表15-17 本装置Aのコンフィグレーション解説

解説番号 解説
1 インタフェース名Office1のinbound(受信側)にQoSフロー情報を設定します。flow qos inモードに移行します。
2 ユーザ優先度=7のパケットをEXP書き換え値=7,出力優先度=5,キューイング優先度=4によりQoS制御を設定します.
3 ユーザ優先度=6のパケットをEXP書き換え値=6,出力優先度=4,キューイング優先度=4によりQoS制御を設定します。
4 flow qos inモードからグローバルコンフィグモードに戻ります。
5 インタフェース名称Office2のinbound(受信側)にQoSフロー情報を設定します。flow qos inモードに移行します。
6 ユーザ優先度=7のパケットをEXP書き換え値=5,出力優先度=3,キューイング優先度=4によりQoS制御を設定します。
7 ユーザ優先度=5のパケットをEXP書き換え値=2,出力優先度=2,キューイング優先度=4によりQoS制御を設定します。
8 上記以外のユーザ優先度のパケットをEXP書き換え値=1,出力優先度=1,キューイング優先度=4によりQoS制御を設定します。
9 flow qos inモードからグローバルコンフィグモードに戻ります。
10 フロー制御機能を使用する設定にします。

[コンフィグレーションの表示]
flow yes
flow qos Office1 in
  list 10 mac any any user_priority 7 action replace_exp 1 priority 5 discard 4
  list 20 mac any any action replace_exp 2 priority 4 discard 4
flow qos Office2 in
  list 10 mac any any user_priority 7 action replace_exp 3 priority 3 discard 4
  list 20 mac any any user_priority 5 action replace_exp 4 priority 1 discard 4
  list 30 mac any any action replace_exp 7 priority 1 discard 4

[コマンドによる設定]
 1    (config)# flow qos routerB1 in
      [flow qos routerB1 in]
 2    (config)# list 10 shim exp 1 action priority 5 discard 4
      [flow qos routerB1 in]
 3    (config)# list 20 shim exp 2 action priority 4 discard 4
      [flow qos routerB1 in]
 4    (config)# list 30 shim exp 3 action priority 3 discard 4
      [flow qos routerB1 in]
 5    (config)# list 40 shim exp 4 action priority 2 discard 4
      [flow qos routerB1in]
 6    (config)# list 50 shim exp 7 action priority 1 discard 4
      [flow qos routerB1 in]
 7    (config)# exit
 8    (config)# flow yes

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

解説番号 解説
1 インタフェース名routerB1のinbound(受信側)にQoSフロー情報を設定します。flow qos inモードに移行します。
2 EXP値=1のパケットを出力優先度=5,キューイング優先度=4によりQoS制御を設定します。
3 EXP値=2のパケットを出力優先度=4,キューイング優先度=4によりQoS制御を設定します。
4 EXP値=3のパケットを出力優先度=3,キューイング優先度=4によりQoS制御を設定します。
5 EXP値=4のパケットを出力優先度=2,キューイング優先度=4によりQoS制御を設定します。
6 EXP値=7のパケットを出力優先度=1,キューイング優先度=4によりQoS制御を設定します。
7 flow qos inモードからグローバルコンフィグモードに戻ります。
8 フロー制御機能を使用する設定にします。

[コンフィグレーションの表示]
flow yes
flow qos routerB1 in
  list 10 shim exp 1 action priority 5 discard 4
  list 20 shim exp 2 action priority 4 discard 4
  list 30 shim exp 3 action priority 3 discard 4
  list 40 shim exp 4 action priority 2 discard 4
  list 50 shim exp 7 action priority 1 discard 4

[コマンドによる設定]
 1    (config)# flow qos routerC1 in
      [flow qos routerC1 in]
 2    (config)# list 10 mac any any user_priority 7 action priority 5 
                discard 4
      [flow qos routerC1 in]
 3    (config)# list 20 mac any any user_priority 6 action priority 4 
                discard 4
      [flow qos routerC1 in]
 4    (config)# list 30 mac any any user_priority 5 action priority 3 
                discard 4
      [flow qos routerC1 in]
 5    (config)# list 40 mac any any user_priority 2 action priority 2 
                discard 4
      [flow qos routerC1 in]
 6    (config)# list 50 mac any any action priority 1 discard 4
      [flow qos routerC1 in]
 7    (config)# exit
 8    (config)# flow yes

表15-19 本装置Cのコンフィグレーション解説

解説番号 解説
1 インタフェース名routerC1のinbound(受信側)にQoSフロー情報を設定します。flow qos inモードに移行します。
2 ユーザ優先度=7のパケットを出力優先度=5,キューイング優先度=4によりQoS制御を設定します。
3 ユーザ優先度=6のパケットを出力優先度=4,キューイング優先度=4によりQoS制御を設定します。
4 ユーザ優先度=5のパケットを出力優先度=3,キューイング優先度=4によりQoS制御を設定します。
5 ユーザ優先度=2のパケットを出力優先度=2,キューイング優先度=4によりQoS制御を設定します。
6 上記以外のユーザ優先度のパケットを出力優先度=1,キューイング優先度=4によりQoS制御を設定します。
7 flow qos inモードからグローバルコンフィグモードに戻ります。
8 フロー制御機能を使用する設定にします。

[コンフィグレーションの表示]
flow yes
flow qos routerC1 in
  list 10 mac any any user_priority 7 action priority 5 discard 4
  list 20 mac any any user_priority 6 action priority 4 discard 4
  list 30 mac any any user_priority 5 action priority 3 discard 4
  list 40 mac any any user_priority 2 action priority 2 discard 4
  list 50 mac any any action priority 1 discard 4

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


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

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