實例解析BGP基本配置之路由反射器(2)
作者:佚名
本文通過一個案例介紹了BGP基本配置中路由反射器的配置過程,希望通過以下的介紹,大家能夠有所收獲。
路由反射器基本配置之RA
- RA#sh run
- !
- !interface Loopback0
- ip address 1.1.1.1 255.255.255.0
- !
- interface Serial0
- ip address 192.1.1.1 255.255.255.0
- !
- router bgp 100
- no synchronization
- bgp log-neighbor-changes
- network 1.1.1.0 mask 255.255.255.0
- neighbor 192.1.1.2 remote-as 200
- no auto-summary
- !
路由反射器基本配置之RB
- RB#sh run
- !
- interface Loopback0
- ip address 2.2.2.2 255.255.255.0
- !
- interface Ethernet0
- ip address 193.1.1.1 255.255.255.0
- !
- interface Serial0
- ip address 192.1.1.2 255.255.255.0
- clockrate 64000
- !
- router ospf 1 //在RB上啟動OSPF
- network 0.0.0.0 255.255.255.255 area 0 //宣告所有與RB相連的網(wǎng)絡
- !
- router bgp 200
- no synchronization
- network 2.2.2.0 mask 255.255.255.0
- neighbor 192.1.1.1 remote-as 100
- neighbor 193.1.1.2 remote-as 200
- no auto-summary
- !
#p#
路由反射器基本配置之RC
- RC#sh run
- !
- interface Loopback0
- ip address 3.3.3.3 255.255.255.0
- !
- interface Ethernet0
- ip address 193.1.1.2 255.255.255.0
- !
- interface Serial0
- ip address 194.1.1.1 255.255.255.0
- clock rate 64000
- !
- router ospf 1
- log-adjacency-changes
- network 0.0.0.0 255.255.255.255 area 0 // 同RB
- !
- router bgp 200
- no synchronization
- bgp log-neighbor-changes
- network 3.3.3.0 mask 255.255.255.0
- neighbor 193.1.1.1 remote-as 200
- neighbor 194.1.1.2 remote-as 200
- no auto-summary
- !
路由反射器基本配置之RD
- RD#sh run
- interface Serial0
- ip address 194.1.1.2 255.255.255.0
- !
- router ospf 1 //同RB
- log-adjacency-changes
- network 0.0.0.0 255.255.255.255 area 0
- !
- router bgp 200
- no synchronization
- bgp log-neighbor-changes
- neighbor 194.1.1.1 remote-as 200
- no auto-summary
- !
路由反射器基本配置就介紹完了,下一節(jié)我們將會介紹:BGP的檢查配置
【編輯推薦】
責任編輯:佚名
來源:
網(wǎng)絡轉(zhuǎn)載