当前位置:网站首页>CCNP Part XII BGP (IV)
CCNP Part XII BGP (IV)
2022-07-01 10:10:00 【CCIE-Yasuo】
CCNP- Chapter 12 -BGP( Four )
This time, we will continue to follow the last route selection principle
Last time it was before 6 strip , Now it's the following 7 strip
BGP The default routing principle is 11 strip , It can be configured to go to 13 strip
7、 ... and .EBGP Routing is better than IBGP
I don't know how to say this
If A-B-C
that A-B by IBGP
B-C by EBGP Words
They also announced an entry
In the case of symmetry on both sides , Will choose EBGP Announced entries
8、 ... and . Disguised reference IGP agreement
It's hard to say why ?
He's like this
If above 7 There is no way to choose
After arriving at this one
IBGP Not effective !
He will choose the one closest to the machine IGP Routes learned by neighbors
So I will compare the metrics of routing protocols at this time
Like one side EIGRP On one side OSPF
One 90 One 110
Then choose EIGRP over there
The smaller the measure, the better
But if all routes are static . I can't compare it for so long , I'll compare the following nine
Or the same routing protocols on both sides have the same bandwidth , I can't compare it with this one
Nine . Load balancing ( Apply to EBGP)
If you can't compare with the first eight , If the ninth item is configured with , Load balancing
If you don't configure , It's like this
If the configuration makes it a load balancer
To configure :maximuh-path In fact, theoretically speaking, this is Article 10
From older EBGP Neighbors of , Choose who has a long time
Because the longer it takes , It means the more stable
Ten . Smaller ones are preferred router-id
BGP Of route-id What is it? ?
Choose the largest local lo To act as RID
Follow ospf,eigrp equally
It can be set manually or automatically
BGP Of router-id Generally, it will be manually opened , Because automatic election is easy to conflict
BGP It's not allowed RID Repetitive
The rule of choice is
Whose? route-id Small , Just go who
11、 ... and . Compare neighbor addresses
At this point, it is basically impossible to compare
You can't have the same address as your neighbors ?
The smaller the address, the better
Twelve . Preferred with smaller cluster-list(RR)
What is this thing ?
This thing is called RR
Routing reflectors
What is this routing reflector used for ?
That is, you can send routing entries to other devices
What does that mean ? stay R1 The routing entry sent from
Can pass 2 Pass to 3 and 4
Write directly to his neighbor reoute-reflector-client
Come and have a look at this time R3 and R4 The routing table for
R3 and R4 Received routing entries
If a device acts as a reflector client
Then the items from this device , I will pass it on to others IBGP neighbor
From other IBGP Entries from neighbors , It will also be passed to the client .
therefore , Just do it RR The client of , So in fact, it is equivalent to breaking IBGP The anti ring mechanism of
There is no limit to the number of clients
Here it is. originator It's called origin ID, It means who announced , Who started it
This one at the back cluster_list Well It is used to record every machine passing by RR The equipment BGP Of RID
But here his name is Cluster_ID
So here comes the question , Said so much , What about the anti ring ???
Don't worry.
coming
In fact, this route selection rule is similar to EBGP The anti ring is the same
It is equivalent to an additional label
Anti ring rules :
If I receive a message containing my own cluster_list The routing , Then it will be rejected !
So why say RID You must specify... Manually .
This is aimed at RR Anti ring mechanism
RR The core
I received a message IBGP After routing, send it to another IBGP neighbor
This road selection principle
Preferably shorter cluster-list
Actually, I feel like this thing as-path equally
Just change the name
Because you can transmit , Every time you pass a device, it will increase , That's for sure !
Summary
Why use summary ?
Multiple changes 1 strip , Reduce the size of the routing table
But there will be routing black holes , Unless
For example, one of you C paragraph , Announced 254 individual , That's not really necessary , The default route is fine
IBGP Summary method :
After the summary, there is 100.1.0.0/16 Of
The receiving party
EBGP Summary
What can you see
The above is before the summary , The following is the summary
You can see that there are more measurements 0 and as-path Less 100
But what are the disadvantages of this ?
> First of all, it will affect the route selection
> The second will affect the loop
< Come and have a look at this time R2 The routing table for >
notice R2 On the right side of the road, there is a S
S In the explanation of routing table, it means inhibition suppressed.
But the problem is
Why would he as-path Reduction ?
This is because , about R2 Come on , This route is not transmitted by me
But I suppressed the following
Then I ` To regenerate the ` A message was sent out
So for me, it just passed me
I'm the only one who sends it out
therefore
1. When in BGP When summarizing , If not in the originating router
2. But in the case of the aggregation of routers in the intermediate route
3. You need to add a parameter
4. Apply to EBGP,IBGP There is no need for
This one in this command as-set It means , It is required to keep the original AS Number
After changing the configuration, look at the routing table of the receiver
Peer groups (Peer-Group)
In fact, this thing is easy to understand
Like link aggregation
All interfaces receive a command from a group to complete the configuration of all interfaces
First create a group
The information represented respectively is
1. other party as by 100
2. With your own lo The port is the update source
3. do rr Reflector
Done , You have to use it.
How to do? ?
ok Done.
Dolls
Make a plastic shell
Just put a Bing Dwen Dwen in
summary
1.BGP After 7 Principles of selection
The seventh .EBGP be better than IBGP
The eighth . Compare the bottom IGP
The ninth . Set up load balancing
The first ten . Compare time , Choose a longer (EBGP Environmental Science )
The eleventh . Compare Route-ID( The smaller the better. )
twelfth . Use RR When , shorter cluster_list
thirteenth . Compare neighbors IP, The smaller the better.
2.RR- Routing reflectors ( Apply to IBGP)
If one IBGP The neighbor of receives the routing entry and transmits it to another neighbor
RR It's an intermediate device , Equivalent to a reflector
The reflection is the routing entry of the client
also RR It also has anti ring mechanism ,originator-id/cluster_list
3. Route summary ,EBGP Not the originating router , You need to add as-set
4. Peer groups ,peer-group, Build template configuration .
OK, this time is over , Welcome to my article . I am a CCIE-Yasuo, Just pay attention to me if you like , See you in the next issue .
Welcome the students of Xinmeng education to communicate together , I am a 41 The strong wind and swordsman of the period
At the same time, I am also a 18 It was written at school by a student from a college aged , If there is any mistake or infringement, please contact us in time to delete .
边栏推荐
- The latest masterpiece of Alibaba, which took 182 days to produce 1015 pages of distributed full stack manual, is so delicious
- STM32 inverter power supply design scheme, based on STM32F103 controller [easy to understand]
- 苹果放大招!这件事干的太漂亮了……
- Is the securities account opened by Yixue school for individuals safe? Is there a routine
- [dark horse morning post] Yu Minhong said he never looked at the stock price of New Oriental; Hengchi 5 will start pre-sale in July; Naixue virtual stock or suspected of illegal fund-raising; From Jul
- 炒币,亏了1000万。
- If you meet a female driver and drive didi as an amateur, you can earn 500 a day!
- TC8:UDP_USER_INTERFACE_01-08
- Introduction to expressions and operators in C language
- Apple amplification! It's done so well
猜你喜欢
Live broadcast management project
苹果放大招!这件事干的太漂亮了……
What is cloud primordial? Will it be the trend of future development?
京东与腾讯续签三年战略合作协议;起薪涨至26万元!韩国三星SK争相加薪留住半导体人才;Firefox 102 发布|极客头条...
Dotnet console uses microsoft Maui. Getting started with graphics and skia
IPv6 learning notes
[dark horse morning post] Yu Minhong said he never looked at the stock price of New Oriental; Hengchi 5 will start pre-sale in July; Naixue virtual stock or suspected of illegal fund-raising; From Jul
程序员都想去国企?技术落后薪资低,躺平几年出来都找不到工作...
历史上的今天:九十年代末的半导体大战;冯·诺依曼发表第一份草案;CBS 收购 CNET...
睡了二哥。。。
随机推荐
炒币,亏了1000万。
Upload labs for file upload - white box audit
BSN长话短说之十:如何保证NFT的安全
“中移链”国密引擎在BSN正式上线
日本教授起诉英特尔FPGA与SoC产品侵犯一项设计专利
全球基金和资管的股票建仓率达到15年内新低
客户端如何请求数据库?
新数据库时代,不要只学 Oracle、MySQL
PHP 字符串与二进制相互转换
超标量处理器设计 姚永斌 第4章 分支预测 --4.1 小节摘录
Meituan P4 carefully collated microservice system architecture design manual to see the world of microservice architecture
硬件中台项目
京东与腾讯续签三年战略合作协议;起薪涨至26万元!韩国三星SK争相加薪留住半导体人才;Firefox 102 发布|极客头条...
Kotlin 协程调度切换线程是时候解开真相了
我喜欢两个男人。。。
北汽蓝谷:业绩承压,极狐难期
直播管理项目
亿学学堂帮个人开的证券账户安全吗?是不是有套路
venv: venv 的目录结构
线程基础知识