当前位置:网站首页>Huawei equipment is configured with IP and virtual private network hybrid FRR
Huawei equipment is configured with IP and virtual private network hybrid FRR
2022-06-13 02:03:00 【Tony_ long7483】

Configure interface IP Address
[PE1-LoopBack1]ip add 1.1.1.1 32
[PE1-GigabitEthernet0/0/0]ip add 10.3.1.1 24
[PE2-LoopBack1]ip add 2.2.2.2 32
[PE2-GigabitEthernet0/0/0]ip add 10.3.1.2 24
[CE-GigabitEthernet0/0/0]ip add 10.1.1.3 24
[CE-GigabitEthernet0/0/1]ip add 10.2.1.3 24
[CE-GigabitEthernet0/0/2]ip add 10.5.1.3 24stay MPLS Backbone network configuration OSPF agreement , Realize backbone network PE Interworking
[PE1]ospf 1
[PE1-ospf-1]area 0
[PE1-ospf-1-area-0.0.0.0]network 1.1.1.1 0.0.0.0
[PE1-ospf-1-area-0.0.0.0]network 10.3.1.0 0.0.0.255
[PE2]ospf 1
[PE2-ospf-1]area 0
[PE2-ospf-1-area-0.0.0.0]network 2.2.2.2 0.0.0.0
[PE2-ospf-1-area-0.0.0.0]network 10.3.1.0 0.0.0.255stay 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
[PE2]mpls lsr-id 2.2.2.2
[PE2]mpls
[PE2]mpls ldp
[PE2-GigabitEthernet0/0/0]mpls
[PE2-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
[PE2]ip vpn-instance vpn1
[PE2-vpn-instance-vpn1]ipv4-family
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.2 24CE and PE Configure static routing between . stay PE1 and PE2 Introducing direct connection on VPN Routing and static routing
[PE1]ip route-static vpn-instance vpn1 10.1.5.0 24 g0/0/1 10.1.1.3
[PE1]bgp 100
[PE1-bgp]ipv4-family vpn-instance vpn1
[PE1-bgp-vpn1]import-route direct
[PE1-bgp-vpn1]import-route static
[PE2]ip route-static vpn-instance vpn1 10.5.1.0 24 g0/0/1 10.2.1.3
[PE2]bgp 100
[PE2-bgp]ipv4-family vpn-instance vpn1
[PE2-bgp-vpn1]import-route direct
[PE2-bgp-vpn1]import-route static
[CE]ip route-static 0.0.0.0 0.0.0.0 10.1.1.1 preference 60
[CE]ip route-static 0.0.0.0 0.0.0.0 10.2.1.2 preference 100stay PE Establish between BGP VPNv4 peers
[PE1]bgp 100
[PE1-bgp]peer 2.2.2.2 as-number 100
[PE1-bgp]peer 2.2.2.2 connect-interface LoopBack 1
[PE1-bgp]ipv4-family vpnv4
[PE1-bgp-af-vpnv4]peer 2.2.2.2 enable
[PE2]bgp 100
[PE2-bgp]peer 1.1.1.1 as-number 100
[PE2-bgp]peer 1.1.1.1 connect-interface LoopBack 1
[PE2-bgp]ipv4-family vpnv4
[PE2-bgp-af-vpnv4]peer 1.1.1.1 enableConfiguration mix FRR Routing strategy
[PE1]ip ip-prefix f1 permit 10.1.1.3 32
[PE1]route-policy f1 permit node 10
[PE1-route-policy]if-match ip next-hop ip-prefix f1
[PE1-route-policy]apply backup-nexthop 2.2.2.2Can make IP FRR
[PE1]ip vpn-instance vpn1
[PE1-vpn-instance-vpn1]ipv4-family
[PE1-vpn-instance-vpn1-af-ipv4]ip frr route-policy f1
边栏推荐
- Server installation jupyterab and remote login configuration
- DFS and BFS to solve Treasure Island exploration
- Delphi implements adding a column of serial number to the CXGRID list
- swiper 横向轮播 grid
- Can't use typedef yet? C language typedef detailed usage summary, a solution to your confusion. (learning note 2 -- typedef setting alias)
- 万字讲清 synchronized 和 ReentrantLock 实现并发中的锁
- General IP address, account and password of mobile IPv6 optical cat login, and mobile optical cat is in bridging mode
- [work notes] the problem of high leakage current in standby mode of dw7888 motor driver chip
- Differences between constants and variables (detailed description) (learning note 3 -- variables and constants)
- Sensorless / inductive manufacturing of brushless motor drive board based on stm32
猜你喜欢

Learning notes 51 single chip microcomputer keyboard (non coding keyboard and coding keyboard, scanning mode of non coding keyboard, independent keyboard, matrix keyboard)
![[learning notes] xr872 audio driver framework analysis](/img/1a/008a89f835dc1b350a1f1ff27bee00.jpg)
[learning notes] xr872 audio driver framework analysis
![[work notes] the problem of high leakage current in standby mode of dw7888 motor driver chip](/img/d1/c4776e3db1b7560331fa569c40831a.jpg)
[work notes] the problem of high leakage current in standby mode of dw7888 motor driver chip

6、 Implementation of warehouse out management function

The scientific innovation board successfully held the meeting, and the IPO of Kuangshi technology ushered in the dawn

Magics 23.0如何激活和使用视图工具页的切片预览功能
![[work with notes] NDK compiles the open source library ffmpeg](/img/24/ed33e12a07e001fc708e0c023e479c.jpg)
[work with notes] NDK compiles the open source library ffmpeg
![[the second day of actual combat of smart lock project based on stm32f401ret6 in 10 days] (lighting with library function and register respectively)](/img/f7/b2463d8ffe75113d352cae332046db.jpg)
[the second day of actual combat of smart lock project based on stm32f401ret6 in 10 days] (lighting with library function and register respectively)

微服务开发环境搭建

Simple ranging using Arduino and ultrasonic sensors
随机推荐
Magics 23.0 how to activate and use the slice preview function of the view tool page
CXGRID keeps the original display position after refreshing the data
The method of drawing rounded panel with Delphi
华为设备配置虚拟专用网FRR
SQL Server 删除数据库所有表和所有存储过程
Differences between constants and variables (detailed description) (learning note 3 -- variables and constants)
Devexpress implementation flow chart
QT realizes mind mapping function (II)
Opencv camera calibration (1): internal and external parameters, distortion coefficient calibration and 3D point to 2D image projection
When AI meets music, iFLYTEK music leads the industry reform with technology
Application and routine of C language typedef struct
Delphi Google API text to speech MP3 file
SQL server deletes all tables and all stored procedures in the database
Use mediapipe+opencv to make a simple virtual keyboard
C language volatile learning
[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
How to learn C language and share super detailed experience (learning note 1 -- basic data types of C language)
5、 Improvement of inventory query function
Developer contributions amd Xilinx Chinese Forum sharing - wisdom of questioning
[learning notes] xr872 audio driver framework analysis