当前位置:网站首页>Huawei equipment is configured with CE dual attribution
Huawei equipment is configured with CE dual attribution
2022-06-12 15:58:00 【51CTO】

1. stay MPLS Backbone network configuration IGP agreement , Realize backbone network PE and P Interworking of
[PE1-LoopBack1]ip add 1.1.1.1 32
[PE1-GigabitEthernet0/0/0]ip add 20.1.1.1 24
[PE1]isis 1
[PE1-isis-1]network-entity 10.0000.0000.0001.00
[PE1-LoopBack1]isis enable 1
[PE1-GigabitEthernet0/0/0]isis enable 1
[P1-LoopBack1]ip add 2.2.2.2 32
[P1-GigabitEthernet0/0/0]ip add 20.1.1.2 24
[P1-GigabitEthernet0/0/1]ip add 30.1.1.2 24
[P1]isis 1
[P1-isis-1]network-entity 10.0000.0000.0002.00
[P1-LoopBack1]isis enable 1
[P1-GigabitEthernet0/0/0]isis enable 1
[P1-GigabitEthernet0/0/1]isis enable 1
[PE3-LoopBack1]ip add 3.3.3.3 32
[PE3-GigabitEthernet0/0/0]ip add 30.1.1.3 24
[PE3]isis 1
[PE3-isis-1]network-entity 10.0000.0000.0003.00
[PE3-LoopBack1]isis enable 1
[PE3-GigabitEthernet0/0/0]isis enable 1
[PE2-LoopBack1]ip add 4.4.4.4 32
[PE2-GigabitEthernet0/0/0]ip add 40.1.1.4 24
[PE2]isis 1
[PE2-isis-1]network-entity 10.0000.0000.0004.00
[PE2-LoopBack1]isis enable 1
[PE2-GigabitEthernet0/0/0]isis enable 1
[P2-LoopBack1]ip add 5.5.5.5 32
[P2-GigabitEthernet0/0/0]ip add 40.1.1.5 24
[P2-GigabitEthernet0/0/1]ip add 50.1.1.5 24
[P2]isis 1
[P2-isis-1]network-entity 10.0000.0000.0005.00
[P2-LoopBack1]isis enable 1
[P2-GigabitEthernet0/0/0]isis enable 1
[P2-GigabitEthernet0/0/1]isis enable 1
[PE4-LoopBack1]ip add 6.6.6.6 32
[PE4-GigabitEthernet0/0/0]ip add 50.1.1.6 24
[PE4]isis 1
[PE4-isis-1]network-entity 10.0000.0000.0006.00
[PE4-LoopBack1]isis enable 1
[PE4-GigabitEthernet0/0/0]isis enable 1
2. stay MPLS Backbone network configuration MPLS Basic abilities and MPLS LDP, establish LDP LSP
[PE1]mpls lsr-id 1.1.1.1
[PE1]mpls
[PE1]mpls ldp
[PE1-GigabitEthernet0/0/0]mpls
[PE1-GigabitEthernet0/0/0]mpls ldp
[P1]mpls lsr-id 2.2.2.2
[P1]mpls
[P1]mpls ldp
[P1-GigabitEthernet0/0/0]mpls
[P1-GigabitEthernet0/0/0]mpls ldp
[P1-GigabitEthernet0/0/1]mpls
[P1-GigabitEthernet0/0/1]mpls ldp
[PE3]mpls lsr-id 3.3.3.3
[PE3]mpls
[PE3]mpls ldp
[PE3-GigabitEthernet0/0/0]mpls
[PE3-GigabitEthernet0/0/0]mpls ldp
[PE2]mpls lsr-id 4.4.4.4
[PE2]mpls
[PE2]mpls ldp
[PE2-GigabitEthernet0/0/0]mpls
[PE2-GigabitEthernet0/0/0]mpls ldp
[P2]mpls lsr-id 5.5.5.5
[P2]mpls
[P2]mpls ldp
[P2-GigabitEthernet0/0/0]mpls
[P2-GigabitEthernet0/0/0]mpls ldp
[P2-GigabitEthernet0/0/1]mpls
[P2-GigabitEthernet0/0/1]mpls ldp
[PE4]mpls lsr-id 6.6.6.6
[PE4]mpls
[PE4]mpls ldp
[PE4-GigabitEthernet0/0/0]mpls
[PE4-GigabitEthernet0/0/0]mpls ldp


