当前位置:网站首页>ENSP MPLS layer 3 dedicated line
ENSP MPLS layer 3 dedicated line
2022-07-07 12:08:00 【Chenjijjn】
Topology
Use... On the left OSPF, Use on the right ISIS. Route introduction on both sides , All routers are turned on MPLS.R3R4 Use EBGP Interworking . Two switches are used to make VLAN Connect to the sub interface of the router .
R1 To configure :
<r1>dis cu
#
sysname r1
#
mpls lsr-id 1.1.1.1
mpls
#
mpls ldp
#
interface GigabitEthernet0/0/0
ip address 10.0.100.1 255.255.255.252
mpls
mpls ldp
#
interface GigabitEthernet0/0/1
ip address 10.0.0.1 255.255.255.252
mpls
mpls ldp
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
#
ospf 1
import-route direct
area 0.0.0.0
network 1.1.1.1 0.0.0.0
network 10.0.0.0 0.0.0.3
network 10.0.100.0 0.0.0.3
#
R2 To configure :
<r2>dis cu
#
sysname r2
#
mpls lsr-id 2.2.2.2
mpls
#
mpls ldp
#
isis 100
network-entity 49.0001.0222.2000.0000.00
import-route direct
import-route ospf 1
#
interface GigabitEthernet0/0/0
ip address 10.0.100.2 255.255.255.252
isis enable 100
mpls
mpls ldp
#
interface GigabitEthernet0/0/1
ip address 10.0.1.1 255.255.255.252
isis enable 100
mpls
mpls ldp
#
interface LoopBack0
ip address 2.2.2.2 255.255.255.255
isis enable 100
#
ospf 1
import-route isis 100
area 0.0.0.0
network 0.0.0.0 255.255.255.255
R3 To configure :
#
sysname r3
#
ip vpn-instance vpna
ipv4-family
route-distinguisher 100:1
vpn-target 111:1 export-extcommunity
vpn-target 111:1 import-extcommunity
#
mpls lsr-id 3.3.3.3
mpls
#
mpls ldp
#
interface GigabitEthernet0/0/0
ip address 10.0.0.2 255.255.255.252
mpls
mpls ldp
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/1.10
dot1q termination vid 10
ip binding vpn-instance vpna
ip address 10.0.10.1 255.255.255.252
#
interface LoopBack0
ip address 3.3.3.3 255.255.255.255
#
bgp 100
router-id 3.3.3.3
peer 4.4.4.4 as-number 200
peer 4.4.4.4 ebgp-max-hop 10
peer 4.4.4.4 connect-interface LoopBack0
#
ipv4-family unicast
undo synchronization
peer 4.4.4.4 enable
peer 4.4.4.4 next-hop-local
#
ipv4-family vpnv4
policy vpn-target
peer 4.4.4.4 enable
#
ipv4-family vpn-instance vpna
import-route direct
import-route static
#
ospf 1
area 0.0.0.0
network 3.3.3.3 0.0.0.0
network 10.0.0.0 0.0.0.3
R4 To configure
#
sysname r4
#
ip vpn-instance vpna
ipv4-family
route-distinguisher 100:1
vpn-target 111:1 export-extcommunity
vpn-target 111:1 import-extcommunity
#
mpls lsr-id 4.4.4.4
mpls
#
mpls ldp
#
isis 100
network-entity 49.0001.0444.4000.0000.00
#
interface GigabitEthernet0/0/0
ip address 10.0.1.2 255.255.255.252
isis enable 100
mpls
mpls ldp
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/1.20
dot1q termination vid 20
ip binding vpn-instance vpna
ip address 10.0.20.1 255.255.255.252
#
interface GigabitEthernet0/0/2
ip binding vpn-instance vpna
ip address 10.0.30.1 255.255.255.252
#
interface LoopBack0
ip address 4.4.4.4 255.255.255.255
isis enable 100
#
bgp 200
router-id 4.4.4.4
peer 3.3.3.3 as-number 100
peer 3.3.3.3 ebgp-max-hop 10
peer 3.3.3.3 connect-interface LoopBack0
#
ipv4-family unicast
undo synchronization
import-route static
peer 3.3.3.3 enable
peer 3.3.3.3 next-hop-local
#
ipv4-family vpnv4
policy vpn-target
peer 3.3.3.3 enable
#
ipv4-family vpn-instance vpna
import-route direct
import-route static
#
3 Hosts can interact ping,R1R2 There are MPLS label
边栏推荐
- Complete collection of common error handling in MySQL installation
- Introduction and application of smoothstep in unity: optimization of dissolution effect
- 清华姚班程序员,网上征婚被骂?
- The road to success in R & D efficiency of 1000 person Internet companies
- Nuclear boat (I): when "male mothers" come into reality, can the biotechnology revolution liberate women?
- What is high cohesion and low coupling?
- 超标量处理器设计 姚永斌 第10章 指令提交 摘录
- 【神经网络】卷积神经网络CNN【含Matlab源码 1932期】
- [filter tracking] strapdown inertial navigation pure inertial navigation solution matlab implementation
- 即刻报名|飞桨黑客马拉松第三期盛夏登场,等你挑战
猜你喜欢
Explore cloud database of cloud services together
CMU15445 (Fall 2019) 之 Project#2 - Hash Table 详解
[filter tracking] strapdown inertial navigation pure inertial navigation solution matlab implementation
【滤波跟踪】基于matlab扩展卡尔曼滤波EKF和无迹卡尔曼滤波UKF比较【含Matlab源码 1933期】
Swiftui swift internal skill how to perform automatic trigonometric function calculation in swift
Unity中SmoothStep介绍和应用: 溶解特效优化
Suggestions on one-stop development of testing life
30. Few-shot Named Entity Recognition with Self-describing Networks 阅读笔记
Superscalar processor design yaoyongbin Chapter 9 instruction execution excerpt
MySQL安装常见报错处理大全
随机推荐
小红书微服务框架及治理等云原生业务架构演进案例
VIM command mode and input mode switching
Flet教程之 18 Divider 分隔符组件 基础入门(教程含源码)
Flet教程之 19 VerticalDivider 分隔符组件 基础入门(教程含源码)
What is a LAN domain name? How to parse?
How to understand the clothing industry chain and supply chain
110. Network security penetration test - [privilege promotion 8] - [windows sqlserver xp_cmdshell stored procedure authorization]
Superscalar processor design yaoyongbin Chapter 9 instruction execution excerpt
千人规模互联网公司研发效能成功之路
Summed up 200 Classic machine learning interview questions (with reference answers)
Test the foundation of development, and teach you to prepare for a fully functional web platform environment
Superscalar processor design yaoyongbin Chapter 8 instruction emission excerpt
powershell cs-UTF-16LE编码上线
【神经网络】卷积神经网络CNN【含Matlab源码 1932期】
【最短路】Acwing1128信使:floyd最短路
Sign up now | oar hacker marathon phase III midsummer debut, waiting for you to challenge
How to connect 5V serial port to 3.3V MCU serial port?
MySQL安装常见报错处理大全
[filter tracking] comparison between EKF and UKF based on MATLAB extended Kalman filter [including Matlab source code 1933]
108.网络安全渗透测试—[权限提升篇6]—[Windows内核溢出提权]