2026/5/31 9:39:21
网站建设
项目流程
看风格的网站,做推广的网站吗,怎么建立免费个人网站,腾讯云做网站网络规划设计
1、不开ldp协议#xff0c;只开mpls
2、使用ospf 10类lsa传递
3、私网互通
NE1配置
[pe1]dis current-configuration
sysname pe1ip vpn-instance a
ipv4-family
route-distinguisher 1:1
tnl-policy p1 //调用隧道策略#xff0c;让本实例走这个隧道策略
v…网络规划设计1、不开ldp协议只开mpls2、使用ospf 10类lsa传递3、私网互通NE1配置[pe1]dis current-configurationsysname pe1ip vpn-instance aipv4-familyroute-distinguisher 1:1tnl-policy p1 //调用隧道策略让本实例走这个隧道策略vpn-target 1:1 export-extcommunityvpn-target 1:1 import-extcommunitympls lsr-id 1.1.1.1mpls //只开mpls不开ldpsegment-routing //开段路由功能interface Ethernet1/0/0undo shutdownip address 10.0.12.1 255.255.255.0ospf enable 1 area 0.0.0.0undo dcnundo dcn mode vlaninterface Ethernet1/0/1undo shutdownip binding vpn-instance aip address 10.0.11.1 255.255.255.0undo dcnundo dcn mode vlaninterface LoopBack0ip address 1.1.1.1 255.255.255.255ospf enable 1 area 0.0.0.0ospf prefix-sid index 1 //SID偏移值每台设备都不能一样interface NULL0bgp 100peer 3.3.3.3 as-number 100peer 3.3.3.3 connect-interface LoopBack0ipv4-family unicastundo synchronizationpeer 3.3.3.3 enableipv4-family vpnv4policy vpn-targetpeer 3.3.3.3 enable //建立vpnv4邻居ipv4-family vpn-instance apeer 10.0.11.2 as-number 65100 //和ce设备建立 实例bgpospf 1opaque-capability enable //开10类lsa功能segment-routing mpls //支持段路由mplssegment-routing global-block 16000 23999 //SRGB范围设置所设备最好是一样通过这个加上偏移值进行区分area 0.0.0.0tunnel-policy p1 //定义隧道策略强制使用sr-lsp并设置ecmp负载tunnel select-seq sr-lsp load-balance-number 2NE2配置sysname pmpls lsr-id 2.2.2.2mplssegment-routinginterface Ethernet1/0/0undo shutdownip address 10.0.12.2 255.255.255.0ospf enable 1 area 0.0.0.0undo dcnundo dcn mode vlaninterface Ethernet1/0/1undo shutdownip address 10.0.23.2 255.255.255.0ospf enable 1 area 0.0.0.0undo dcnundo dcn mode vlaninterface LoopBack0ip address 2.2.2.2 255.255.255.255ospf enable 1 area 0.0.0.0ospf prefix-sid index 2interface NULL0ospf 1opaque-capability enablesegment-routing mplssegment-routing global-block 16000 23999area 0.0.0.0NE3配置[pe2]dis current-configurationsysname pe2ip vpn-instance aipv4-familyroute-distinguisher 2:1tnl-policy p1vpn-target 1:1 export-extcommunityvpn-target 1:1 import-extcommunitysegment-routinginterface Ethernet1/0/0undo shutdownip address 10.0.23.3 255.255.255.0ospf enable 1 area 0.0.0.0undo dcnundo dcn mode vlaninterface Ethernet1/0/1undo shutdownip binding vpn-instance aip address 10.0.32.3 255.255.255.0undo dcnundo dcn mode vlaninterface LoopBack0ip address 3.3.3.3 255.255.255.255ospf enable 1 area 0.0.0.0ospf prefix-sid index 3interface NULL0bgp 100peer 1.1.1.1 as-number 100peer 1.1.1.1 connect-interface LoopBack0ipv4-family unicastundo synchronizationpeer 1.1.1.1 enableipv4-family vpnv4policy vpn-targetpeer 1.1.1.1 enableipv4-family vpn-instance apeer 10.0.32.2 as-number 65101ospf 1opaque-capability enablesegment-routing mplssegment-routing global-block 16000 23999area 0.0.0.0tunnel-policy p1tunnel select-seq sr-lsp load-balance-number 2CE就是普通bgo配置比较简单省略结果验证互通测试