当前位置:网站首页>Hcip notes 12 days
Hcip notes 12 days
2022-07-25 16:49:00 【Yunyinqi mountain】
8, Routing reflectors
Reflection rules of routing reflectors :
1, When a route reflector learns a route from its client , Then he will reflect this routing information to all his customers and non customers
2, If the route reflector learns a route from its non customers , Then he will reflect this routing information to all his customers, but he cannot
because IBGP Horizontal segmentation is to prevent the generation of loops , The route reflector reflects the route and then breaks IBGP The horizontal division of , It may cause the appearance of the loop .
Originator ID --- O_ID --- When a routing message comes to the routing reflector , The reflector needs to reflect this route information , This attribute will be added to the routing information before reflection , The value of this attribute is the notifier of the reflector receiving this route information RID, after , Other routing reflectors receive a routing message if it contains O_ID, Then he will not change this attribute .
If in a AS among , There are multiple reflections , Then there must be multiple reflection clusters , Then each RR When reflecting the routing information, local clusters will be added to the cluster list attribute ID. When a device receives a reflected routing message , The cluster list attribute contains local clusters ID, You will no longer learn this route , To prevent the generation of loops .
[r3-bgp]peer 2.2.2.2 reflect-client --- Appoint R2 As a reflective customer , At the same time R3 Automatically become RR
9, The federal
The idea of the union is to put the same AS In the middle of IBGP The peer relationship is changed to EBGP Peer relationship , In this way to break IBGP The horizontal division of . This requires different IBGP Peers are divided into different members AS among , member AS Between the establishment of EBGP Peer relationship is a special EBGP Peer relationship , They only follow EBGP Transitivity of peers , From the perspective of the content of transmission , Still need to follow AS-BY-AS The rules , Because from a macro point of view , They are still in the same AS among .
The federal approach is also equivalent to breaking IBGP The horizontal division of , Loop problems may also occur , You need to consider anti ring . The anti ring method can be directly used for reference EBGP Horizontal segmentation , stay AS_PATH Add members to the attribute AS No. to prevent loopback . Be careful : To distinguish members AS And normal AS, member AS The number will be enclosed in parentheses .
Configuration of federation :
[r2]bgp 64512 --- Federate device startup
10,BGP The road selection principle
BGP The prerequisite for choosing a route --- Discard all unavailable routing information

1, optimization PV The route with the largest value
PV Value is Huawei's private attribute , It can be understood as weight , The greater the numerical , The higher the priority , And because he is the first principle in the road selection principles , therefore , This attribute is the most convenient attribute for routing on this device .--- This attribute can only take effect on this device , He can't pass it on to anyone BGP peers .
modify PV Affect the configuration of routing :
Method 1 : Global modification

Load sharing --- That is, let different traffic go on different lines , Share the pressure of a single line .
2, optimization LP The route with the largest attribute value
LP --- Local priority --- The default value is 100, The bigger the better . This property can be used in IBGP Between peers
3, The priority of self initiated routes is higher than that learned from peers , There are many ways to start your own , Their priority relationship is manual aggregation > Automatic aggregation >network>import
4, optimization AS_PATH Attribute the shortest route
AS_PATH Attributes in
边栏推荐
猜你喜欢
![[redis] redis installation](/img/4a/750a0b8ca72ec957987fc34e55992f.png)
[redis] redis installation

Fastadmin TP installation uses Baidu rich text editor ueeditor

Various useful forms of London Silver K-line chart

2D 语义分割——DeepLabV3plus 复现

失意的互联网人拼命叩开Web3大门

从业务需求出发,开启IDC高效运维之路

MyBaits

【redis】redis安装

搜狗批量推送软件-搜狗批量推送工具【2022最新】

3D semantic segmentation - scribed supervised lidar semantic segmentation
随机推荐
Is the win11 dynamic tile gone? Method of restoring dynamic tile in Win 11
柏睿数据加入阿里云PolarDB开源数据库社区
[xiao5 chat] check the official account < the service provided by the official account has failed, please wait a moment>
Paper notes: highly accurate protein structure prediction with alphafold (alphafold 2 & appendix)
How to deploy applications on IPFs using 4everland cli
HCIP笔记十一天
LVGL 7.11 tileview界面循环切换
easyui datagrid控件使用
Google Earth Engine——全球建筑物GlobalMLBuildingFootprints矢量集合下载
What is chain game system development? How to make chain game system development
测试框架-unittest-测试套件、结果输出到文件
slf4j 搭配 log4j2 处理日志
免费的低代码开发平台有哪些?
Getting started with easyUI
首页门户分类查询
复旦大学EMBA2022毕业季丨毕业不忘初心 荣耀再上征程
Fudan University emba2022 graduation season - graduation does not forget the original intention and glory to embark on the journey again
QT ListView 列表显示组件笔记
一百个用户眼中,就有一百个QQ
0x80131500 solution for not opening Microsoft Store