当前位置:网站首页>Huawei equipment configures private IP routing FRR
Huawei equipment configures private IP routing FRR
2022-06-13 02:02:00 【Tony_ long7483】

- VPN In site configuration IP Address
[PE-GigabitEthernet0/0/0]ip add 10.1.1.1 24
[PE-GigabitEthernet0/0/2]ip add 10.2.1.1 24
[CE1-GigabitEthernet0/0/0]ip add 10.1.1.2 24
[CE1-GigabitEthernet0/0/1]ip add 10.3.1.2 24
[CE2-GigabitEthernet0/0/0]ip add 10.2.1.3 24
[CE2-GigabitEthernet0/0/1]ip add 10.4.1.3 24
[AR4-LoopBack1]ip add 4.4.4.4 32
[AR4-GigabitEthernet0/0/0]ip add 10.3.1.4 24
[AR4-GigabitEthernet0/0/1]ip add 10.4.1.4 24 - VPN In site configuration OSPF, bring AR4 Of Loopback Interface routes can be sent to CE1,CE2
[CE1]ospf 1
[CE1-ospf-1]area 0
[CE1-ospf-1-area-0.0.0.0]network 10.1.1.0 0.0.0.255
[CE1-ospf-1-area-0.0.0.0]network 10.3.1.0 0.0.0.255
[CE2]ospf 1
[CE2-ospf-1]area 0
[CE2-ospf-1-area-0.0.0.0]network 10.2.1.0 0.0.0.255
[CE2-ospf-1-area-0.0.0.0]network 10.4.1.0 0.0.0.255
[AR4]ospf 1
[AR4-ospf-1]area 0
[AR4-ospf-1-area-0.0.0.0]network 4.4.4.4 0.0.0.0
[AR4-ospf-1-area-0.0.0.0]network 10.3.1.0 0.0.0.255
[AR4-ospf-1-area-0.0.0.0]network 10.4.1.0 0.0.0.255 - stay PE On the configuration VPN Examples and OSPF Multiple instances
[PE]ip vpn-instance vpn1
[PE-vpn-instance-vpn1]ipv4-family
[PE-vpn-instance-vpn1-af-ipv4] route-distinguishe 100:1
[PE-vpn-instance-vpn1-af-ipv4]vpn-target 1:1
[PE-GigabitEthernet0/0/0]ip binding vpn-instance vpn1
[PE-GigabitEthernet0/0/0]ip add 10.1.1.1 24
[PE-GigabitEthernet0/0/1]ip binding vpn-instance vpn1
[PE-GigabitEthernet0/0/1]ip add 10.2.1.1 24
[PE]ospf vpn-instance vpn1 // To configure OSPF Multiple instances
[PE-ospf-1]area 0
[PE-ospf-1-area-0.0.0.0]network 10.1.1.0 0.0.0.255
[PE-ospf-1-area-0.0.0.0]network 10.2.1.0 0.0.0.255 - To configure OSPF Interface Cost value ,
[PE-GigabitEthernet0/0/1]ospf cost 100 // stay PE Of g0/0/1 To configure Cost value , send OSPF Preferred link CE1
[AR4-GigabitEthernet0/0/1]ospf cost 100 - Configure routing policies , Configure backup next hop and backup out interface . Simultaneous configuration if-match term , Limit the scope of application .
[PE]ip ip-prefix f1 permit 4.4.4.4 32
[PE]route-policy f1 permit node 10
[PE-route-policy]if-match ip-prefix f1
[PE-route-policy]apply backup-nexthop 10.2.1.3
[PE-route-policy]apply backup-interface g0/0/1 - To configure BFD And IP FRR linkage
[PE]bfd
[PE]bfd f1 bind peer-ip 10.1.1.2 vpn-instance vpn1 interface g0/0/0
[PE-bfd-session-f1]discriminator local 10
[PE-bfd-session-f1]discriminator remote 20
[PE-bfd-session-f1]commit
[CE1]bfd
[CE1]bfd f1 bind peer-ip 10.1.1.1 interface g0/0/0
[CE1-bfd-session-f1]discriminator local 20
[CE1-bfd-session-f1]discriminator remote 10
[CE1-bfd-session-f1]commit - Enable private network IP FRR function
[PE]ip vpn-instance vpn1
[PE-vpn-instance-vpn1]ipv4-family
[PE-vpn-instance-vpn1-af-ipv4]ip frr route-policy f1 - Check the configuration

notice PE climb to 4.4.4.4/32 The next hop of the route is 10.1.1.2, And backup the next hop 、 Backup out interface
[CE1-GigabitEthernet0/0/1]shutdown

边栏推荐
- 回顾ITIL各版本历程,找到企业运维发展的关键点
- 【 unity】 Problems Encountered in Packaging webgl Project and their resolution Records
- Mac使用Docker安装Oracle
- Pytoch freeze pre training weights (feature extraction and BN layer)
- PyFlink实现自定义SourceFunction
- How many smart bids does Google have?
- Sensorless / inductive manufacturing of brushless motor drive board based on stm32
- Decompression and compression of chrome resource file Pak
- Vscode configuration header file -- Take opencv and its own header file as an example
- Introduction to common ROS commands
猜你喜欢

STM32 IIC protocol controls pca9685 steering gear drive board

STM32 sensorless brushless motor drive

Mac下搭建MySQL环境
![[the 4th day of the 10 day smart lock project based on stm32f401ret6] what is interrupt, interrupt service function, system tick timer](/img/c4/0d97def5fb587b8301bcb907fc6fcf.jpg)
[the 4th day of the 10 day smart lock project based on stm32f401ret6] what is interrupt, interrupt service function, system tick timer

Why is "iFLYTEK Super Brain 2030 plan" more worthy of expectation than "pure" virtual human

uniapp 预览功能

Gome's ambition of "folding up" app

华为设备配置双反射器优化虚拟专用网骨干层

The commercial value of Kwai is being seen by more and more brands and businesses

DFS and BFS to solve Treasure Island exploration
随机推荐
Interruption of 51 single chip microcomputer learning notes (external interruption, timer interruption, interrupt nesting)
rsync 传输排除目录
Jeux de plombiers
Delphi7 compressed pictures (BMP, JPG, PNG)
Pyflink implements custom sourcefunction
Read routing table
TensorFlow 2. X multi graphics card distributed training
Implementation of pointer linked list
How do you use your own data to achieve your marketing goals?
How many smart bids does Google have?
Cmake has no obvious error after compilation, but prompts that pthread cannot be found
Ten thousand words make it clear that synchronized and reentrantlock implement locks in concurrency
The execution results of i+=2 and i++ i++ under synchronized are different
Workspace for ROS
[unity] problems encountered in packaging webgl project and their solutions
Topic creation and running example of ROS
STM32 timer interrupt learning notes
Vscode configuration header file -- Take opencv and its own header file as an example
[arithmetic, relation, logic, bit, compound assignment, self increasing, self decreasing and other] operators (learning note 4 -- C language operators)
记录:如何解决MultipartFile类的transferTo()上传图片报“系统找不到指定的路径“问题【亲测有效】