51-高级路由:BGP community属性:local-as(路由5620)

网友投稿 342 2022-09-27


51-高级路由:BGP community属性:local-as(路由5620)

三、命令部署:R4(config)#route-map as permit 10R4(config-route-map)#match ip address 10R4(config-route-map)#set community local-asR4(config-route-map)##route-map as permit 1000

R4(config)#router bgp 4R4(config-router)#neighbor 14.1.1.1 route-map as out

四、验证:R1#show ip bgp 4.4.4.4BGP routing table entry for 4.4.4.0/24, version 4Paths: (1 available, best #1, table Default-IP-Routing-Table, not advertised outside local AS)Flag: 0x8A0Advertised to update-groups:2414.1.1.4 from 14.1.1.4 (4.4.4.4)Origin IGP, metric 0, localpref 100, valid, external, bestCommunity: local-AS

R3#show ip bgp 4.4.4.4BGP routing table entry for 4.4.4.0/24, version 4Paths: (1 available, best #1, table Default-IP-Routing-Table, not advertised outside local AS)Flag: 0x8A0Not advertised to any peer41.1.1.1 (metric 156160) from 1.1.1.1 (1.1.1.1)Origin IGP, metric 0, localpref 100, valid, confed-internal, bestCommunity: local-AS

R2#show ip bgp 4.4.4.4% Network not in table


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:解决Map集合使用get方法返回null抛出空指针异常问题
下一篇:50-高级路由:BGP community属性:no-export(路由器1950)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~