首页
关于
Search
1
EVPN讲解1
57 阅读
2
英语发音小工具
47 阅读
3
分布式evpn网关配置举例
39 阅读
4
欢迎使用 Typecho
31 阅读
5
VXLAN部署实战:基于EVPN的多租户数据中心网络设计
30 阅读
默认分类
zabbix
网络工程师生存指南
园区网
高级网络工程师
资源
日记
Wireshark
管理
爱情不打烊
登录
Search
标签搜索
高级网络工程师
管理
网络工程师生存指南
日记
zabbix
园区网
资源
Wireshark
Typecho
累计撰写
45
篇文章
累计收到
0
条评论
首页
栏目
默认分类
zabbix
网络工程师生存指南
园区网
高级网络工程师
资源
日记
Wireshark
管理
爱情不打烊
页面
关于
搜索到
45
篇与
的结果
2026-05-19
友链博客
主题不错https://www.aomanhao.top/archives/226/恋爱奔现https://blog.ybyq.wang/archives/1716.html
2026年05月19日
1 阅读
0 评论
0 点赞
2026-05-18
作为一个管理者需要知道的232原则
管理者要知道的232原则:员工离职,其实早有信号很多管理者都有一个误区:觉得员工离职是突然发生的。其实大多数离职并不是临时起意,而是在某个阶段,员工对公司、岗位、领导、团队逐渐失望,最后才做出离开的决定。人力资源管理里有一个很实用的规律,叫做 232原则。所谓232原则,就是员工比较容易在三个时间节点产生离职想法:入职 2周入职 3个月入职 2年这三个时间点,看起来只是时间节点,其实背后反映的是员工在不同阶段的心理变化。一、入职2周:员工在验证“这家公司是不是靠谱”员工刚入职的前两周,是最敏感的阶段。这个时候,他还没有真正融入团队,也没有完全接受公司的管理方式。他更多是在观察:这家公司和面试时说的一样吗?比如面试时说工作内容很清晰,结果入职后没人带、没人管。面试时说团队氛围很好,结果来了以后发现大家都很冷漠。面试时说岗位发展不错,结果实际工作全是杂活。面试时说加班不多,结果刚入职就天天加班。这时候员工心里很容易产生落差感。如果落差太大,他就会觉得自己被“忽悠”了。尤其是刚入职没多久,沉没成本很低,想走就走,离职成本也不高。所以,入职2周内的离职,很多时候不是员工抗压能力差,而是公司给他的第一印象太差。管理者要做什么?管理者在这个阶段最重要的事情不是压任务,而是帮员工建立确定感。要让新人知道:我来了以后该做什么;谁是我的对接人;工作标准是什么;遇到问题找谁;公司之前承诺的内容是否会兑现。新人刚来,不怕工作多,怕的是混乱、没人管、没方向。二、入职3个月:员工在判断“我适不适合留下来”入职三个月左右,员工已经不再是完全陌生的状态。他基本了解了岗位内容,也看清了领导风格、团队氛围、工作节奏和管理方式。这个阶段,员工会开始认真判断:这个岗位,我要不要继续做下去?如果说入职2周看的是“公司靠不靠谱”,那么入职3个月看的是“岗位适不适合”。三个月左右离职,常见原因有几个:岗位内容和自己预期不一致;领导管理方式无法接受;团队氛围融入不了;工作压力和收入不匹配;试用期没有反馈,员工不知道自己做得怎么样;看不到继续留下来的意义。很多管理者会忽略试用期沟通,觉得员工没主动说问题,就代表没问题。但实际上,很多员工不会在试用期直接表达不满。他可能一边干活,一边观察,一边找新的机会。等他真的提离职时,心里已经想清楚了。管理者要做什么?这个阶段,管理者要主动做一次试用期沟通。不要只问一句“最近怎么样”,这种问题太空了,员工一般只会回答“还行”。可以具体一点问:现在的工作内容和你入职前理解的一样吗?哪些地方还不适应?工作上有没有卡点?团队协作有没有问题?后面想往哪个方向提升?你觉得目前这个岗位适合你吗?三个月这个节点,管理者越主动,越容易发现问题。三、入职2年:员工在思考“我还有没有发展”员工入职两年左右,情况又不一样了。这个时候,他通常已经熟悉岗位,也能独立完成大部分工作。刚开始的新鲜感没了,基础能力也积累起来了。他会开始想一个更现实的问题:我继续留在这里,还有没有成长?如果一个员工在岗位上干了两年,还是做同样的事情,拿差不多的工资,看不到晋升机会,也没有新的挑战,他就很容易产生疲惫感。尤其是能力还不错的人,更容易在这个阶段离开。因为他已经有经验了,出去也有竞争力。这个阶段的离职,不一定是因为公司不好,也不一定是领导不好,而是员工觉得继续留下来,收益不大了。管理者要做什么?管理者不能等员工提离职了,才开始谈发展。对于入职两年左右的员工,尤其是表现稳定、能力不错的员工,要提前做职业发展沟通。可以聊:你现在对岗位还有没有挑战感?你后面想往技术、管理还是业务方向发展?有没有想学习或提升的方向?目前工作中有没有让你觉得重复、消耗的地方?如果有机会,你希望承担什么样的新任务?对核心员工来说,成长感很重要。钱当然重要,但不是唯一因素。很多员工离开,不只是因为外面多给了一点钱,而是因为在原来的地方看不到希望。四、232原则的本质:不是管人,而是管预期我理解的232原则,本质上不是一个简单的离职规律,而是提醒管理者:员工在不同阶段,对组织的期待是不一样的。入职2周,员工要的是 真实和确定感。入职3个月,员工要的是 适应和认可感。入职2年,员工要的是 成长和发展感。如果管理者用同一种方式管理所有阶段的员工,就很容易出问题。新人刚来,你不关心他的适应情况,只是一味安排任务,他容易失望。试用期员工还没完全稳定,你不给反馈、不做沟通,他容易动摇。老员工干了两年,你不给成长机会、不谈发展,他容易离开。所以,管理不是等问题发生以后再补救,而是在关键节点提前介入。五、管理者可以建立三个固定动作232原则真正要落地,不能只停留在知道。管理者可以把它变成三个固定动作。1. 入职2周内,做一次入职关怀重点不是考核,而是帮助新人适应。看看他是否清楚工作内容,是否有人带,是否遇到困难,是否对岗位有明显落差。2. 入职3个月左右,做一次试用期沟通重点是判断人岗匹配。看看员工是否适应团队,是否胜任岗位,是否认可管理方式,是否愿意继续长期发展。3. 入职2年左右,做一次发展沟通重点是关注成长和保留。看看员工是否还有挑战感,是否有晋升或学习需求,是否存在职业倦怠,是否有潜在离职风险。六、写在最后员工离职,表面上看是一个结果,本质上是长期管理过程中的反馈。很多时候,员工不是突然想走,而是慢慢觉得:当初说的和实际不一样;做了一段时间后发现不适合;干了几年后看不到发展。232原则对管理者最大的价值,就是提醒我们不要只在员工提离职时才开始重视。真正好的管理,是提前发现问题,提前沟通,提前调整。入职2周,解决信任问题。入职3个月,解决适配问题。入职2年,解决发展问题。管理者如果能把这三个节点管好,团队的稳定性会明显提升。因为留住员工,靠的不是一句“好好干”,而是让员工在每个阶段都能看到留下来的理由。
2026年05月18日
3 阅读
0 评论
0 点赞
2026-05-13
人为什么会喜欢回忆之前的事情
人为什么会喜欢回忆之前的事情,是因为对未来抱有的一种不确定,而已经发生的事情,大家知道如何去优化。{dotted startColor="#ff6c6c" endColor="#1989fa"/}而没有发生的事情,就像一片迷雾,看不清。{dotted startColor="#ff6c6c" endColor="#1989fa"/}包括回忆高中时期,小学时期,你知道如何利用现在的知识来解决当时的事情,但是当时你可能并不是很开心
2026年05月13日
9 阅读
0 评论
3 点赞
2026-04-18
英语发音小工具
http://ssssss.icu/
2026年04月18日
47 阅读
0 评论
0 点赞
2026-03-18
EVPN讲解1
H3C EVPN VXLAN 从 0 到 1 完整实验教程更适合小白食用一、实验目标本文基于一套已经打通的 H3C EVPN VXLAN 实验拓扑,从 0 到 1 重新梳理整套方案的实现逻辑,重点讲清楚:4 台设备分别承担什么角色Underlay 和 Overlay 如何配合EVPN、VXLAN、VSI、VNI、L3VNI、分布式网关分别是什么为什么要先配什么、后配什么每条关键命令的作用和联动关系如何把整套配置真正敲出来,而不是只会看结果二、实验拓扑角色划分RTDUnderlay 核心 + EVPN RR三层互联核心EVPN 路由反射器不接终端不做业务网关RTAVTEP + 二层接入 + 分布式网关接入 VM1 / VM2承载二层 VNI承载三层网关参与 L3VNIRTBVTEP + 二层接入 + 分布式网关接入 VM3 / VM4承载二层 VNI承载三层网关参与 L3VNIRTCL3VNI 节点 + 外部前缀注入点不做二层接入参与 vpn1 的三层转发注入 20.1.1.1/32三、整套网络的三层逻辑1)UnderlayUnderlay 只做一件事:保证设备之间 IP 可达。RTA — RTD:11.1.1.0/30RTB — RTD:12.1.1.0/30RTC — RTD:13.1.1.0/30Loopback0:RTA:1.1.1.1/32RTB:2.2.2.2/32RTC:3.3.3.3/32RTD:4.4.4.4/322)OverlayOverlay 负责传输 EVPN 控制平面 信息。RTD 是 RRRTA / RTB / RTC 是 RR Client3)业务层vpna → VNI 10 → 10.1.1.0/24vpnb → VNI 20 → 10.1.2.0/24vpn1 → L3VNI 1000RTA / RTB 同时提供 10.1.1.1、10.1.2.1 分布式网关RTC 提供 20.1.1.1/32 外部前缀四、先讲透:VSI 和 Vsi-interface 到底是什么这一段是整篇最关键、最容易混淆的地方。1)什么是 vsivsi vpna vsi vpnb它表示:创建一个二层业务实例。2)什么是 interface Vsi-interface 1interface Vsi-interface 1 interface Vsi-interface 2 interface Vsi-interface 3它表示:创建一个三层 VSI 接口。重点:在 H3C 上,进入 interface Vsi-interface 1 视图时,本身就是在创建这个接口。3)VSI 和 Vsi-interface 的关系先有三层接口侧概念:interface Vsi-interface 1 ip binding vpn-instance vpn1 ip address 10.1.1.1 255.255.255.0 distributed-gateway local然后再在二层 VSI 下进行关联:vsi vpna gateway vsi-interface 1一句话总结: 先有 Vsi-interface 这个三层接口对象,再在 vsi 里通过 gateway vsi-interface 进行绑定,学习顺序会更顺。五、配置顺序为什么必须这样安排基础接口和 IP 地址Underlay OSPF验证 Loopback 可达建立 BGP EVPN 邻居创建 VRF / VPN 实例开启 VXLAN / L2VPN 基础能力先创建 Vsi-interface 接口再创建二层 VSI,并通过 gateway vsi-interface 绑定分布式网关接入口 xconnectRTC 注入外部前缀完整配置汇总验证与排错六、地址规划设备地址规划RTDLoopback0:4.4.4.4/32;GE0/0:11.1.1.1/30;GE0/1:12.1.1.1/30;GE0/2:13.1.1.1/30RTALoopback0:1.1.1.1/32;GE0/0:11.1.1.2/30;GE0/1:接入 10.1.1.0/24;GE0/2:接入 10.1.2.0/24RTBLoopback0:2.2.2.2/32;GE0/0:12.1.1.2/30;GE0/1:接入 10.1.1.0/24;GE0/2:接入 10.1.2.0/24RTCLoopback0:3.3.3.3/32;Loopback1:20.1.1.1/32;GE0/0:13.1.1.2/30七、第一阶段:配置 Underlay目标:4 台设备三层互通,4 个 Loopback 地址互通,为后续 EVPN 邻居建立提供基础。7.1 RTD 配置system-view sysname RTD interface LoopBack0 ip address 4.4.4.4 255.255.255.255 interface GigabitEthernet0/0 port link-mode route ip address 11.1.1.1 255.255.255.252 interface GigabitEthernet0/1 port link-mode route ip address 12.1.1.1 255.255.255.252 interface GigabitEthernet0/2 port link-mode route ip address 13.1.1.1 255.255.255.252 ospf 1 router-id 4.4.4.4 area 0.0.0.0 network 4.4.4.4 0.0.0.0 network 11.1.1.0 0.0.0.3 network 12.1.1.0 0.0.0.3 network 13.1.1.0 0.0.0.37.2 RTA 配置system-view sysname RTA interface LoopBack0 ip address 1.1.1.1 255.255.255.255 interface GigabitEthernet0/0 port link-mode route ip address 11.1.1.2 255.255.255.252 ospf 1 router-id 1.1.1.1 area 0.0.0.0 network 1.1.1.1 0.0.0.0 network 11.1.1.0 0.0.0.37.3 RTB 配置system-view sysname RTB interface LoopBack0 ip address 2.2.2.2 255.255.255.255 interface GigabitEthernet0/0 port link-mode route ip address 12.1.1.2 255.255.255.252 ospf 1 router-id 2.2.2.2 area 0.0.0.0 network 2.2.2.2 0.0.0.0 network 12.1.1.0 0.0.0.37.4 RTC 配置system-view sysname RTC interface LoopBack0 ip address 3.3.3.3 255.255.255.255 interface GigabitEthernet0/0 port link-mode route ip address 13.1.1.2 255.255.255.252 ospf 1 router-id 3.3.3.3 default-route-advertise always area 0.0.0.0 network 3.3.3.3 0.0.0.0 network 13.1.1.0 0.0.0.37.5 验证命令display ospf peer display ip routing-table ping 1.1.1.1 ping 2.2.2.2 ping 3.3.3.3 ping 4.4.4.4八、第二阶段:建立 BGP EVPN 控制平面目标:让 RTA / RTB / RTC 都通过 RTD 建立 EVPN 邻居,由 RTD 作为 RR 反射 EVPN 路由。8.1 RTD 配置 RRbgp 200 group evpn internal peer evpn connect-interface LoopBack0 peer 1.1.1.1 group evpn peer 2.2.2.2 group evpn peer 3.3.3.3 group evpn address-family l2vpn evpn undo policy vpn-target peer evpn enable peer evpn reflect-client8.2 RTA 配置bgp 200 peer 4.4.4.4 as-number 200 peer 4.4.4.4 connect-interface LoopBack0 address-family l2vpn evpn peer 4.4.4.4 enable8.3 RTB 配置bgp 200 peer 4.4.4.4 as-number 200 peer 4.4.4.4 connect-interface LoopBack0 address-family l2vpn evpn peer 4.4.4.4 enable8.4 RTC 配置bgp 200 peer 4.4.4.4 as-number 200 peer 4.4.4.4 connect-interface LoopBack0 address-family l2vpn evpn peer 4.4.4.4 enable8.5 验证命令display bgp l2vpn evpn peer display bgp l2vpn evpn summary九、第三阶段:创建 VRF / VPN 实例目标:创建租户 vpn1,为三层路由和 EVPN 地址族准备基础。9.1 RTA 配置ip vpn-instance vpn1 route-distinguisher 1:1 address-family ipv4 vpn-target 2:2 import-extcommunity vpn-target 2:2 export-extcommunity address-family evpn vpn-target 1:1 import-extcommunity vpn-target 1:1 export-extcommunity9.2 RTB 配置ip vpn-instance vpn1 route-distinguisher 1:2 address-family ipv4 vpn-target 2:2 import-extcommunity vpn-target 2:2 export-extcommunity address-family evpn vpn-target 1:1 import-extcommunity vpn-target 1:1 export-extcommunity9.3 RTC 配置ip vpn-instance vpn1 route-distinguisher 1:3 address-family ipv4 vpn-target 2:2 import-extcommunity vpn-target 2:2 export-extcommunity address-family evpn vpn-target 1:1 import-extcommunity vpn-target 1:1 export-extcommunity十、第四阶段:开启 VXLAN 基础能力10.1 RTA 配置l2vpn enable vxlan tunnel arp-learning disable vxlan tunnel mac-learning disable10.2 RTB 配置l2vpn enable vxlan tunnel arp-learning disable vxlan tunnel mac-learning disable10.3 RTC 配置l2vpn enable vxlan tunnel arp-learning disable vxlan tunnel mac-learning disable十一、第五阶段:先创建 Vsi-interface 接口11.1 RTA 创建 Vsi-interfaceinterface Vsi-interface 1 ip binding vpn-instance vpn1 ip address 10.1.1.1 255.255.255.0 mac-address 0001-0001-0001 local-proxy-arp enable distributed-gateway local interface Vsi-interface 2 ip binding vpn-instance vpn1 ip address 10.1.2.1 255.255.255.0 mac-address 0002-0002-0002 local-proxy-arp enable distributed-gateway local interface Vsi-interface 3 ip binding vpn-instance vpn1 l3-vni 100011.2 RTB 创建 Vsi-interfaceinterface Vsi-interface 1 ip binding vpn-instance vpn1 ip address 10.1.1.1 255.255.255.0 mac-address 0001-0001-0001 local-proxy-arp enable distributed-gateway local interface Vsi-interface 2 ip binding vpn-instance vpn1 ip address 10.1.2.1 255.255.255.0 mac-address 0002-0002-0002 local-proxy-arp enable distributed-gateway local interface Vsi-interface 3 ip binding vpn-instance vpn1 l3-vni 100011.3 RTC 创建 Vsi-interfaceinterface Vsi-interface 3 ip binding vpn-instance vpn1 l3-vni 1000十二、第六阶段:再创建二层 VSI,并绑定二层 VNI12.1 RTA 配置vsi vpna gateway vsi-interface 1 arp suppression enable vxlan 10 evpn encapsulation vxlan route-distinguisher auto vpn-target auto export-extcommunity vpn-target auto import-extcommunity vsi vpnb gateway vsi-interface 2 arp suppression enable vxlan 20 evpn encapsulation vxlan route-distinguisher auto vpn-target auto export-extcommunity vpn-target auto import-extcommunity12.2 RTB 配置vsi vpna gateway vsi-interface 1 arp suppression enable vxlan 10 evpn encapsulation vxlan route-distinguisher auto vpn-target auto export-extcommunity vpn-target auto import-extcommunity vsi vpnb gateway vsi-interface 2 arp suppression enable vxlan 20 evpn encapsulation vxlan route-distinguisher auto vpn-target auto export-extcommunity vpn-target auto import-extcommunity十三、第七阶段:配置分布式网关相关关键命令:ip binding vpn-instance vpn1 ip address mac-address local-proxy-arp enable distributed-gateway local十四、第八阶段:接入口加入对应的 VSI14.1 RTA 配置interface GigabitEthernet0/1 port link-mode route xconnect vsi vpna interface GigabitEthernet0/2 port link-mode route xconnect vsi vpnb14.2 RTB 配置interface GigabitEthernet0/1 port link-mode route xconnect vsi vpna interface GigabitEthernet0/2 port link-mode route xconnect vsi vpnb十五、第九阶段:RTC 注入外部前缀15.1 RTC 配置 LoopBack1interface LoopBack1 ip binding vpn-instance vpn1 ip address 20.1.1.1 255.255.255.25515.2 RTC 将直连路由引入 BGP VRFbgp 200 ip vpn-instance vpn1 address-family ipv4 unicast import-route direct十六、四台设备完整配置汇总这一部分信息量最大。Markdown 版保留完整配置,但用普通代码块替代原先“每一行一个 div”的写法,移动端会轻很多。16.1 RTD 完整配置system-view sysname RTD interface LoopBack0 ip address 4.4.4.4 255.255.255.255 interface GigabitEthernet0/0 port link-mode route ip address 11.1.1.1 255.255.255.252 interface GigabitEthernet0/1 port link-mode route ip address 12.1.1.1 255.255.255.252 interface GigabitEthernet0/2 port link-mode route ip address 13.1.1.1 255.255.255.252 ospf 1 router-id 4.4.4.4 area 0.0.0.0 network 4.4.4.4 0.0.0.0 network 11.1.1.0 0.0.0.3 network 12.1.1.0 0.0.0.3 network 13.1.1.0 0.0.0.3 bgp 200 group evpn internal peer evpn connect-interface LoopBack0 peer 1.1.1.1 group evpn peer 2.2.2.2 group evpn peer 3.3.3.3 group evpn address-family l2vpn evpn undo policy vpn-target peer evpn enable peer evpn reflect-client16.2 RTA 完整配置system-view sysname RTA ip vpn-instance vpn1 route-distinguisher 1:1 address-family ipv4 vpn-target 2:2 import-extcommunity vpn-target 2:2 export-extcommunity address-family evpn vpn-target 1:1 import-extcommunity vpn-target 1:1 export-extcommunity l2vpn enable vxlan tunnel arp-learning disable vxlan tunnel mac-learning disable interface LoopBack0 ip address 1.1.1.1 255.255.255.255 interface GigabitEthernet0/0 port link-mode route ip address 11.1.1.2 255.255.255.252 interface GigabitEthernet0/1 port link-mode route xconnect vsi vpna interface GigabitEthernet0/2 port link-mode route xconnect vsi vpnb ospf 1 router-id 1.1.1.1 area 0.0.0.0 network 1.1.1.1 0.0.0.0 network 11.1.1.0 0.0.0.3 interface Vsi-interface 1 ip binding vpn-instance vpn1 ip address 10.1.1.1 255.255.255.0 mac-address 0001-0001-0001 local-proxy-arp enable distributed-gateway local interface Vsi-interface 2 ip binding vpn-instance vpn1 ip address 10.1.2.1 255.255.255.0 mac-address 0002-0002-0002 local-proxy-arp enable distributed-gateway local interface Vsi-interface 3 ip binding vpn-instance vpn1 l3-vni 1000 vsi vpna gateway vsi-interface 1 arp suppression enable vxlan 10 evpn encapsulation vxlan route-distinguisher auto vpn-target auto export-extcommunity vpn-target auto import-extcommunity vsi vpnb gateway vsi-interface 2 arp suppression enable vxlan 20 evpn encapsulation vxlan route-distinguisher auto vpn-target auto export-extcommunity vpn-target auto import-extcommunity bgp 200 peer 4.4.4.4 as-number 200 peer 4.4.4.4 connect-interface LoopBack0 address-family l2vpn evpn peer 4.4.4.4 enable16.3 RTB 完整配置system-view sysname RTB ip vpn-instance vpn1 route-distinguisher 1:2 address-family ipv4 vpn-target 2:2 import-extcommunity vpn-target 2:2 export-extcommunity address-family evpn vpn-target 1:1 import-extcommunity vpn-target 1:1 export-extcommunity l2vpn enable vxlan tunnel arp-learning disable vxlan tunnel mac-learning disable interface LoopBack0 ip address 2.2.2.2 255.255.255.255 interface GigabitEthernet0/0 port link-mode route ip address 12.1.1.2 255.255.255.252 interface GigabitEthernet0/1 port link-mode route xconnect vsi vpna interface GigabitEthernet0/2 port link-mode route xconnect vsi vpnb ospf 1 router-id 2.2.2.2 area 0.0.0.0 network 2.2.2.2 0.0.0.0 network 12.1.1.0 0.0.0.3 interface Vsi-interface 1 ip binding vpn-instance vpn1 ip address 10.1.1.1 255.255.255.0 mac-address 0001-0001-0001 local-proxy-arp enable distributed-gateway local interface Vsi-interface 2 ip binding vpn-instance vpn1 ip address 10.1.2.1 255.255.255.0 mac-address 0002-0002-0002 local-proxy-arp enable distributed-gateway local interface Vsi-interface 3 ip binding vpn-instance vpn1 l3-vni 1000 vsi vpna gateway vsi-interface 1 arp suppression enable vxlan 10 evpn encapsulation vxlan route-distinguisher auto vpn-target auto export-extcommunity vpn-target auto import-extcommunity vsi vpnb gateway vsi-interface 2 arp suppression enable vxlan 20 evpn encapsulation vxlan route-distinguisher auto vpn-target auto export-extcommunity vpn-target auto import-extcommunity bgp 200 peer 4.4.4.4 as-number 200 peer 4.4.4.4 connect-interface LoopBack0 address-family l2vpn evpn peer 4.4.4.4 enable16.4 RTC 完整配置system-view sysname RTC ip vpn-instance vpn1 route-distinguisher 1:3 address-family ipv4 vpn-target 2:2 import-extcommunity vpn-target 2:2 export-extcommunity address-family evpn vpn-target 1:1 import-extcommunity vpn-target 1:1 export-extcommunity l2vpn enable vxlan tunnel arp-learning disable vxlan tunnel mac-learning disable interface LoopBack0 ip address 3.3.3.3 255.255.255.255 interface GigabitEthernet0/0 port link-mode route ip address 13.1.1.2 255.255.255.252 interface LoopBack1 ip binding vpn-instance vpn1 ip address 20.1.1.1 255.255.255.255 ospf 1 router-id 3.3.3.3 default-route-advertise always area 0.0.0.0 network 3.3.3.3 0.0.0.0 network 13.1.1.0 0.0.0.3 interface Vsi-interface 3 ip binding vpn-instance vpn1 l3-vni 1000 bgp 200 peer 4.4.4.4 as-number 200 peer 4.4.4.4 connect-interface LoopBack0 address-family l2vpn evpn peer 4.4.4.4 enable ip vpn-instance vpn1 address-family ipv4 unicast import-route direct十七、最终验证思路17.1 二层互通验证display mac-address display vxlan tunnel display bgp l2vpn evpn routing-table17.2 三层互通验证ping 10.1.1.x ping 10.1.2.x17.3 ARP / 主机路由验证display arp vpn-instance vpn1 display ip routing-table vpn-instance vpn1 protocol direct display ip routing-table vpn-instance vpn1 protocol bgp display ip routing-table vpn-instance vpn1 protocol evpn17.4 VRF 路由验证display ip routing-table vpn-instance vpn1十八、常见排错思路1)Loopback 不通先查 Underlay:display ospf peer display ip routing-table ping 4.4.4.42)EVPN 邻居不起先查:Loopback 是否可达BGP 邻居地址是否正确connect-interface LoopBack0 是否已配置RR 上是否启用了 peer evpn reflect-client查看命令:display bgp l2vpn evpn peer display bgp l2vpn evpn summary3)二层主机不通先查:vsi 是否创建vxlan 10 / 20 是否正确接口是否执行 xconnect vsiEVPN Type-2 路由是否学习到MAC 表是否正常生成查看命令:display mac-address display bgp l2vpn evpn routing-table display vxlan tunnel4)三层互访不通先查:Vsi-interface 是否绑定到 vpn1网关 IP 是否正确distributed-gateway local 是否已配置l3-vni 1000 是否在各节点存在RTC 是否把 20.1.1.1/32 引入到 BGP VRF查看命令:display ip routing-table vpn-instance vpn1 display arp vpn-instance vpn1 display bgp vpnv4 all routing-table十九、全文总结Underlay 负责打通设备 IP 可达Overlay 负责 EVPN 控制平面发布与学习Vsi-interface 是三层接口对象vsi 是二层业务实例先建 Vsi-interface,再在 vsi 里做 gateway vsi-interface 绑定,逻辑最清晰RTA / RTB 同时承载二层 VNI、三层网关、L3VNIRTC 负责引入外部前缀到 vpn1RTD 作为 RR,负责 EVPN 路由反射到这里,这套 H3C EVPN VXLAN 分布式网关实验,就算真正从“看懂”走到了“能独立敲出来”。二十、针对博客性能的优化说明这版 Markdown 相比你原来那篇重 HTML 文章,主要做了这些性能优化:去掉了文章内部的大段 <style>去掉了每一行代码单独一个 div 的写法改成标准 Markdown 标题、列表、表格、代码块保留阅读层次,但尽量减少不必要的嵌套更适合手机端和 Typecho 内容页渲染如果你博客首页现在还是“显示全文”,建议再额外改成“只显示摘要”,否则长文依然会拖慢首页列表页。
2026年03月18日
57 阅读
0 评论
0 点赞
1
2
...
9