3. stay PE The device is configured with VPN example , take CE Access PE
[PE1]ip vpn-instance vpn1
[PE1-vpn-instance-vpn1]ipv4-family
[PE1-vpn-instance-vpn1-af-ipv4]route-distinguisher 100:1
[PE1-vpn-instance-vpn1-af-ipv4]vpn-target 1:1
[PE1-GigabitEthernet0/0/1]ip binding vpn-instance vpn1
[PE1-GigabitEthernet0/0/1]ip add 10.1.1.1 24
[PE3]ip vpn-instance vpn1
[PE3-vpn-instance-vpn1]ipv4-family
[PE3-vpn-instance-vpn1-af-ipv4]route-distinguisher 100:3
[PE3-vpn-instance-vpn1-af-ipv4]vpn-target 1:1
[PE3-GigabitEthernet0/0/1]ip binding vpn-instance vpn1
[PE3-GigabitEthernet0/0/1]ip add 10.3.1.3 24
[PE2]ip vpn-instance vpn1
[PE2-vpn-instance-vpn1]ipv4-family
[PE2-vpn-instance-vpn1-af-ipv4]route-distinguisher 100:2
[PE2-vpn-instance-vpn1-af-ipv4]vpn-target 1:1
[PE2-GigabitEthernet0/0/1]ip binding vpn-instance vpn1
[PE2-GigabitEthernet0/0/1]ip add 10.2.1.4 24
[PE4]ip vpn-instance vpn1
[PE4-vpn-instance-vpn1]ipv4-family
[PE4-vpn-instance-vpn1-af-ipv4]route-distinguisher 100:4
[PE4-vpn-instance-vpn1-af-ipv4]vpn-target 1:1
[PE4-GigabitEthernet0/0/1]ip binding vpn-instance vpn1
[PE4-GigabitEthernet0/0/1]ip add 10.4.1.6 24
4. stay PE Establish between MP-IBGP Peer relationship
[PE1]bgp 100
[PE1-bgp]peer 3.3.3.3 as-number 100
[PE1-bgp]peer 3.3.3.3 connect-interface LoopBack 1
[PE1-bgp]ipv4-family vpnv4
[PE1-bgp-af-vpnv4]peer 3.3.3.3 enable
[PE3]bgp 100
[PE3-bgp]peer 1.1.1.1 as-number 100
[PE3-bgp]peer 1.1.1.1 connect-interface LoopBack 1
[PE3-bgp]ipv4-family vpnv4
[PE3-bgp-af-vpnv4]peer 1.1.1.1 enable
[PE2]bgp 100
[PE2-bgp]peer 6.6.6.6 as-number 100
[PE2-bgp]peer 6.6.6.6 connect-interface LoopBack 1
[PE2-bgp]ipv4-family vpnv4
[PE2-bgp-af-vpnv4]peer 6.6.6.6 enable
[PE4]bgp 100
[PE4-bgp]peer 4.4.4.4 as-number 100
[PE4-bgp]peer 4.4.4.4 connect-interface LoopBack 1
[PE4-bgp]ipv4-family vpnv4
[PE4-bgp-af-vpnv4]peer 4.4.4.4 enable


5. stay PE And CE Configuration between EBGP Routing protocol , introduce VPN route
[CE1-GigabitEthernet0/0/0]ip add 10.1.1.7 24
[CE1-GigabitEthernet0/0/1]ip add 10.2.1.7 24
[CE1-GigabitEthernet0/0/2]ip ad 1.5.1.7 24
[CE1]bgp 65410
[CE1-bgp]peer 10.1.1.1 as-number 100
[CE1-bgp]peer 10.2.1.4 as-number 100
[CE1-bgp]import-route direct
[CE2-GigabitEthernet0/0/0]ip add 10.3.1.8 24
[CE2-GigabitEthernet0/0/1]ip add 10.4.1.8 24
[CE2-GigabitEthernet0/0/2]ip add 1.6.1.8 24
[CE2]bgp 65420
[CE2-bgp]peer 10.3.1.3 as-number 100
[CE2-bgp]peer 10.4.1.6 as-number 100
[CE2-bgp]import-route direct
[PE1]bgp 100
[PE1-bgp]ipv4-family vpn-instance vpn1
[PE1-bgp-vpn1]peer 10.1.1.7 as-number 65410
[PE1-bgp-vpn1]import-route direct
[PE2]bgp 100
[PE2-bgp]ipv4-family vpn-instance vpn1
[PE2-bgp-vpn1]peer 10.2.1.7 as-number 65410
[PE2-bgp-vpn1]import-route direct
PE3]bgp 100
[PE3-bgp]ipv4-family vpn-instance vpn1
[PE3-bgp-vpn1]peer 10.3.1.8 as-number 65420
[PE3-bgp-vpn1]import-route direct
[PE4]bgp 100
[PE4-bgp]ipv4-family vpn-instance vpn1
[PE4-bgp-vpn1]peer 10.4.1.8 as-number 65420
[PE4-bgp-vpn1]import-route direct

