设为首页收藏本站language 语言切换
查看: 2343|回复: 3
收起左侧

[求助] bgp反射器RR收不到client的vpnv4路由

[复制链接]
发表于 2018-4-24 16:29:19 | 显示全部楼层 |阅读模式

拓扑是R1----R3-----R2 其中R3是RR反射器,R1和R2是client
R1的bgp配置是:
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
#
interface LoopBack1
ip binding vpn-instance test
ip address 11.1.1.1 255.255.255.255
#
interface LoopBack2
ip binding vpn-instance test2
ip address 12.1.1.1 255.255.255.255
#
#
ip vpn-instance test
ipv4-family
  route-distinguisher 100:1
  vpn-target 10:1 export-extcommunity
  vpn-target 10:2 import-extcommunity
#
ip vpn-instance test2
ipv4-family
  route-distinguisher 100:2
  vpn-target 10:3 export-extcommunity
  vpn-target 10:4 import-extcommunity
#
#
bgp 100
peer 3.3.3.3 as-number 100
peer 3.3.3.3 connect-interface LoopBack0
#
ipv4-family unicast
  undo synchronization
  peer 3.3.3.3 enable
#
ipv4-family vpnv4
  policy vpn-target
  peer 3.3.3.3 enable
#
ipv4-family vpn-instance test
  network 11.1.1.1 255.255.255.255
#
ipv4-family vpn-instance test2
  network 12.1.1.1 255.255.255.255
#
R3配置:
#
bgp 100
peer 1.1.1.1 as-number 100
peer 1.1.1.1 connect-interface LoopBack0
peer 2.2.2.2 as-number 100
peer 2.2.2.2 connect-interface LoopBack0
#
ipv4-family unicast
  undo synchronization
  peer 1.1.1.1 enable
  peer 2.2.2.2 enable
#
ipv4-family vpnv4
  reflector cluster-id 100
  policy vpn-target
  peer 1.1.1.1 enable
  peer 1.1.1.1 reflect-client
  peer 2.2.2.2 enable
  peer 2.2.2.2 reflect-client
#
但是R3上没有收到R1的vpnv4路由,不知道怎么回事,求助
R3已经和R1建立了vpnv4邻居:
[R3]display bgp vpnv4 all  peer
BGP local router ID : 3.3.3.3
Local AS number : 100
Total number of peers : 2          Peers in established state : 2
  Peer            V          AS  MsgRcvd  MsgSent  OutQ  Up/Down       State Pre
fRcv
  1.1.1.1         4         100       60       58     0 00:54:47 Established   
   0
  2.2.2.2         4         100       55       59     0 00:53:44 Established   
   0
[R3]
R1上也向R3通告了路由:
[R1]display bgp  vpnv4 all  routing-table peer 3.3.3.3 advertised-routes
BGP Local router ID is 1.1.13.1
Status codes: * - valid, > - best, d - damped,
               h - history,  i - internal, s - suppressed, S - Stale
               Origin : i - IGP, e - EGP, ? - incomplete

Total Number of Routes: 2
Route Distinguisher: 100:1

      Network            NextHop        MED        LocPrf    PrefVal Path/Ogn
*>   11.1.1.1/32        1.1.1.1         0          100        0      i
Route Distinguisher: 100:2

      Network            NextHop        MED        LocPrf    PrefVal Path/Ogn
*>   12.1.1.1/32        1.1.1.1         0          100        0      i
[R1]
但是R3上没有收到这两条路由:
[R3]display bgp vpnv4 all  routing-table
[R3]
[R3]
请大神帮忙拍下错误,多谢多谢!!
发表于 2022-1-18 10:03:40 | 显示全部楼层
1233211234567
板凳 2022-1-18 10:03:40 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2022-2-26 17:14:35 | 显示全部楼层
RR上ipv4-family vpnv4
undo policy vpn-target
地板 2022-2-26 17:14:35 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-5-9 10:42 , Processed in 0.086926 second(s), 23 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表