当前位置:网站首页>Huawei equipment is configured with H virtual private network
Huawei equipment is configured with H virtual private network
2022-06-12 14:21:00 【Tony_ long7483】

- To configure IP Address
[UPE-LoopBack0]ip add 1.1.1.1 32
[UPE-GigabitEthernet0/0/0]ip add 20.1.1.1 24
[UPE-GigabitEthernet0/0/1]ip add 10.1.1.1 24
[SPE-LoopBack0]ip add 2.2.2.2 32
[SPE-GigabitEthernet0/0/0]ip add 20.1.1.2 24
[SPE-GigabitEthernet0/0/1]ip add 30.1.1.2 24
[PE]int LoopBack 0
[PE-LoopBack0]ip add 3.3.3.3 32
[PE-GigabitEthernet0/0/0]ip add 30.1.1.3 24
[PE-GigabitEthernet0/0/1]ip add 10.2.1.3 24
[CE1-GigabitEthernet0/0/0]ip add 10.1.1.4 24
[CE2-GigabitEthernet0/0/0]ip add 10.2.1.5 24 - Configure on the backbone network device OSPF, Realize the backbone network IP Connectivity
[UPE]ospf 1
[UPE-ospf-1]area 0
[UPE-ospf-1-area-0.0.0.0]network 1.1.1.1 0.0.0.0
[UPE-ospf-1-area-0.0.0.0]network 20.1.1.0 0.0.0.255
[SPE]ospf 1
[SPE-ospf-1]area 0
[SPE-ospf-1-area-0.0.0.0]network 2.2.2.2 0.0.0.0
[SPE-ospf-1-area-0.0.0.0]network 30.1.1.0 0.0.0.255
[SPE-ospf-1-area-0.0.0.0]network 20.1.1.0 0.0.0.255
[PE]ospf 1
[PE-ospf-1]area 0
[PE-ospf-1-area-0.0.0.0]network 3.3.3.3 0.0.0.0
[PE-ospf-1-area-0.0.0.0]network 30.1.1.0 0.0.0.255 - Configure on the backbone network MPLS Basic abilities and MPLS LDP, establish LDP LSP
[UPE]mpls lsr-id 1.1.1.1
[UPE]mpls
[UPE]mpls ldp
[UPE-GigabitEthernet0/0/0]mpls
[UPE-GigabitEthernet0/0/0]mpls ldp
[SPE]mpls lsr-id 2.2.2.2
[SPE]mpls
[SPE]mpls ldp
[SPE-GigabitEthernet0/0/0]mpls
[SPE-GigabitEthernet0/0/0]mpls ldp
[SPE-GigabitEthernet0/0/1]mpls
[SPE-GigabitEthernet0/0/1]mpls ldp
[PE]mpls lsr-id 3.3.3.3
[PE]mpls
[PE]mpls ldp
[PE-GigabitEthernet0/0/0]mpls
[PE-GigabitEthernet0/0/0]mpls ldp - To configure UPE And SPE、PE And SPE Of MP-IBGP Peer relationship
[UPE]bgp 100
[UPE-bgp]peer 2.2.2.2 as-number 100
[UPE-bgp]peer 2.2.2.2 connect-interface LoopBack 0
[UPE-bgp]ipv4-family vpnv4
[UPE-bgp-af-vpnv4]peer 2.2.2.2 enable
[SPE]bgp 100
[SPE-bgp]peer 1.1.1.1 as-number 100
[SPE-bgp]peer 1.1.1.1 connect-interface LoopBack 0
[SPE-bgp]peer 3.3.3.3 as-number 100
[SPE-bgp]peer 3.3.3.3 connect-interface LoopBack 0
[SPE-bgp]ipv4-family vpnv4
[SPE-bgp-af-vpnv4]peer 1.1.1.1 enable
[SPE-bgp-af-vpnv4]peer 3.3.3.3 enable
[PE]bgp 100
[PE-bgp]peer 2.2.2.2 as-number 100
[PE-bgp]peer 2.2.2.2 connect-interface LoopBack 0
[PE-bgp]ipv4-family vpnv4
[PE-bgp-af-vpnv4]peer 2.2.2.2 enable - UPE and PE To create a VPN example , And with CE Inter configuration EBGP
[UPE]ip vpn-instance vpna
[UPE-vpn-instance-vpna]ipv4-family
[UPE-vpn-instance-vpna-af-ipv4]route-distinguisher 100:1
[UPE-vpn-instance-vpna-af-ipv4]vpn-target 1:1
[UPE-GigabitEthernet0/0/1]ip binding vpn-instance vpna
[UPE-GigabitEthernet0/0/1]ip add 10.1.1.1 24
[UPE]bgp 100
[UPE-bgp]ipv4-family vpn-instance vpna
[UPE-bgp-vpna]peer 10.1.1.4 as-number 65410
[UPE-bgp-vpna]import-route direct
[CE1]bgp 65410
[CE1-bgp]peer 10.1.1.1 as-number 100
[CE1-bgp]import-route direct
[PE]ip vpn-instance vpna
[PE-vpn-instance-vpna]ipv
[PE-vpn-instance-vpna]ipv4-family
[PE-vpn-instance-vpna-af-ipv4]route-distinguisher 100:2
[PE-vpn-instance-vpna-af-ipv4]vpn-target 1:1
[PE-GigabitEthernet0/0/1]ip binding vpn-instance vpna
[PE-GigabitEthernet0/0/1]ip add 10.2.1.3 24
[PE]bgp 100
[PE-bgp]ipv4-family vpn-instance vpna
[PE-bgp-vpna]peer 10.2.1.5 as-number 65420
[PE-bgp-vpna]import-route direct
[CE2]bgp 65420
[CE2-bgp]peer 10.2.1.3 as-number 100
[CE2-bgp]import-route direct - SPE Configure routing reflector on
[SPE]bgp 100
[SPE-bgp]ipv4-family vpnv4
[SPE-bgp-af-vpnv4]undo policy vpn-target
[SPE-bgp-af-vpnv4]peer 1.1.1.1 reflect-client
[SPE-bgp-af-vpnv4]peer 1.1.1.1 next-hop-local - Check the configuration


