当前位置:网站首页>Packet switching and label switching in MPLS
Packet switching and label switching in MPLS
2022-07-24 13:37:00 【Z_ forty-one thousand five hundred and twenty-seven】
MPLS ---- Multi protocol label switching technology
Packet exchange
Data consists of packets , after , It is continuously transmitted in each network node , Finally, we reach our goal
The problem of inefficient packet switching and forwarding :
1、 In the whole process of packet exchange , You need to query the routing table first and then check ARP Cache two tables to complete the forwarding process , Leading to low efficiency
2、 Matching principle of routing table ---- The longest matching principle causes the query efficiency of the routing table not to be too high
3、 There is a recursive lookup process in the routing table
4、IP The head is a variable length head , Lead us to IP When the head is read, it needs to be processed by software , Unable to find fast based on hardware
Control level
The data flow direction of the routing protocol , The purpose is to obtain the routing information of unknown network segments , Generate routing table
Data level
The device forwards specific data information based on the improved routing table , Its direction is exactly opposite to the flow of the control layer
Changes in packet exchange
1、 Process exchange
The earliest packet switching
Every packet needs to check the routing table first , I'll see later ARP Cache the table to determine the content of the two-layer package
2、 Fast packet switching
Stream based packet switching
One time routing , Exchange many times
3、 Cisco's express switching technology
CEF technology
It can greatly improve the forwarding efficiency of routing
Label switching
Label switching is between two-layer and three-layer packaging , Add a label that has a mapping relationship with the routing entry , Then maintain a table that records the correspondence and forwarding interface , Bring tagged data to the device , Look at the label first , Then forward based on the maintained tag forwarding table , There is no need to view the three-tier content . Because the label itself is short and fixed length , therefore , Its forwarding efficiency will be higher than that of packet switching .
But label exchange needs to label the packet first , Then you need to pop up the tag before reaching the target , therefore , Label switching only improves the efficiency in the forwarding process , On the whole, the improvement of intersecting packet exchange is not obvious
Control level
be based on FEC Assign tags , And get other LSR For the same FEC Assigned tags , after , Record generation LIB surface , Then combine FIB Generate LFIB surface
Data level
The device is based on LFIB surface , Forward according to the tag
Inbound LSR
MPLS The boundary of the domain , When a packet without a tag comes in LSR On , He needs to press labels into the packets
transit LSR
Complete the label replacement action LSR equipment
Departure LSR
It's also MPLS The boundary of the domain , Complete the pop-up action of the label
Label exchange can be done better :
1、 For resolution BGP The routing black hole of
2、MPLS VPN
3、MPLS TE ---- Flow engineering
Build static LSP:
1、 Ensure routing conditions
Static only requires the border device to have round-trip routing information
2、 To configure LSR
Inbound LSR
1. to LSR To configure LSR-ID
2. Activate MPLS
3. Build static LSP
Configure transit LSR
Configuration battle LSR
边栏推荐
- Network security - Web penetration testing
- 2022.07.21
- 支持鹏程系列开源大模型应用生态演化的可持续学习能力探索
- ICML2022 | 分支强化学习
- Go redis pipeline application
- 【论文阅读】TEMPORAL ENSEMBLING FOR SEMI-SUPERVISED LEARNING
- Kunyu(坤舆) 安装 详解
- Experience on how to improve the anti-interference of TTL (UART) communication
- Sort method -- bubble sort (use an array to sort a string of numbers from large to small or from small to large)
- Simple order management system small exercise
猜你喜欢

Go deadlock problem

论文笔记:Swin-Unet: Unet-like Pure Transformer for MedicalImage Segmentation

2022.07.21

Aike AI frontier promotion (7.24)

I realize large top stack with C I

Make a fake! Science has exposed the academic misconduct of nature's heavy papers, which may mislead the world for 16 years

ESP32ADC

Exploration of sustainable learning ability to support the application of ecological evolution of Pengcheng series open source large models

现代数据架构选型:Data Fabric、Data Mesh

Pointer advanced part (1)
随机推荐
Aggregation measurement of robot swarm intelligence based on group entropy
vscode配置用户代码片段(包括删除方法)
网络安全——文件上传渗透测试
How to generate expected data? Emory University and others' latest "deep learning controllable data generation" review, 52 page PDF, covering 346 documents, comprehensively expounds the controllable g
The use of two-dimensional array (including the definition of two-dimensional array, the declaration and initialization of two-dimensional array (dynamic initialization, static initialization), common
Dtcloud uses custom fonts
使用Activiti创建数据库表报错,
Thread multithreading
Basic operation of file
Detailed explanation of odoo JS DoAction
How can flinksql run in perjob mode on yarn? I submit tasks on SqlClient
网络安全——中间人攻击渗透测试
Group knowledge map: distributed knowledge transfer and federated map reasoning
Detailed tutorial of ettercap
网络安全——报错注入
Happy number ~ ~ ~ (in fact, I'm not happy at all) & ugly number
【论文阅读】TEMPORAL ENSEMBLING FOR SEMI-SUPERVISED LEARNING
为什么函数式接口 Comparator 中有 “两个抽象方法”?
On node embedding
I realize large top stack with C I