在模拟器上用vSR做了个EVPN VxLAN的实验,发现有Type 3路由,VxLAN隧道正常建立,本端没有生成Type 2的MAC路由和MAC-IP路由,请教下是什么原因了?
配置如下
#
l2vpn enable
vxlan tunnel arp-learning disable
#
vxlan tunnel mac-learning disable
#
vsi h3c
gateway vsi-interface 100
arp suppression enable
vxlan 100
evpn encapsulation vxlan
route-distinguisher auto
vpn-target 100:1 export-extcommunity
vpn-target 100:1 import-extcommunity
#
ip vpn-instance h3c
route-distinguisher 100:1
vpn-target 200:1 100:1 import-extcommunity
vpn-target 100:1 export-extcommunity
#
address-family ipv4
#
interface Vsi-interface100
ip binding vpn-instance h3c
ip address 40.1.1.1 255.255.255.252
distributed-gateway local
l3-vni 450
#
bgp 100
router-id 1.1.1.1
peer 2.2.2.2 as-number 65270
peer 2.2.2.2 connect-interface LoopBack0
#
address-family l2vpn evpn
peer 2.2.2.2 enable
#
ip vpn-instance h3c
#
address-family ipv4 unicast
import-route direct
#
查看路由没有本端的Type 2的路由,只有对端的Type 2路由
[H3C]display bgp l2vpn evpn
BGP local router ID is 1.1.1.1
Status codes: * - valid, > - best, d - dampened, h - history,
s - suppressed, S - stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
Total number of routes from all PEs: 3
Route distinguisher: 1:100
Total number of routes: 1
Network NextHop MED LocPrf PrefVal Path/Ogn
* > [3][0][32][1.1.1.1]/80
0.0.0.0 0 100 32768 i
Route distinguisher: 100:1(h3c)
Total number of routes: 5
Network NextHop MED LocPrf PrefVal Path/Ogn
* >i [2][0][48][7096-6214-6308][0][0.0.0.0]/104
2.2.2.2 100 0 ?
* >i [3][0][32][120.196.27.199]/80
2.2.2.2 100 0 ?
* >i [5][0][30][30.1.1.0]/80
2.2.2.2 0 100 0 ?
* > [5][0][30][40.1.1.0]/80
40.1.1.1 0 32768 ?
* > [5][0][32][40.1.1.1]/80
127.0.0.1 0 32768 ?
不涉及
(0)
您好,参考
建议的排查步骤
route-distinguisher 和 vpn-target 配置是否正确。
address-family l2vpn evpn 中是否启用了 Type 2 路由。
display l2vpn mac-address
display arp
display bgp l2vpn evpn peer 2.2.2.2 advertised-routes
display bgp l2vpn evpn peer 2.2.2.2 received-routes
local-proxy-arp 是否启用。
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论