Brocade L2VPN 路由反射器

网络工程 bgp 聚光灯 锦缎 vpls
2021-07-09 08:08:37

我正在尝试创建一个 MPLS VPLS 网络,其中 VPLS 实例是通过 BGP L2VPN 自动发现的。我目前面临的问题是没有反映路线,似乎没有选项可以启用此功能。

我们目前的设置是一个简单的方形网络,其中有 4 个 MLXe-8,每个 MLXe-8 连接到另外 2 个。所有 BGP 会话均已正确建立。为了测试,我们设置了一个 VPLS 实例,在所有 4 个路由器上都启用了自动发现。但是,VPLS 仅与它的 BGP 邻居的其他 2 个路由器对等。

为了测试,我们构建了一个全网状 BGP,其中所有 VPLS 路由器都正确地相互对等,这感觉像是一个非常肮脏的解决方案。我们是否错过了让 BGP 反映路由的任何内容?路由器运行 Netiron ver V5.6.0hT163

这是路由器的 bgp 配置之一:

 local-as xxxxx
 cluster-id 1
 neighbor 10.0.39.1 remote-as xxxxx
 neighbor 10.0.39.1 ebgp-multihop
 neighbor 10.0.39.1 update-source loopback 1
 neighbor 10.0.39.3 remote-as xxxxx
 neighbor 10.0.39.3 ebgp-multihop
 neighbor 10.0.39.3 update-source loopback 1

 address-family ipv4 unicast
 no neighbor 10.0.39.1 activate
 no neighbor 10.0.39.3 activate
 exit-address-family

 address-family ipv4 multicast
 exit-address-family

 address-family ipv6 unicast
 exit-address-family

 address-family ipv6 multicast
 exit-address-family

 address-family vpnv4 unicast
 exit-address-family

 address-family vpnv6 unicast
 exit-address-family

 address-family l2vpn vpls
 neighbor 10.0.39.1 activate
 neighbor 10.0.39.1 send-community extended
 neighbor 10.0.39.3 activate
 neighbor 10.0.39.3 send-community extended
 always-propagate
 exit-address-family

l2vpn vpls 地址系列中没有可用的路由器反射器选项

(config-bgp-l2vpn-vpls)#?
  address-family                Enter Address Family command mode
  always-propagate              Allow readvertisement of best BGP routes not in
                                IP forwarding table
  bfd                           Set BFD global parameters for BGP4
  bfd-enable                    Enable BFD for BGP4
  bgp-redistribute-internal     Allow redistribution of iBGP routes into IGPs
  clear                         Clear table/statistics/keys
  cls                           Clear screen
  end                           End Configuration level and go to Privileged
                                level
  exit                          Exit current level
  exit-address-family           Exit Address Family command mode
  export-vrf-leaked-routes      Allow exporting VRF leaked routes to L3VPN
  neighbor                      Specify a neighbor router
  no                            Undo/disable commands
  quit                          Exit to User level
  show                          Display system information
  write                         Write running configuration to flash or terminal
  <cr>

还有邻居:

(config-bgp-l2vpn-vpls)#neighbor 10.0.39.1
  activate                 Allow exchange of route in the current family mode
  bfd                      Set BFD parameters for BGP4 neighbor
  fail-over                Set Failover source for BGP4 for this peer
  local-as                 Assign local-as number to neighbor
  remote-as                Specify a BGP neighbor
  send-community           Send community attribute to this neighbor

我可以设置neigbor 10.0.39.2 route-reflector-client,但是它安装在 IPV4 单播系列下,即使命令在“全局”路由器-bgp 模式下运行也是如此。

address-family ipv4 unicast
 no neighbor 10.0.39.2 activate
 neighbor 10.0.39.2 route-reflector-client
 no neighbor 10.0.39.4 activate
 neighbor 10.0.39.4 route-reflector-client
exit-address-family
1个回答

我注意到你已经配置了cluster-id 1. 您应该拓扑中的每个路由器配置一个唯一的 cluster-id,因为您似乎没有选择一个或多个位于中央的 RR。

在以下拓扑中,如果 N、E 和 W 共享相同的集群 ID,则路由器 N 将不会从路由器 S 学习路由。有关推理,请参阅RFC 4456 § 8

       N
      / \
     /   \
    W     E
     \   /
      \ /
       S

您还需要使所有路由器成为彼此的 RR 客户端。RR 不反映从一个非客户端到另一个非客户端的路由。RFC 4456 § 6 对此进行了解释。如果这对您来说听起来不寻常,请知道这是因为您对 RR 的使用不寻常。

为了测试,我们构建了一个全网状 BGP,其中所有 VPLS 路由器都正确地相互对等,这感觉像是一个非常肮脏的解决方案。

另外你提到一个完整的网格对你来说很脏全网状网络是 iBGP 的工作方式。这是最简单和最不复杂的配置。Route-reflection 和 confederations 是扩展 BGP 网络的好工具,但是在一个环中有四个路由器时,你真的不需要这些工具。您可以保持简单并维护完整的 iBGP 网格。同样,这就是 iBGP 的工作原理。