路由反射器基本配置之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相连的网络
- !
- 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
- !
路由反射器基本配置就介绍完了,下一节我们将会介绍:BGP的检查配置
【编辑推荐】