当前位置:网站首页>【HCIP】BGP 特性
【HCIP】BGP 特性
2022-07-28 01:06:00 【Domeecky】
BGP 特性分为「公认必遵属性」「公认任意属性」「可选过度属性」「可选非过度属性」
公认必遵属性:所有 BGP 设备都可识别此类属性且必须存在于 Update 报文中
公认任意属性:所有 BGP 设备都可识别此类属性且可以不存在于 Update 报文中
可选过度属性:厂商私有属性,BGP 设备可以不识别此类属性,但仍会接收转发
可选非过度属性:厂商私有属性,BGP 设备可以不识别此类属性,若不识别则忽略且不转发
(1)协议首选值(PrefVal)
华为 BGP 私有属性;本地有效不传递给任何 BGP 邻居;默认为 0;越大越优
当不想影响其他设备的选路时,可以使用协议首选值
preferred-value(2)本地优先级(Local_Pref)
公认任意属性;只在一个 AS 内部传递;默认 100,越大越优
应用在 AS 内存在多个出口时
local-preference「优先级」:修改路由本地优先级
default local-preference:修改默认本地优先级(3)优选本地生成的路由
当下一跳为 127.0.0.0 或 0.0.0.0 时,即为本地产生路由
本地路由优先级:手动聚合 > 自动聚合 > network > import > 从对等体学来的路由
(4)优选 AS_Path 最短的路由
公认必遵属性
as_path「AS号」add:增加AS列表
as_path「AS号」overwrite:用新的AS列表覆盖原有AS列表
as_path「AS号」none overwrite:删除原有AS列表
bestroute as-path-ignore:忽略as_path路径属性(5)比较 Origin 属性(起源属性)
依次优选 Origin 类型为:IGP > EGP > Incomplete
i(IGP):network
e(EGP):表明是从 EGP 协议学到的路由
?(Incomplete):import-route
(6)优选 MED 最低的路由
BGP 的 Cost;可选非过度属性;越小越优;若报文中不携带 MED 默认为 0
默认情况下,只有两条 BGP 路由 as_path 中最左边的 AS 号相同时才进行 MED 比较
MED = 变为 BGP 路由前的 Cost 值
IBGP → EBGP,EBGP → EBGP:不携带 MED
IBGP → IBGP,EBGP → IBGP:携带携带 MED
compare-defference-as-med:允许比较不同as号的med值
diterministic-med:优先比较最左边的AS号(7)EBGP > IBGP
(8) 优选下一跳 metric 小的路由
(9)负载分担,需 AS_Path 相同且手动开启
AS_Path 相同:AS 号相同;AS 数量相同;AS 顺序相同
无论是否开启负载,BGP 设备都会选取一条最佳路由传递给邻居
maximum load-balancing ?
integer:针对ibgp和ebgp路由开启负载
ibgp:针对ibgp路由开启负载
ebgp:针对ebgp路由开启负载
load-balancing as-path-ignore:负载分担时不比较as_path属性边栏推荐
- [advanced ROS] Lecture 9 robot model motion based on rviz and arbotix control
- 样本不均衡-入门0
- 【愚公系列】2022年07月 Tabby集成终端的使用
- LeetCode 热题 HOT 100 -> 2.两数相加
- IT这个岗位,人才缺口百万,薪资水涨船高,上不封顶
- synchronized详解
- [website construction] update SSL certificate with acme.sh: change zerossl to letsencrypt
- 了解加密行业的“下一个大趋势”——Ventures DAO
- 轻量版项目管理系统
- 每条你收藏的资讯背后,都离不开TA
猜你喜欢

Ceresdao: new endorsement of ventures Dao

小程序毕设作品之微信校园浴室预约小程序毕业设计成品(1)开发概要

Promise从入门到精通 (第2章 Promise的理解和使用)

小程序毕设作品之微信校园浴室预约小程序毕业设计成品(2)小程序功能

Starfish OS X metabell strategic cooperation, metauniverse business ecosystem further

Codeworks round 810 (Div. 2) a~c problem solution

小程序毕设作品之微信校园浴室预约小程序毕业设计成品(3)后台功能

Appium 点击操作梳理

Product interpretation - Design and distributed expansion of metersphere UI test module

SkyWalking分布式系统应用程序性能监控工具-中
随机推荐
Leetcode hot topic Hot 100 - > 2. Add two numbers
MySQL的pymysql操作
Understand the "next big trend" in the encryption industry - ventures Dao
[Star Project] small hat aircraft War (V)
uniapp 总结篇 (小程序)
剑指offer专项突击版第12天
Promise from getting started to mastering (Chapter 3: customize (handwriting) promise)
Vxe table/grid cell grouping and merging
CeresDAO:全球首个基于DAO赋能Web3.0的去中心化数字资产管理协议
Four common post data submission methods
Starfish OS X metabell strategic cooperation, metauniverse business ecosystem further
软件测试面试题:常见的 POST 提交数据方式
小程序毕设作品之微信校园维修报修小程序毕业设计成品(4)开题报告
【ROS进阶篇】第九讲 基于Rviz和Arbotix控制的机器人模型运动
[website construction] update SSL certificate with acme.sh: change zerossl to letsencrypt
正则表达式
They are all talking about Devops. Do you really understand it?
go 学习02 基础知识
regular expression
Flume (5 demos easy to get started)