欢迎来到天天文库
浏览记录
ID:10019104
大小:102.25 KB
页数:7页
时间:2018-05-21
《bgp peer group对等体组配置》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、BGPPeerGroup对等体组配置拓扑及配置有异于上篇文章在AS1内部起RIP协议,使R1R2R3互通,然后在所有路由器上起BGP协议。对R1只起一个peer-group,把R2 R3放进这个对等体组中。又R2 R3会存在IBGP水平分割,会互相学习不到对方的环回,我们又在R1上做了路由反射器,R2 R3作为客户端。 R1:interfaceLoopback0 ipaddress1.1.1.1255.255.255.0!interfaceSerial0/0 ipaddress14.14.14.1255.255.255.0!interfaceSeria
2、l0/1 ipaddress15.15.15.1255.255.255.0!interfaceSerial0/2 ipaddress12.12.12.1255.255.255.0!interfaceSerial0/3 ipaddress13.13.13.1255.255.255.0!routerrip version2 network1.0.0.0 network12.0.0.0 network13.0.0.0 noauto-summary!routerbgp1 nosynchronization bgprouter-id1.1.1.1 bgplog-n
3、eighbor-changes network1.1.1.0mask255.255.255.0 neighbor as1 peer-group //定义一个peer-group,名为as1 neighbor as1 remote-as1 neighbor as1 update-sourceLoopback0 neighbor as1 route-reflector-client //as1中的路由器都作为路由反射器客户 neighbor as1 next-hop-self neighbor2.2.2.2p
4、eer-groupas1 neighbor3.3.3.3peer-groupas1 neighbor14.14.14.4remote-as4 neighbor15.15.15.5remote-as5 no auto-summary 对于其它四台路由器都是做正常的普通BGP配置:R2:interfaceLoopback0 ipaddress2.2.2.2255.255.255.0!interfaceSerial0/0 ipaddress12.12.12.2255.255.255.0!routerrip version2 network2.0.0.0 ne
5、twork12.0.0.0 noauto-summary!routerbgp1 nosynchronization bgprouter-id2.2.2.2 bgplog-neighbor-changes network2.2.2.0mask255.255.255.0 neighbor1.1.1.1remote-as1 neighbor1.1.1.1update-sourceLoopback0 noauto-summary R3:interfaceLoopback0 ipaddress3.3.3.3255.255.255.0!interfaceSerial
6、0/0 ipaddress13.13.13.3255.255.255.0!routerrip version2 network3.0.0.0 network13.0.0.0 noauto-summary!routerbgp1 nosynchronization bgprouter-id3.3.3.3 bgplog-neighbor-changes network3.3.3.0mask255.255.255.0 neighbor1.1.1.1remote-as1 neighbor1.1.1.1update-sourceLoopback0 noauto-su
7、mmary R4:interfaceLoopback0 ipaddress4.4.4.4255.255.255.0!interfaceSerial0/0 ipaddress14.14.14.4255.255.255.0!routerbgp4 nosynchronization bgprouter-id4.4.4.4 bgplog-neighbor-changes network4.4.4.0mask255.255.255.0 neighbor14.14.14.1remote-as1 noauto-summary R5:interfaceLoopback0
8、 ipaddress5.5.5.5255.255.255.0!interface
此文档下载收益归作者所有