实验拓扑:
R1——R7——R3
分别用串口连接
配置如下:
R7:
hostname r7
interface Loopback0
ip address 116.83.25.1 255.255.255.0
interface Loopback1
ip address 116.83.26.1 255.255.255.0
!
interface Ethernet0
no ip address
!
interface Serial0
ip address 192.168.54.5 255.255.255.252
encapsulation ppp
no fair-queue
!
interface Serial1
ip address 192.168.54.1 255.255.255.252
encapsulation ppp
!
router bgp 15210
network 192.168.54.0
neighbor 192.168.54.2 remote-as 15210
neighbor 192.168.54.2 route-reflector-client
配置充当反射客户端的每个邻居.
neighbor 192.168.54.6 remote-as 15210
建立BGP对等体关系
neighbor 192.168.54.6 route-reflector-client
no auto-summary
!
R2:
hostname r2
interface Loopback0
ip address 10.1.1.1 255.255.255.0
!
Router bgp 15210
bgp log-neighbor-changes
network 10.1.1.0 mask 255.255.255.0
network 192.168.54.0 mask 255.255.255.0
neighbor 192.168.54.1 remote-as 15210
no auto-summary
R3:
router bgp 15210
no synchronization
bgp log-neighbor-changes
network 192.168.54.0 mask 255.255.255.0
neighbor 192.168.54.5 remote-as 15210
no auto-summary
Powered by Invision Community Blog (http://www.invisionblog.com)
© Invision Power Services (http://www.invisionpower.com)