想在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
(0)
最佳答案
问题已经解决,并不是BGP l2vpn的路由,实际还是ipv4。
实现ECMP在ipv4地址族中添加balance和as-path-neglect可以实现案例中的ECMP
(0)
什么设备
(0)
S6825-54HF
S6825-54HF
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明