组网背景:
1. AS 10有2台PE路由器,AS 20有1台普通路由器,
2. 左下CE和AS 10中的R1建立OSPF邻居,R1将从CE学到的私网路由封装为vpnv4路由,传递给R2
3. R2上配置路由注入,将vpn实例中的路由,注入到全局路由表,如下命令:
R2上:
ip public-instance
address-family ipv4
route-replicate from vpn-instance test protocol bgp 1
查看R2全局路由表,存在从vpn实例注入的路由:
Destination/Mask Proto Pre Cost NextHop Interface
44.44.44.44/32 BGP 255 0 4.4.4.4 GE0/1
问题:
如何把注入到全局路由表的44.44.44.44/32条目,发布给EBGP对等体?缺省情况没有向对等体传递,尝试了在BGP试图import直连/静态/BGP都不行(无法引入BGP)
[R2]bgp 10
[R2-bgp-default] address-family ipv4 unicast
[R2-bgp-default-ipv4]import-route static
[R2-bgp-default-ipv4]import-route direct
[R2-bgp-default-ipv4]import-route ?
direct Direct routes
eigrp Enhanced Interior Gateway Routing Protocol (EIGRP) routes
guard Guard routes
isis Intermediate System to Intermediate System(IS-IS) routes
ospf Open Shortest Path First (OSPF) routes
rip Routing Information Protocol (RIP) routes
static Static routes
[R2-bgp-default-ipv4]import-route
小土豆plus 2022-12-06 举报
0
奇怪的流量
2022-12-06
可以的。
你的public实例引入test实例的路由时,把属性改成可以发布就好了。
ip public-instance
address-family ipv4
route-replicate from vpn-instance test protocol bgp 1 advertise
这个advertise就是允许发布。

举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
亲~登录后才可以操作哦!
确定