边栏推荐
- How to package QT program learning records with inno setup
- Player practice 17 xvideowidget
- 使用make方法创建slice切片的坑
- Shell脚本到底是什么高大上的技术吗?
- [advanced MySQL] query optimization principle and scheme (6)
- 【活动早知道】LiveVideoStack近期活动一览
- Leetcode 2185. Counts the string containing the given prefix
- 测试工程师如何转型测开
- Chapter IV expression
- Copy word content to excel and automatically divide it into multiple columns
猜你喜欢

完美收官|详解 Go 分布式链路追踪实现原理

Program analysis and Optimization - 6 loop optimization

Player actual combat 21 audio and video synchronization

TestEngine with ID ‘junit-vintage‘ failed to discover tests

Player actual combat 13 create qtopengl project to promote window control and reload qoopenglwedge

C語言中主函數調用另外一個函數,匯編代碼理解

华为设备配置H虚拟专用网
![[early knowledge of activities] list of recent activities of livevideostack](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[early knowledge of activities] list of recent activities of livevideostack

NotePad 常用设置

动态搜索广告智能查找匹配关键字
随机推荐
Why do Chinese programmers change jobs?
Shell notes
SystemC learning materials
Analysis of two-dimensional array passing as function parameter (C language)
Des File Encryptor based on MFC framework
Nesting of C language annotations
通信流量分析
English learning plan
Conversion of player's actual 10 pixel format and size
CSDN博客积分规则
For cross-border e-commerce, the bidding strategy focusing more on revenue - Google SEM
Pay attention to click and pursue more users to enter the website. What bidding strategy can you choose?
Redis core configuration and advanced data types
Mold and remainder
测试工程师如何转型测开
程序分析与优化 - 6 循环优化
Remote code injection
Printing colored messages on the console with printf
Reverse order of Excel
Tlm/systemc: TLM socket binding problem