16Cost Community
Cost Community
Cost Community 是一个扩展的Community属性,只能传递给IBGP或联邦peer(含联邦IBGP及EBGP邻居),不能传递给EBGP邻居
利用Cost Community我们可以在AS或联邦内部自定义BGP的最优路径选择,BGP13条选路规则之外的又一插入点
route-map使用set extcommunoity cost去设置Cost Community值,在set命令之后会配置一个ID(0-255)以及Cost number(0-4294967295)数值越小越优先
POI:igp插入第9条路由选择之前
pre-bestpath插入第1条之前
配置

route-map R1 set extcommunity cost 1 20 route-map R1 set extcommunity cost 1 10 neighbor 1.1.1.1 route-map R1 in neighbor 1.1.1.1 route-map R3 in
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
