RTシリーズとCISCOルータの相互接続のための設定例集
帯域制御の使用
| 新規作成日 | 2001/Jun/28 |
| 最終変更日 | 2018/Nov/06 |
| 文書サイズ | 5.6KB |
帯域制御の使用
[ 帯域制御の使用 ]
PC2(Client)
|
------+------ 172.16.1.0/24
|.254
+---------+
|Cisco1601| IOS 12.1(6)
+---------+
:
:
専用線(64kbit/s)
:
:
+---------+
| RT103i | Rev4.00.44
+---------+
|.254
------+------ 192.168.1.0/24
|
PC1(Server)
|
console prompt RT103i:
pp
line l64 queue class filter 1 1 ip * * tcp www * .............. *1 queue class filter 2 2 ip * * tcp 21 * ............... *1 queue class filter 3 2 ip * * tcp ftpdata * .......... *1 ip lan address 192.168.1.254/24 pp select leased ip pp routing protocol rip2 ip pp rip connect send interval ip pp rip connect interval 30 pp queue type cbq .................................... *2 pp queue default class 3 ............................. *3 pp queue class filter list 1 2 3 ..................... *4 pp queue class property 1 bandwidth=50% .............. *5 pp queue class property 2 bandwidth=25% .............. *5 pp queue class property 3 bandwidth=25% .............. *5 pp enable leased |
| *1 | サービス毎に異なるキューを割り当てます。 |
| *2 | BRIインタフェースに対し帯域制御を設定します。 |
| *3 | "*1"で指定されないサービスについてキューを割り当てます。 |
| *4 | "*1"で割り当てられたキュー設定を有効にします。 |
| *5 | 各キューの帯域を設定します。 |
hostname C1601 ! ip subnet-zero no ip domain-lookup ! isdn switch-type ntt isdn leased-line BRI0 ! interface Ethernet0 ip address 172.16.1.254 255.255.255.0 ! interface BRI0 no ip address shutdown ! interface BRI0:1 ip unnumbered Ethernet0 encapsulation ppp custom-queue-list 1 ................................. *6 ! interface BRI0:2 no ip address no fair-queue ! router rip version 2 network 172.16.0.0 no auto-summary ! queue-list 1 protocol ip 1 tcp www ................... *7 queue-list 1 protocol ip 2 tcp ftp ................... *7 queue-list 1 protocol ip 2 tcp ftp-data .............. *7 queue-list 1 default 3 ............................... *8 queue-list 1 queue 1 byte-count 4000 ................. *9 queue-list 1 queue 2 byte-count 2000 ................. *9 queue-list 1 queue 3 byte-count 2000 ................. *9 |
| *6 | BRIインタフェースに対し帯域制御を設定します。 |
| *7 | サービス毎に優先度の異なるキューを割り当てます。 |
| *8 | "*7"で指定されないサービスについてキューを割り当てます。 |
| *9 |
各キューの帯域(単位時間毎の送出限度をバイト数表記)を設定します。 (64kbit/s=8000byte/s → 50% = 4000byte , 25% = 2000byte) |
|
|