当前位置:网站首页>BGP routing optimization rules and notification principles
BGP routing optimization rules and notification principles
2022-07-02 06:09:00 【Hot pot means red pot】
BGP Routing preference rules
When there are multiple routes to the same destination network segment ,BGP Route optimization is carried out in the following order :
Premise : Discard the next hop unreachable route
- optimization Preferred-Value( Preferred protocol preferred value ) The route with the largest attribute value , The default is 0, Unique to Huawei .
- optimization Local_Preference The route with the largest attribute value . The local priority attribute is in the whole AS Intransition , But not to AS outside , The higher the value, the higher the priority , Generally used as AS The internal router selects an optimal exit to the outside . Default local priority 100 .
- Local (local) Starting Of BGP Routing is better than the routing learned from other peers , Local origin priority : Preferred manual aggregation > Automatic aggregation >network>import> What we learned from the equivalent
- optimization AS_Path Property value The shortest The routing
- optimization Origin Attribute optimal routing .Origin The attribute values are ranked from high to low in priority :IGP、EGP And Incomplete
- optimization MED The route with the smallest attribute value
- Preferably from EBGP Peer to peer routing (EBGP Routing priority is higher than IBG)
- Choose to Next_Hop Of IGP The route with the smallest metric
- optimization Cluster_List The shortest route
- optimization Router ID(Orginator_ID) Minimal device advertised routing
- It is preferred to have a minimum IP Route of peer advertisement of address
- The above rules are arranged in order ,BGP When routing optimization , Start with the first rule , If you cannot make a judgment according to the first rule , For example, routed Preferred-Value Same property value , Then continue to execute the next rule , If according to the current rules ,BGP Can decide the best route , No further execution .
Memory formula :PL-lao-man, front 2 The larger the value, the better , The smaller the value of the last few items, the better , At present 8 When all the attributes of the bar are the same , Routing load sharing can be formed
notes It means :
When a route to the same destination in the public network forms load sharing , The system will first determine the type of optimal route . If the optimal route is IBGP Routing is just IBGP Routing participates in load sharing , If the optimal route is EBGP Routing is just EBGP Routing participates in load sharing , That is, those who arrive at the same destination in the public network IBGP and EBGP Routing cannot form load sharing .
BGP Notification principle
1、 from EBGP Routes obtained by peers
a Will be posted to EBGP peers
b Will be posted to IBGP peers
2、 from IBGP Routes obtained by peers
a Will not be published to IBGP peers
b Whether to publish to EBGP peers , It depends on whether it is turned on BGP Sync
IBGP And IGP The concept of synchronization :BGP Spaker Will not be from IBGP The routing information obtained by the peer is announced to it EBGP peers , Unless the routing information can also pass IGP get .( stay IBGP Routes are added to the routing table and published to EBGP Before the peer , Will check IGP Routing table , Only in IGP Also know this route , It will be added to the routing table , And publish to EBGP peers )( This is to prevent routing black holes , But on Huawei equipment , The default is off , And it cannot be opened , Mainly worried about IGP Can't pass BGP A huge amount of routing information , At this time, you can consider IBGP Full connection ,RR And the alliance )
3、 Only will BGP The optimal route of is published to the peer
a It works + The optimal , namely *+>
b If the route is invalid , Then it's not optimal
c Whether the route is valid , There are two conditions : Whether the next jump can reach ,BGP And IGP Whether synchronization is on
4、 Send only updated routes
边栏推荐
- 来自读者们的 I/O 观后感|有奖征集获奖名单
- Deep learning classification network -- vggnet
- Lucene Basics
- 步骤详解 | 助您轻松提交 Google Play 数据安全表单
- Redis Key-Value数据库 【秒杀】
- No subject alternative DNS name matching updates. jenkins. IO found, the reason for the error and how to solve it
- Eco express micro engine system has supported one click deployment to cloud hosting
- Little bear sect manual query and ADC in-depth study
- 线性dp(拆分篇)
- 神机百炼3.53-Kruskal
猜你喜欢

Leverage Google cloud infrastructure and landing area to build enterprise level cloud native excellent operation capability

LeetCode 90. 子集 II

谷歌出海创业加速器报名倒计时 3 天,创业人闯关指南提前收藏!

Zhuanzhuanben - LAN construction - Notes

How to use mitmproxy

【C语言】简单实现扫雷游戏
![[C language] simple implementation of mine sweeping game](/img/f7/15d561b3c329847971cabd4708c851.png)
[C language] simple implementation of mine sweeping game

Current situation analysis of Devops and noops

Data playback partner rviz+plotjuggler

数据回放伴侣Rviz+plotjuggler
随机推荐
经典文献阅读之--SuMa++
让每一位开发者皆可使用机器学习技术
Current situation analysis of Devops and noops
神机百炼3.54-染色法判定二分图
脑与认知神经科学Matlab Psytoolbox认知科学实验设计——实验设计四
Shenji Bailian 3.53-kruskal
492.构造矩形
Page printing plug-in print js
BGP报文详细解释
穀歌出海創業加速器報名倒計時 3 天,創業人闖關指南提前收藏!
谷歌出海创业加速器报名倒计时 3 天,创业人闯关指南提前收藏!
BGP 路由优选规则和通告原则
Redis Key-Value数据库 【高级】
ESP8266与STC8H8K单片机联动——天气时钟
在uni-app中引入uView
Comment utiliser mitmproxy
如何使用MITMPROXy
Can't the dist packaged by vite be opened directly in the browser
Happy Lantern Festival | Qiming cloud invites you to guess lantern riddles
Database learning summary 5