欢迎来到天天文库
浏览记录
ID:38978399
大小:23.91 KB
页数:3页
时间:2019-06-22
《BGP 环回口建邻居》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、BGP实验.使用环回口建立邻居 R1配置routerbgp1 nosynchronization bgprouter-id1.1.1.1 bgplog-neighbor-changes network1.1.1.0mask255.255.255.0(宣告路由表中存在的路由条目) neighbor12.1.1.2remote-as2(使用接口地址建立邻居) noauto-summaryR2配置routerospf100 router-id2.2.2.2 log-adjacency-changes network2.2.
2、2.20.0.0.0area0 network23.1.1.10.0.0.0area0routerbgp2 nosynchronization bgprouter-id2.2.2.2 bgplog-neighbor-changes network2.2.2.0mask255.255.255.0 neighbor3.3.3.3remote-as2 neighbor3.3.3.3update-sourceLoopback0(使用LO0地址建立邻居) neighbor3.3.3.3next-hop-self neighbor
3、4.4.4.4remote-as2 neighbor4.4.4.4update-sourceLoopback0 neighbor4.4.4.4next-hop-self neighbor12.1.1.1remote-as1 noauto-summary R3配置routerospf100 router-id3.3.3.3 log-adjacency-changes network3.3.3.30.0.0.0area0 network23.1.1.20.0.0.0area0 network34.1.1.10.0.0.0a
4、rea0routerbgp2 nosynchronization bgprouter-id3.3.3.3 bgplog-neighbor-changes network3.3.3.0mask255.255.255.0 network23.1.1.0mask255.255.255.0 network34.1.1.0mask255.255.255.0 neighbor2.2.2.2remote-as2 neighbor2.2.2.2update-sourceLoopback0 neighbor4.4.4.4remote-a
5、s2 neighbor4.4.4.4update-sourceLoopback0 noauto-summaryR4配置routerospf100 router-id4.4.4.4 log-adjacency-changes network4.4.4.40.0.0.0area0 network34.1.1.20.0.0.0area0routerbgp2 nosynchronization bgprouter-id4.4.4.4 bgplog-neighbor-changes network4.4.4.0mask255.2
6、55.255.0 neighbor2.2.2.2remote-as2 neighbor2.2.2.2update-sourceLoopback0 neighbor2.2.2.2next-hop-self neighbor3.3.3.3remote-as2 neighbor3.3.3.3update-sourceLoopback0 neighbor3.3.3.3next-hop-self neighbor5.5.5.5remote-as3 neighbor5.5.5.5ebgp-multihop255 neighbor5
7、.5.5.5update-sourceLoopback0 noauto-summaryiproute5.5.5.0255.255.255.045.1.1.2(注意底层可达性) R5配置routerbgp3 nosynchronization bgprouter-id5.5.5.5 bgplog-neighbor-changes network5.5.5.0mask255.255.255.0 neighbor4.4.4.4remote-as2 neighbor4.4.4.4ebgp-multihop255(EBGP邻居多
8、跳TTL默认为1,但是1条明显不可达所以我们的改动,配置默认为255,IBGP没有多跳) neighbor4.4.4.4update-sourceLoopback0 noauto-summaryiproute4.4.4.0255.255.255.045.1.1.1(注意底层可达性) 注意:两个EBGP邻居使用一定要注意底层可达性
此文档下载收益归作者所有