当前位置:网站首页>HCIP BGP Comprehensive Experiment Establishing peers, route reflectors, federation, route announcement and aggregation
HCIP BGP Comprehensive Experiment Establishing peers, route reflectors, federation, route announcement and aggregation
2022-08-02 06:44:00 【less than _ermi】
实验内容:
实验过程:
拓扑
各个路由器IP的配置
[r1]int g 0/0/0
[r1-GigabitEthernet0/0/0]ip a 12.1.1.1 24
[r1-GigabitEthernet0/0/0]int lo0
[r1-LoopBack0]ip a 10.10.10.10 24
在AS2中使用oSPF协议
[r2]ospf 1 router-id 2.2.2.2
[r2-ospf-1]a 0
[r2-ospf-1-area-0.0.0.0]network 172.16.0.1 0.0.0.0
[r2-ospf-1-area-0.0.0.0]network 172.16.112.1 0.0.0.0
[r2-ospf-1-area-0.0.0.0]network 172.16.192.1 0.0.0.0
对所有路由启用BGP协议,and peer establishment
R1
[r1]bgp 1
[r1-bgp]route-select
[r1-bgp]router-id 1.1.1.1
[r1-bgp]peer 12.1.1.2 as 2
R2
[r2]bgp 64512
[r2-bgp]route-select
[r2-bgp]router-id 2.2.2.2
[r2-bgp]confederation id 2
[r2-bgp]confederation peer-as 64513
[r2-bgp]peer 12.1.1.1 as 1
[r2-bgp]peer 172.16.160.1 as 64512
[r2-bgp]peer 172.16.160.1 connect-interface LoopBack 0
[r2-bgp]peer 172.16.80.1 as 64513
[r2-bgp]peer 172.16.80.1 connect-interface LoopBack 0
[r2-bgp]peer 172.16.80.1 ebgp-max-hop 2
[r2-bgp]peer 172.16.160.1 next-hop-local
[r2-bgp]peer 172.16.80.1 next-hop-local
R3
[r3]bgp 64512
[r3-bgp]router-id 3.3.3.3
[r3-bgp]confederation id 2
[r3-bgp]peer 172.16.144.1 as 64512
[r3-bgp]peer 172.16.144.1 connect-interface LoopBack 0
[r3-bgp]peer 172.16.192.1 as 64512
[r3-bgp]peer 172.16.192.1 connect-interface LoopBack 0
R4
[r4]bgp 64512
[r4-bgp]router-id 4.4.4.4
[r4-bgp]confederation id 2
[r4-bgp]confederation peer-as 64513
[r4-bgp]peer 172.16.160.1 as 64512
[r4-bgp]peer 172.16.160.1 connect-interface LoopBack 0
[r4-bgp]peer 172.16.96.1 as 64513
[r4-bgp]peer 172.16.96.1 connect-interface LoopBack 0
[r4-bgp]peer 172.16.96.1 ebgp-max-hop 2
R5
[r5]bgp 64513
[r5-bgp]router-id 5.5.5.5
[r5-bgp]confederation id 2
[r5-bgp]confederation peer-as 64512
[r5-bgp]peer 172.16.192.1 as 64512
[r5-bgp]peer 172.16.192.1 connect-interface LoopBack 0
[r5-bgp]peer 172.16.192.1 ebgp-max-hop 2
[r5-bgp]peer 172.16.48.1 as 64513
[r5-bgp]peer 172.16.48.1 connect-interface LoopBack 0
R6
[r6]bgp 64513
[r6-bgp]router-id 6.6.6.6
[r6-bgp]confederation id 2
[r6-bgp]peer 172.16.80.1 as 64513
[r6-bgp]peer 172.16.80.1 connect-interface LoopBack 0
[r6-bgp]peer 172.16.96.1 as 64513
[r6-bgp]peer 172.16.96.1 connect-interface LoopBack 0
R7
[r7]bgp 64513
[r7-bgp]router-id 7.7.7.7
[r7-bgp]confederation id 2
[r7-bgp]confederation peer-as 64512
[r7-bgp]peer 172.16.48.1 as 64513
[r7-bgp]peer 172.16.48.1 connect-interface LoopBack 0
[r7-bgp]peer 172.16.144.1 as 64512
[r7-bgp]peer 172.16.144.1 connect-interface LoopBack 0
[r7-bgp]peer 172.16.144.1 ebgp-max-hop 2
[r7-bgp]peer 78.1.1.1 as 3
[r7-bgp]peer 172.16.48.1 next-hop-local
[r7-bgp]peer 172.16.144.1 next-hop-local
R8
[r8]bgp 3
[r8-bgp]router-id 8.8.8.8
[r8-bgp]peer 78.1.1.2 as 2
R1\R8\AS2宣告路由信息
R1
[r1]bgp 1
[r1-bgp]network 10.10.10.10 24
R8
[r8]bgp 3
[r8-bgp]network 80.80.80.80 24
R2
[r2]bgp 64512
[r2-bgp]import-route ospf 1
R7
[r7]bgp 64513
[r7-bgp]import-route ospf 1
破除IBGP之间的水平分割,配置路由反射器
R3
[r3]bgp 64512
[r3-bgp]peer 172.16.192.1 reflect-client
R6
[r6]bgp 64513
[r6-bgp]peer 172.16.96.1 reflect-client
Routes are aggregated inR2\R7上配置
[r2]bgp 64512
[r2-bgp]aggregate 172.16.0.0 16 detail-suppressed
[r7]bgp 64513
[r7-bgp]aggregate 172.16.0.0 16 detail-suppressed
测试
实验结束
边栏推荐
- Node的安装与环境变量的配置
- pytorch basic operations: classification tasks using neural networks
- HCIP BGP综合实验 建立对等体、路由反射器、联邦、路由宣告及聚合
- NPM ---- 安装yarn
- leetcode一步解决链表反转问题
- H5 access payment process - WeChat payment & Alipay payment
- 物联网如何改变城市运行效率
- C语言基础知识梳理总结:零基础入门请看这一篇
- OAuth 授权协议 | 都云原生时代了,我们应该多懂一点OAuth ?
- 【合集- 行业解决方案】如何搭建高性能的数据加速与数据编排平台
猜你喜欢
C语言小游戏——扫雷小游戏
目标检测重要概念——IOU、感受野、空洞卷积、mAP
BGP+MPLS综合实验
关于 VS Code 优化启动性能的实践
Tips for programmers to write PPT
Kingdee International: Lost in half a year and last year, how does the business model of frantically burning money continue
Machine learning -- - theory of support vector machine (SVM)
5款经典代码阅读器的使用方案对比
H5 access payment process - WeChat payment & Alipay payment
Node的安装与环境变量的配置
随机推荐
如何优化OpenSumi终端性能?
Polar Parametrization for Vision-based Surround-View 3D Detection 论文笔记
51 MCU Peripherals: Infrared Communication
leetcode一步解决链表反转问题
目标检测重要概念——IOU、感受野、空洞卷积、mAP
国际顶会OSDI首度收录淘宝系统论文,端云协同智能获大会主旨演讲推荐
Block elements, inline elements (
elements, span elements)Different ways of shell scripting
6W+字记录实验全过程 | 探索Alluxio经济化数据存储策略
跨桌面端Web容器演进
【合集- 行业解决方案】如何搭建高性能的数据加速与数据编排平台
程序员最重要的能力是什么?
leetcode括号匹配问题——32.最长有效括号
OAuth 授权协议 | 都云原生时代了,我们应该多懂一点OAuth ?
构造方法、成员变量、局部变量
Redis-cluster mode (master-slave replication mode, sentinel mode, clustering mode)
VMTK环境配置记录
科技赋能拉萨之“肺”,华为助力拉鲁湿地智慧管理守护绿水青山
制作web3d动态产品展示的优点
Shuttle + Alluxio 加速内存Shuffle起飞