当前位置:网站首页>Huawei equipment is configured with dual reflectors to optimize the backbone layer of the virtual private network
Huawei equipment is configured with dual reflectors to optimize the backbone layer of the virtual private network
2022-06-13 02:02:00 【Tony_ long7483】

To configure IP Address
[PE1-LoopBack1]ip add 1.1.1.1 32
[PE1-GigabitEthernet0/0/0]ip add 20.1.1.1 24
[PE1-GigabitEthernet0/0/2]ip add 50.1.1.1 24
[RR1-LoopBack1]ip add 2.2.2.2 32
[RR1-GigabitEthernet0/0/0]ip add 30.1.1.2 24
[RR1-GigabitEthernet0/0/1]ip add 20.1.1.2 24
[RR1-GigabitEthernet0/0/2]ip add 60.1.1.2 24
[RR2-LoopBack1]ip add 3.3.3.3 32
[RR2-GigabitEthernet0/0/0]ip add 30.1.1.3 24
[RR2-GigabitEthernet0/0/1]ip add 40.1.1.3 24
[RR2-GigabitEthernet0/0/2]ip add 50.1.1.3 24
[PE2-LoopBack1]ip add 4.4.4.4 32
[PE2-GigabitEthernet0/0/0]ip add 40.1.1.4 24
[PE2-GigabitEthernet0/0/2]ip add 60.1.1.4 24
[CE1-GigabitEthernet0/0/0]ip add 10.1.1.5 24
[CE2-GigabitEthernet0/0/0]ip add 10.2.1.6 24stay MPLS Backbone configuration IGP, Realize the backbone network IP Connectivity
[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 20.1.1.0 0.0.0.255
[PE1-ospf-1-area-0.0.0.0]network 50.1.1.0 0.0.0.255
[RR1]ospf 1
[RR1-ospf-1]area 0
[RR1-ospf-1-area-0.0.0.0]network 2.2.2.2 0.0.0.0
[RR1-ospf-1-area-0.0.0.0]network 30.1.1.0 0.0.0.255
[RR1-ospf-1-area-0.0.0.0]network 60.1.1.0 0.0.0.255
[RR1-ospf-1-area-0.0.0.0]network 20.1.1.0 0.0.0.255
[RR2]ospf 1
[RR2-ospf-1]area 0
[RR2-ospf-1-area-0.0.0.0]network 3.3.3.3 0.0.0.0
[RR2-ospf-1-area-0.0.0.0]network 40.1.1.0 0.0.0.255
[RR2-ospf-1-area-0.0.0.0]network 50.1.1.0 0.0.0.255
[RR2-ospf-1-area-0.0.0.0]network 30.1.1.0 0.0.0.255
[PE2]ospf 1
[PE2-ospf-1]area 0
[PE2-ospf-1-area-0.0.0.0]network 4.4.4.4 0.0.0.0
[PE2-ospf-1-area-0.0.0.0]network 40.1.1.0 0.0.0.255
[PE2-ospf-1-area-0.0.0.0]network 60.1.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
[PE1-GigabitEthernet0/0/2]mpls
[PE1-GigabitEthernet0/0/2]mpls ldp
[RR1]mpls lsr-id 2.2.2.2
[RR1]mpls
[RR1]mpls ldp
[RR1-GigabitEthernet0/0/0]mpls
[RR1-GigabitEthernet0/0/0]mpls ldp
[RR1-GigabitEthernet0/0/1]mpls
[RR1-GigabitEthernet0/0/1]mpls ldp
[RR1-GigabitEthernet0/0/2]mpls
[RR1-GigabitEthernet0/0/2]mpls ldp
[RR2]mpls lsr-id 3.3.3.3
[RR2]mpls
[RR2]mpls ldp
[RR2-GigabitEthernet0/0/0]mpls
[RR2-GigabitEthernet0/0/0]mpls ldp
[RR2-GigabitEthernet0/0/1]mpls
[RR2-GigabitEthernet0/0/1]mpls ldp
[RR2-GigabitEthernet0/0/2]mpls
[RR2-GigabitEthernet0/0/2]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
[PE2-GigabitEthernet0/0/2]mpls
[PE2-GigabitEthernet0/0/2]mpls ldp
stay PE The device is configured with VPN example
[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
[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 24stay PE And CE Establish between EBGP Peer relationship , introduce VPN route
[CE1]bgp 65410
[CE1-bgp]peer 10.1.1.1 as-number 100
[PE1]bgp 100
[PE1-bgp]ipv4-family vpn-instance vpn1
[PE1-bgp-vpn1]peer 10.1.1.5 as-number 65410
[PE1-bgp-vpn1]import-route direct
[CE2]bgp 65420
[CE2-bgp]peer 10.2.1.4 as-number 100
[PE2]bgp 100
[PE2-bgp]ipv4-family vpn-instance vpn1
[PE2-bgp-vpn1]peer 10.2.1.6 as-number 65420
[PE2-bgp-vpn1]import-route directestablish PE With the reflector MP-IBGP Peer relationship
[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]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 2.2.2.2 enable
[PE1-bgp-af-vpnv4]peer 3.3.3.3 enable
[RR1]bgp 100
[RR1-bgp]group rr1 internal
[RR1-bgp]peer rr1 connect-interface LoopBack 1
[RR1-bgp]peer 1.1.1.1 group rr1
[RR1-bgp]peer 3.3.3.3 group rr1
[RR1-bgp]peer 4.4.4.4 group rr1
[RR1-bgp]ipv4-family vpnv4
[RR1-bgp-af-vpnv4]peer rr1 enable
[RR1-bgp-af-vpnv4]peer 1.1.1.1 group rr1
[RR1-bgp-af-vpnv4]peer 3.3.3.3 group rr1
[RR1-bgp-af-vpnv4]peer 4.4.4.4 group rr1
[RR2]bgp 100
[RR2-bgp]group rr2 internal
[RR2-bgp]peer rr2 connect-interface LoopBack 1
[RR2-bgp]peer 1.1.1.1 group rr2
[RR2-bgp]peer 2.2.2.2 group rr2
[RR2-bgp]peer 4.4.4.4 group rr2
[RR2-bgp]ipv4-family vpnv4
[RR2-bgp-af-vpnv4]peer rr2 enable
[RR2-bgp-af-vpnv4]peer 1.1.1.1 group rr2
[RR2-bgp-af-vpnv4]peer 2.2.2.2 group rr2
[RR2-bgp-af-vpnv4]peer 4.4.4.4 group rr2
[PE2]bgp 100
[PE2-bgp]peer 2.2.2.2 as-number 100
[PE2-bgp]peer 2.2.2.2 connect-interface LoopBack 1
[PE2-bgp]peer 3.3.3.3 as-number 100
[PE2-bgp]peer 3.3.3.3 connect-interface LoopBack 1
[PE2-bgp]ipv4-family vpnv4
[PE2-bgp-af-vpnv4]peer 3.3.3.3 enable
[PE2-bgp-af-vpnv4]peer 2.2.2.2 enable
stay RR1 and RR2 Configure reflection function on
[RR1]bgp 100
[RR1-bgp]ipv4-family vpnv4
[RR1-bgp-af-vpnv4]reflector cluster-id 100
[RR1-bgp-af-vpnv4]peer rr1 reflect-client
[RR1-bgp-af-vpnv4]undo policy vpn-target
[RR2]bgp 100
[RR2-bgp]ipv4-family vpnv4
[RR2-bgp-af-vpnv4]reflector cluster-id 100
[RR2-bgp-af-vpnv4]peer rr2 reflect-client
[RR2-bgp-af-vpnv4]undo policy vpn-target
8. Verification configuration
It is found that there is a remote connection CE The routing

边栏推荐
- [unity] problems encountered in packaging webgl project and their solutions
- Opencv camera calibration (1): internal and external parameters, distortion coefficient calibration and 3D point to 2D image projection
- [single chip microcomputer] single timer in front and back platform program framework to realize multi delay tasks
- Gome's ambition of "folding up" app
- Numpy multidimensional array transpose transpose
- Cmake has no obvious error after compilation, but prompts that pthread cannot be found
- Delphi implements adding a column of serial number to the CXGRID list
- [sequence structure, branch structure, loop structure, continue statement, break statement, return statement] (learning Note 6 -- C language process control)
- Padavan mounts SMB sharing and compiles ffmpeg
- JSON and protobuf Any interchange
猜你喜欢

华为设备配置双反射器优化虚拟专用网骨干层
![[learning notes] xr872 audio driver framework analysis](/img/1a/008a89f835dc1b350a1f1ff27bee00.jpg)
[learning notes] xr872 audio driver framework analysis

In addition to the full screen without holes under the screen, the Red Devils 7 series also has these black technologies

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

Restful interface specification annotation of pringboot (2)

Decoding iFLYTEK open platform 2.0 is a fertile land for developers and a source of industrial innovation

Devaxpress Chinese description --tdximageslider (picture rotation control)

Vscode configuration header file -- Take opencv and its own header file as an example

In the third quarter, the revenue and net profit increased "against the trend". What did vatti do right?

【Unity】打包WebGL项目遇到的问题及解决记录
随机推荐
[programming idea] communication interface of data transmission and decoupling design of communication protocol
Differences between constants and variables (detailed description) (learning note 3 -- variables and constants)
[work notes] xr872 codec driver migration and application program example (with chip debugging method)
Day 1 of the 10 day smart lock project (understand the SCM stm32f401ret6 and C language foundation)
Ruixing coffee moves towards "national consumption"
In the third quarter, the revenue and net profit increased "against the trend". What did vatti do right?
Vscode configuration header file -- Take opencv and its own header file as an example
[single chip microcomputer] single timer in front and back platform program framework to realize multi delay tasks
pringboot之restfull接口规范注解(二)
LabVIEW large project development tools to improve quality
华为设备配置虚拟专用网FRR
Calculation of accuracy, recall rate, F1 value and accuracy rate of pytorch prediction results (simple implementation)
C语言压缩字符串保存到二进制文件,从二进制文件读取压缩字符串后解压。
Implementation of pointer linked list
uniapp 预览功能
[the second day of actual combat of smart lock project based on stm32f401ret6 in 10 days] (lighting with library function and register respectively)
Installing Oracle with docker for Mac
CXGRID keeps the original display position after refreshing the data
Devaxpress Chinese description -- tdxgallerycontrol object (gallery component)
移动IPv6光猫登录的一般ip地址账号与密码,移动光猫变桥接模式