AX620Rで帯域制御を実施!
Last-modified: 2013-08-24 (土) 02:14:21 (3899d)
Top / AX620Rで帯域制御を実施!
AX620Rで帯域制御を実施! †
Alaxalaのルータ、AX620Rでの帯域制御を実施したので、簡単ですがまとめます。
帯域制御の設定 †
帯域制御の設定は、インターフェースごとに設定します。
手順としては、
- コンフィグモードに移行
- 帯域制御を実施したいインターフェースのインターフェースモードに移行
- 帯域制御の有効化
- 実際の設定
という順に進みます。
FastEthernet0/0.0のインターフェースに対して、16Mbpの設定を入れる場合は、以下のように設定します。
router(config)# int eth interface FastEthernet0/0.0 router(config-FastEthernet0/0.0)# router(config-FastEthernet0/0.0)# show running-config interface FastEthernet0/0.0 interface FastEthernet0/0.0 ip address XXX.XXX.XXX.XXX/YY no shutdown router(config-FastEthernet0/0.0)# service-policy enable router(config-FastEthernet0/0.0)# traffic-shape rate 16000000 router(config-FastEthernet0/0.0)# router(config-FastEthernet0/0.0)# show running-config interface FastEthernet0/0.0 interface FastEthernet0/0.0 ip address XXX.XXX.XXX.XXX/YY service-policy enable traffic-shape rate 16000000 no shutdown router(config-FastEthernet0/0.0)#
以上で設定完了!
して、次に帯域制限されていることを確認します。(別記事に詳細は譲ります)
コマンドの詳細 †
各コマンドの詳細は以下のとおり。
- 帯域制御/優先制御の有効設定
service-policy enable
変更対象のインターフェースのインターフェースコンフィグモード状態でこのコマンドを実行すると、対象インターフェースの帯域制御/優先制御を有効化できる。
- インターフェーストラフィックシェーピングの設定
traffic-shape rate CIR [BC [BE]]
指定インターフェースから送信されるトラフィックに対してシェーピング(帯域制限)することが出来る。
各引数の詳細は以下のとおり
引数 | 必須 | 英語の意味 | 設定内容 | 範囲 | 単位 |
CIR | 必須 | committed information rate | 通過を許可する帯域幅 | 8,000~100,000,000 | bps |
BC | 任意 | committed burst rate | 8~100,000,000 | bits | |
BE | 任意 | excess burst rate | 0~100,000,000 | bits |