首页
/
行业洞察
/
正文
INDUSTRY INSIGHT · 深度
华三设备模拟MV专线-客户两端设备运行BGP
📅 2026/10/10 2:43:50
✍️ 爱科研究院
👁 阅读 3,247
一 组网说明①运营商为某客户提供MV专线,实现客户总部与分支三层互通;②客户总部和分支通过运营商MV专线建立BGP邻居,总部AS号为1,分支AS号为2;③总部内网、分支内网全部配置的静态路由;二 设备配置2.1运营商MV专线配置2.1.1 PE1设备配置sysname PE1#ip vpn-instance 1route-distinguisher 1:1vpn-target 1:1 import-extcommunityvpn-target 1:1 export-extcommunity#ospf 1 router-id 9.9.9.1area 0.0.0.0network 1.1.1.1 0.0.0.0network 9.9.9.1 0.0.0.0#ip unreachables enableip ttl-expires enable#lldp global enable#mpls lsr-id 9.9.9.1#mpls ldp#interface LoopBack0ip address 9.9.9.1 255.255.255.255#interface GigabitEthernet0/0port link-mode routecombo enable copperip address 1.1.1.1 255.255.255.0mpls enablempls ldp enable#interface GigabitEthernet0/1port link-mode routecombo enable copperip binding vpn-instance 1ip address 192.168.1.1 255.255.255.0#interface GigabitEthernet0/2port link-mode routecombo enable copper#bgp 100peer 9.9.9.3 as-number 100peer 9.9.9.3 connect-interface LoopBack0#address-family vpnv4peer 9.9.9.3 enable#ip vpn-instance 1#address-family ipv4 unicastimport-route direct#2.1.2 P设备配置sysname P#ospf 1 router-id 9.9.9.2area 0.0.0.0network 1.1.1.2 0.0.0.0network 2.2.2.1 0.0.0.0network 9.9.9.2 0.0.0.0#ip unreachables enableip ttl-expires enable#lldp global enable#mpls lsr-id 9.9.9.2#mpls ldp#interface LoopBack0ip address 9.9.9.2 255.255.255.255#interface GigabitEthernet0/0port link-mode routecombo enable copperip address 1.1.1.2 255.255.255.0mpls enablempls ldp enable#interface GigabitEthernet0/1port link-mode routecombo enable copperip address 2.2.2.1 255.255.255.0mpls enablempls ldp enable#2.1.3 PE2设备配置sysname PE2#ip vpn-instance 1route-distinguisher 1:1vpn-target 1:1 import-extcommunityvpn-target 1:1 export-extcommunity#ospf 1 router-id 9.9.9.3area 0.0.0.0network 2.2.2.2 0.0.0.0network 9.9.9.3 0.0.0.0#ip unreachables enableip ttl-expires enable#lldp global enable#mpls lsr-id 9.9.9.3#mpls ldp#interface LoopBack0ip address 9.9.9.3 255.255.255.255#interface GigabitEthernet0/0port link-mode routecombo enable copperip address 2.2.2.2 255.255.255.0mpls enablempls ldp enable#interface GigabitEthernet0/1port link-mode routecombo enable copperip binding vpn-instance 1ip address 192.168.2.1 255.255.255.0#interface GigabitEthernet0/2port link-mode routecombo enable copper#bgp 100peer 9.9.9.1 as-number 100peer 9.9.9.1 connect-interface LoopBack0#address-family vpnv4peer 9.9.9.1 enable#ip vpn-instance 1#address-family ipv4 unicastimport-route direct#2.2总部和分支出口R配置地址和默认路由可测试地址可达2.2.1 ZB-R地址和默认路由配置sysname ZB-R#ip unreachables enableip ttl-expires enable#lldp global enable#interface GigabitEthernet0/0port link-mode routecombo enable copperip address 192.168.1.2 255.255.255.0#ip route-static 0.0.0.0 0 192.168.1.1#2.2.2 FZ-R地址和默认路由配置sysname FZ-R#ip unreachables enableip ttl-expires enable#lldp global enable#interface GigabitEthernet0/0port link-mode routecombo enable copperip address 192.168.2.2 255.255.255.0#ip route-static 0.0.0.0 0 192.168.2.1#2.2.3总部和分支专线地址互通成功2.2.3.1总部访问访问分支地址[ZB-R]ping 192.168.2.2Ping 192.168.2.2 (192.168.2.2): 56 data bytes, press CTRL+C to break56 bytes from 192.168.2.2: icmp_seq=0 ttl=253 time=1.545 ms56 bytes from 192.168.2.2: icmp_seq=1 ttl=253 time=1.473 ms56 bytes from 192.168.2.2: icmp_seq=2 ttl=253 time=1.972 ms56 bytes from 192.168.2.2: icmp_seq=3 ttl=253 time=1.989 ms56 bytes from 192.168.2.2: icmp_seq=4 ttl=253 time=2.417 ms--- Ping statistics for 192.168.2.2 ---5 packet(s) transmitted, 5 packet(s) receiv
📌 标签:
工业官网
设计趋势
AI 建站
SEO
获取完整报告 →
RELATED ARTICLES
推荐阅读
2026/10/10 2:38:50
markdown-it 基准测试样本解析:block-bq-flat.md 与扁平引用块的解析与压测原理
2026/10/10 2:38:50
深入理解 containers/storage:Go 语言实现的 Layer、Image、Container 容器存储层管理库
2026/10/10 2:38:50
云端 Web UI 访问异常:先查端口链路,还是先查应用配置?
2026/10/10 3:38:54
Linux 7z 命令实战:高压缩比参数调优与避坑指南
2026/10/10 3:38:54
OpenClaw 配置教程:从零到跑通模型、技能与数据库
2026/10/10 3:38:54
RabbitMQ实战:从消息队列原理到分布式系统解耦与故障排查
2026/10/10 3:38:54
Java毕设实战:彝族文化宣传网站完整设计与实现方案
2026/10/10 3:38:54
Flutter三方库鸿蒙化适配实战:以波斯语本地化库persian为例
2026/10/10 3:33:54
计算机单片机毕设实战-基于单片机的室内多环境因子阈值配置与超标联动告警系统设计 基于单片机的密闭空间烟雾与甲醛监测及可控排风装置设计(030115)
2026/10/10 0:03:38
工业软件标准化路线图:国产替代的落地施工图
2026/10/10 0:03:38
VCMI安卓版实操指南:原生运行英雄无敌3的3步技术落地
2026/10/10 0:03:38
稀疏多通道盲反褶积的MATLAB算法实现与参数调优
2026/10/8 5:02:14
Jev+Agent接管浏览器:browser-use实战与jev-ultrafast性能优化
2026/10/9 1:10:43
多智能体集群实战:DeepAgents编排、MCP与A2A协议及Skills体系
2026/10/9 3:31:49
hindsight:面向LLM应用的事后可观测性工程实践
2026/10/8 4:30:43
我发现了一个新思路:用 Remotion + Claude Code 像写代码一样自动化生成短视频
2026/10/9 3:32:01
Windows下 Codex 中 Chrome 和 Computer Use 插件不可用问题排查及解决参考方式:TaoToken 统一 Key 配置与验证
2026/10/9 11:36:17
2026 大模型集体涨价:用 Python 做企业 Token 成本测算与选型避坑(附配置)