RTシリーズとCISCOルータの相互接続のための設定例集
帯域制御の使用
新規作成日 | 2002/Jun/21 |
最終変更日 | 2002/Jun/21 |
文書サイズ | 7kB |
帯域制御の使用
[ 帯域制御の使用 ]
PC2(Client) | ------+------ 172.16.1.0/24 |.254 +---------+ |Cisco3640| IOS 12.2(8)T +---------+ : : 専用線(64kbit/s) : : +---------+ | RT105i | Rev6.03.08 +---------+ |.254 ------+------ 192.168.1.0/24 | PC1(Server) |
line type bri1 l64 pp select 1 pp bind bri1 speed pp 64000 queue pp type cbq .................................... *1 queue pp default class 3 ............................. *2 queue pp class filter list 1 2 3 ..................... *3 queue pp class property 1 bandwidth=50% .............. *4 queue pp class property 2 bandwidth=25% .............. *4 queue pp class property 3 bandwidth=25% .............. *4 ip pp rip send on version 2 ip pp rip connect send interval ip pp rip connect interval 30 pp enable 1 rip use on queue class filter 1 1 ip * * tcp www * .............. *5 queue class filter 2 2 ip * * tcp ftp * .............. *5 queue class filter 3 2 ip * * tcp ftpdata * .......... *5 |
*1 | BRIインタフェースに対し帯域制御を設定します。 |
*2 | "*5"で指定されないサービスについてキューを割り当てます。 |
*3 | "*5"で割り当てられたキュー設定を有効にします。 |
*4 | 各キューの帯域を設定します。 |
*5 | サービス毎に異なるキューを割り当てます。 |
hostname Cisco3640 ! ip subnet-zero no ip domain-lookup ! isdn switch-type ntt isdn leased-line BRI3/0 ! interface FastEthernet0/0 ip address 172.16.1.254 255.255.255.0 ! interface BRI3/0 no ip address shutdown ! interface BRI3/0:1 ip unnumbered FastEthernet0/0 encapsulation ppp custom-queue-list 1 ................................. *6 ! interface BRI3/0:2 no ip address shutdown ! 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) |
|