首页 > 其他 > 详细

BGP-As-Path-2

时间:2018-01-22 19:07:29      阅读:312      评论:0      收藏:0      [点我收藏+]
BGP-As-Path-2
如图在AS100进入方向是添加AS!

技术分享图片

R1的配置

bgp 100
peer 2.2.2.2 as-number 200
peer 2.2.2.2 ebgp-max-hop 255
peer 2.2.2.2 connect-interface LoopBack0
peer 3.3.3.3 as-number 200
peer 3.3.3.3 ebgp-max-hop 255
peer 3.3.3.3 connect-interface LoopBack0
group as200 internal

ipv4-family unicast
undo synchronization
network 100.1.1.0 255.255.255.0
network 100.1.2.0 255.255.255.0
peer 2.2.2.2 enable
peer 2.2.2.2 route-policy 10 import
peer 3.3.3.3 enable
peer as200 enable

route-policy 10 permit node 10
if-match acl 2000
apply as-path 200 200 additive
route-policy 10 permit node 20

R1路由表
技术分享图片

R1路由表60网络详细信息
技术分享图片

BGP-As-Path-2

原文:http://blog.51cto.com/9616635/2063766

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!