6. stay CE1 Configuration on allows CE1 To CE2 The traffic allows load sharing
[CE1]bgp 65410
[CE1-bgp]ipv4-family unicast
[CE1-bgp-af-ipv4]maximum load-balancing 2
7. Configure routing policies , increase PE3 Publish to CE2 Of BGP The routing MED value , send CE2 To CE1 Of flow through PE4,PE3 As backup
[PE3]route-policy p1 permit node 10
[PE3-route-policy]apply cost 120
[PE3]bgp 100
[PE3-bgp]ipv4-family vpn-instance vpn1
[PE3-bgp-vpn1]peer 10.3.1.8 route-policy p1 export

Find that for 1.5.1.0/30 The routing ,PE3 released MED The value is 120, Than PE4 released MED Large value ( By default MED The value of is 0), So choose PE4 released
8. Check the configuration

See go to the opposite end CE2 The route of the connected user , And load sharing

Go to the opposite end CE1 The route of the connected user , And the next jump is 10.4.1.6(PE4 Access on CE2 The interface of IP Address )
边栏推荐
- IGMP message (tcp/ip details volume 1/ Volume 2)
- 小程序:如何在插件中获取用户手机号
- Axure RP 9 for Mac(交互式产品原型设计工具)中文版
- [jvm learning] virtual machine stack
- ssm中的文件上传和下载
- Example of bit operation (to be continued)
- Escape analysis of golang compiler
- The nohup command uses
- Idea Encyclopedia (Reprinted)
- [jvm learning] local method stack and heap
猜你喜欢

写代码也有本手俗手之分,而我们要善于发现妙手!
![[automation] kolla Based Automated Deployment CEPH cluster](/img/d8/fdfd166204242faba406220f548ea5.jpg)
[automation] kolla Based Automated Deployment CEPH cluster

With a lamp inserted in the nostril, the IQ has risen and become popular in Silicon Valley. 30000 yuan is enough

< 山东大学软件学院项目实训 > 渲染引擎系统——基础渲染器(四)

Axure RP 9 for Mac(交互式产品原型设计工具)中文版

Interface.

华为设备配置CE双归属

FPGA (III) trigger and latch

【工具推荐】个人本地 markdown 知识图谱软件 Obsidian
![CUDA out of memory or brokenpipeerror: [errno 32] broken pipe or oserror: [winerror 1455] solution to the problem that the page file is too small](/img/2c/63f1c865105a74ed651bb0ef97ab60.png)
CUDA out of memory or brokenpipeerror: [errno 32] broken pipe or oserror: [winerror 1455] solution to the problem that the page file is too small
随机推荐
Web UI automation test
Divide training set, test set and verification set
安装rhel 7/8 (红帽)虚拟机(转载)
Data analysis | kmeans data analysis
VIM installation and common commands
Instructions de soumission des tâches télécharger les tâches sur le disque réseau
PHP builds a high-performance API architecture based on sw-x framework (II)
redis String类型常见命令
Singleton mode instance
Socket原理讲解(在哪、是什么、怎么用)
C语言 分割bin文件程序
IGMP message (tcp/ip details volume 1/ Volume 2)
小程序:如何在插件中获取用户手机号
Interface.
From K-means to capsule
Apache kylin Adventure
Points chocolate (two points answer) Blue Bridge Cup provincial competition
5g new scheme! Upgrade the existing base station and UE simulator to 5g millimeter wave band
Introduction and download website of common data of GIS, remote sensing, hydrology and Geography (2), supplementary~
同源?跨域?如何解决跨域?