RTシリーズとCISCOルータの相互接続のための設定例集
BGP-4の使用
新規作成日 | 2002/Jun/26 |
最終変更日 | 2002/Jun/26 |
文書サイズ | 6kB |
BGP-4の使用
[ BGP-4の使用 ]
PC2 | ------+------ 172.16.1.0/24 |.254 +---------+ |Cisco3640| IOS 12.2(8)T +---------+ : : AS:200 ----専用線(64kbit/s)-------------------- : AS:100 : +---------+ | RT105i | Rev6.03.08 +---------+ |.254 ------+------ 192.168.1.0/24 | PC1 |
console prompt RT105i: ip lan1 address 192.168.1.254/24 line type bri1 l64 pp select 1 pp bind bri1 ip pp address 10.1.1.1/24 ip pp remote address 10.1.1.2 pp enable 1 bgp use on ...................................... *1 bgp autonomous-system 100 ....................... *2 bgp neighbor 1 200 10.1.1.2 ..................... *3 bgp import filter 1 include all ................. *4 bgp import 200 static filter 1 .................. *4 bgp export filter 1 include all ................. *4 bgp export 200 filter 1 ......................... *4 |
*1 | BGP-4機能を有効にします。 |
*2 | 自ルータのAS番号を設定します。 |
*3 | 対向ルータのAS番号とIPアドレスを設定します。 |
*4 | BGP-4にて送受信を許可するネットワーク情報を設定します。 |
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 address 10.1.1.2 255.255.255.0 encapsulation ppp ! interface BRI3/0:2 no ip address shutdown ! router bgp 200 .................................. *5 no synchronization network 172.16.1.0 mask 255.255.255.0 .......... *6 neighbor 10.1.1.1 remote-as 100 ................ *7 no auto-summary |
*5 | BGP-4機能を有効にし、自ルータのAS番号を設定します。 |
*6 | BGP-4機能を動作させるネットワークを指定します。 |
*7 | 対向ルータのAS番号とIPアドレスを設定します。 |
|