当前位置:网站首页>Huawei equipment is configured with CE dual attribution
Huawei equipment is configured with CE dual attribution
2022-06-13 02:03:00 【Tony_ long7483】

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 1stay 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

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 24stay 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

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
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 2Configure 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 )
边栏推荐
- JSON and protobuf Any interchange
- Can't use typedef yet? C language typedef detailed usage summary, a solution to your confusion. (learning note 2 -- typedef setting alias)
- 【Unity】打包WebGL項目遇到的問題及解决記錄
- Get started quickly cmake
- Differences between constants and variables (detailed description) (learning note 3 -- variables and constants)
- The commercial value of Kwai is being seen by more and more brands and businesses
- 华为设备配置虚拟专用网FRR
- STM32 steering gear controller
- LeetCode每日一题——890. 查找和替换模式
- Vs how to enter chromium subprocess debugging
猜你喜欢
![[work with notes] NDK compiles the open source library ffmpeg](/img/24/ed33e12a07e001fc708e0c023e479c.jpg)
[work with notes] NDK compiles the open source library ffmpeg

Qt实现思维导图功能(二)

uniapp 预览功能

Calculation of accuracy, recall rate, F1 value and accuracy rate of pytorch prediction results (simple implementation)

General IP address, account and password of mobile IPv6 optical cat login, and mobile optical cat is in bridging mode

(no plug-in) summary of vim basic shortcut keys

Matplotlib drawing Chinese garbled code

微服务开发环境搭建

Detailed understanding of white noise

When AI meets music, iFLYTEK music leads the industry reform with technology
随机推荐
rsync 传输排除目录
Luzhengyao, who has entered the prefabricated vegetable track, still needs to stop being impatient
[work notes] the problem of high leakage current in standby mode of dw7888 motor driver chip
A DPU architecture without CPU: Hyperion
指针链表的实现
How do you use your own data to achieve your marketing goals?
Parameter measurement method of brushless motor
C language conditional compilation routine
Sensor: MQ-5 gas module measures the gas value (code attached at the bottom)
(no plug-in) summary of vim basic shortcut keys
STM32 steering gear controller
synchronized下的 i+=2 和 i++ i++执行结果居然不一样
uniapp 预览功能
How many smart bids does Google have?
如何解决通过new Date()获取时间写出数据库与当前时间相差8小时问题【亲测有效】
Read routing table
[the second day of the actual combat of the smart lock project based on stm32f401ret6 in 10 days] light up with the key ----- input and output of GPIO
js获取元素
LabVIEW large project development tools to improve quality
The first cell of devaxpress CXGRID after inserting a row is in focus editing status