首页 科技问答 BGP l2vpn等价路由

BGP l2vpn等价路由

科技问答 223
1691766660,

问题描述:

想在BGP的l2vpn evpn中开启ECPM如何配置呢?

目前dis BGP routing可以看到ibgp(l2vpn evpn)的路由信息,但是2条只有一条选中。

如何配置可以做ECMP让两条路由等价呢?

组网及组网描述:


当前路由信息:

 [H3C_S6825_LEAF_VXLAN_02]dis bgp routing ipv4

 

 Total number of routes: 17

 

 BGP local router ID is 10.250.101.2

 Status codes: * - valid, > - best, d - dampened, h - history

               s - suppressed, S - stale, i - internal, e - external

               a - additional-path

       Origin: i - IGP, e - EGP, ? - incomplete

 

     Network            NextHop         MED        LocPrf     PrefVal Path/Ogn

 

* >  10.100.100.8/31    10.100.100.8    0                     32768   ?

* >  10.100.100.8/32    127.0.0.1       0                     32768   ?

* >  10.100.100.10/31   10.100.100.10   0                     32768   ?

* >  10.100.100.10/32   127.0.0.1       0                     32768   ?

* >  10.116.0.0/24      10.116.0.152    0                     32768   ?

* >  10.116.0.152/32    127.0.0.1       0                     32768   ?

* >e 10.250.100.1/32    10.100.100.9                          0       4259907537i

*  e                    10.100.100.11                         0       4259907538 4259906537 4259907537i

* >e 10.250.100.2/32    10.100.100.11                         0       4259907538i

*  e                    10.100.100.9                          0       4259907537 4259906537 4259907538i

* >e 10.250.101.1/32    10.100.100.9                          0       4259907537 4259906537i

*  e                    10.100.100.11                         0       4259907538 4259906537i

* >  10.250.101.2/32    127.0.0.1       0                     32768   i

* >e 10.250.101.3/32    10.100.100.9                          0       4259907537 4259906539i

*  e                    10.100.100.11                         0       4259907538 4259906539i

* >e 10.250.102.1/32    10.100.100.9                          0       4259907537 4259908537i

*  e                    10.100.100.11                         0       4259907538 4259908537i

[H3C_S6825_LEAF_VXLAN_02]dis ip rou

 

Destinations : 22       Routes : 22

 

Destination/Mask   Proto   Pre Cost        NextHop         Interface

0.0.0.0/32         Direct  0   0           127.0.0.1       InLoop0

10.100.100.8/31    Direct  0   0           10.100.100.8    RAGG1

10.100.100.8/32    Direct  0   0           127.0.0.1       InLoop0

10.100.100.10/31   Direct  0   0           10.100.100.10   RAGG2

10.100.100.10/32   Direct  0   0           127.0.0.1       InLoop0

10.116.0.0/24      Direct  0   0           10.116.0.152    MGE0/0/0

10.116.0.0/32      Direct  0   0           10.116.0.152    MGE0/0/0

10.116.0.152/32    Direct  0   0           127.0.0.1       InLoop0

10.116.0.255/32    Direct  0   0           10.116.0.152    MGE0/0/0

10.250.100.1/32    BGP     255 0           10.100.100.9    RAGG1

10.250.100.2/32    BGP     255 0           10.100.100.11   RAGG2

10.250.101.1/32    BGP     255 0           10.100.100.9    RAGG1

10.250.101.2/32    Direct  0   0           127.0.0.1       InLoop0

10.250.101.3/32    BGP     255 0           10.100.100.9    RAGG1

10.250.102.1/32    BGP     255 0           10.100.100.9    RAGG1


当前设备配置:

 #

bgp 4259905536 instance 1

 peer 10.250.100.1 as-number 4259905536

 peer 10.250.100.1 connect-interface LoopBack0

 peer 10.250.100.2 as-number 4259905536

 peer 10.250.100.2 connect-interface LoopBack0

 #

 address-family ipv4 unicast

  balance 16

 #

 address-family l2vpn evpn

  peer 10.250.100.1 enable

  peer 10.250.100.2 enable

10小时前提问

什么设备

10小时前回答

S6825-54HF

问题已经解决,并不是BGP l2vpn的路由,实际还是ipv4。

实现ECMP在ipv4地址族中添加balance和as-path-neglect可以实现案例中的ECMP


7小时前回答

你正在内容来源:知了社区,BGP l2vpn等价路由

BGP