详细介绍RFC1966文档。
实验拓扑:
R1——R7——R3
分别用串口连接
配置如下:
R7:
hostname r7 interface Loopback0 ip address 116.83.25.1 255.255.255.0interface Loopback1 ip address 116.83.26.1 255.255.255.0 !interface Ethernet0 no ip address !interface Serial0ip 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.0neighbor 192.168.54.2 remote-as 15210neighbor 192.168.54.2 route-reflector-client配置充当反射客户端的每个邻居.neighbor 192.168.54.6 remote-as 15210建立BGP对等体关系neighbor 192.168.54.6 route-reflector-clientno auto-summary!
R2:
hostname r2 interface Loopback0 ip address 10.1.1.1 255.255.255.0 !Router bgp 15210bgp log-neighbor-changesnetwork 10.1.1.0 mask 255.255.255.0network 192.168.54.0 mask 255.255.255.0neighbor 192.168.54.1 remote-as 15210no auto-summary
R3:
router bgp 15210no synchronizationbgp log-neighbor-changesnetwork 192.168.54.0 mask 255.255.255.0neighbor 192.168.54.5 remote-as 15210no auto-summary