博客
关于我
BGP实验
阅读量:304 次
发布时间:2019-03-03

本文共 4738 字,大约阅读时间需要 15 分钟。

实验

在这里插入图片描述

R1的配置

The device is running!
sysEnter system view, return user view with Ctrl+Z.[Huawei]undo info [Huawei]undo info-center enInfo: Information center is disabled.[Huawei]sys r1[r1]inter g0/0/0[r1-GigabitEthernet0/0/0]ip address 192.168.13.1 24[r1-GigabitEthernet0/0/0]inter loopback 0[r1-LoopBack0]ip address 1.1.1.1 32[r1-LoopBack0]inter loopback 1[r1-LoopBack1]ip address 100.1.1.1 24[r1-LoopBack1]bgp 100[r1-bgp]router-id 1.1.1.1[r1-bgp]peer 192.168.13.2 as-number 300[r1-bgp]network 1.1.1.1 32[r1-bgp]network 100.1.1.1 24[r1-bgp]

R2的配置

The device is running!
sysEnter system view, return user view with Ctrl+Z.[Huawei]undo ifno [Huawei]undo info [Huawei]undo info-center enInfo: Information center is disabled.[Huawei]sys r2[r2]inter g0/0/0[r2-GigabitEthernet0/0/0]ip address 192.168.24.1 24[r2-GigabitEthernet0/0/0]inter loopback 0[r2-LoopBack0]ip address 2.2.2.2 32[r2-LoopBack0]inter loopback 1[r2-LoopBack1]ip address 100.1.1.2 24[r2-LoopBack1]bgp 200[r2-bgp]router-id 2.2.2.2[r2-bgp]peer 192.168.24.2 as-number 300[r2-bgp]network 2.2.2.2 32[r2-bgp]network 100.1.1.2 24[r2-bgp]

R3的配置

The device is running!
sysEnter system view, return user view with Ctrl+Z.[Huawei]undo info [Huawei]undo info-center enInfo: Information center is disabled.[Huawei]sys r3[r3]inter g0/0/0[r3-GigabitEthernet0/0/0]ip address 192.168.13.2 24[r3-GigabitEthernet0/0/0]inter g0/0/1[r3-GigabitEthernet0/0/1]ip address 192.168.35.1 24[r3-GigabitEthernet0/0/1]inter loopback 0[r3-LoopBack0]ip address 3.3.3.3 32[r3-LoopBack0]ospf 1[r3-ospf-1]ospf 1 router-id 3.3.3.3Info: The configuration succeeded. You need to restart the OSPF process to validate the new router ID.[r3-ospf-1]area 0[r3-ospf-1-area-0.0.0.0]network 192.168.35.0 0.0.0.255[r3-ospf-1-area-0.0.0.0]network 3.3.3.3 0.0.0.0[r3-ospf-1-area-0.0.0.0]bgp 300[r3-bgp]router-id 3.3.3.3[r3-bgp]peer 4.4.4.4 as-number 300[r3-bgp]peer 4.4.4.4 con [r3-bgp]peer 4.4.4.4 connect-interface loopback 0[r3-bgp]peer 5.5.5.5 as-number 300[r3-bgp]peer 5.5.5.5 connect-interface loopback 0[r3]bgp 300[r3-bgp]peer 192.168.13.1 as-number 100[r3-bgp]peer 4.4.4.4 next-hop-local[r3-bgp]peer 3.3.3.3 next-hop-localError: The peer does not exist.[r3-bgp]peer 5.5.5.5 next-hop-local[r3-bgp]ospf 1[r3-ospf-1]area 0[r3-ospf-1-area-0.0.0.0]network 192.168.13.0 0.0.0.255[r3-ospf-1-area-0.0.0.0]bgp 300[r3-bgp]import-route ospf 1[r3-bgp]

R4的配置

The device is running!
sysEnter system view, return user view with Ctrl+Z.[Huawei]undo info [Huawei]undo info-center enInfo: Information center is disabled.[Huawei]sys r4[r4]inter g0/0/1[r4-GigabitEthernet0/0/1]ip address 192.168.45.1 24[r4-GigabitEthernet0/0/1]inter g0/0/1[r4-GigabitEthernet0/0/1]inter g0/0/0[r4-GigabitEthernet0/0/0]ip address 192.168.24.2 24[r4-GigabitEthernet0/0/0]inter loopback 0[r4-LoopBack0]ip address 4.4.4.4 32[r4-LoopBack0]ospf 1[r4-ospf-1]ospf 1 router-id 4.4.4.4Info: The configuration succeeded. You need to restart the OSPF process to validate the new router ID.[r4-ospf-1]area 0[r4-ospf-1-area-0.0.0.0]network 192.168.45.0 0.0.0.255[r4-ospf-1-area-0.0.0.0]network 4.4.4.4 0.0.0.0[r4-ospf-1-area-0.0.0.0][r4-ospf-1-area-0.0.0.0]bgp 300[r4-bgp]router-id 4.4.4.4[r4-bgp]peer 3.3.3.3 as-number 300[r4-bgp]peer 3.3.3.3 c [r4-bgp]peer 3.3.3.3 conn [r4-bgp]peer 3.3.3.3 connect-interface loopback 0[r4-bgp]peer 5.5.5.5 as-number 300[r4-bgp]peer 5.5.5.5 connect-interface loopback 0[r4]bgp 300[r4-bgp]peer 192.168.24.1 as-number 200[r4-bgp]peer 3.3.3.3 next-hop-local [r4-bgp]peer 5.5.5.5 next-hop-local[r4-bgp]ospf 1[r4-ospf-1]area 0[r4-ospf-1-area-0.0.0.0]network 192.168.24.0 0.0.0.255[r4-ospf-1-area-0.0.0.0]

R5的配置

The device is running!
sysEnter system view, return user view with Ctrl+Z.[Huawei]undo info [Huawei]undo info-center enInfo: Information center is disabled.[Huawei]sys r5[r5]inter g0/0/0[r5-GigabitEthernet0/0/0]ip address 192.168.35.2 24[r5-GigabitEthernet0/0/0]inter g0/0/1[r5-GigabitEthernet0/0/1]ip address 192.168.45.2 24[r5-GigabitEthernet0/0/1]inter loopback 0[r5-LoopBack0]ip address 5.5.5.5 32[r5-LoopBack0]ospf 1[r5-ospf-1]ospf 1 router-id 5.5.5.5Info: The configuration succeeded. You need to restart the OSPF process to validate the new router ID.[r5-ospf-1]area 0[r5-ospf-1-area-0.0.0.0]network 192.168.35.0 0.0.0.255[r5-ospf-1-area-0.0.0.0]network 192.168.45.0 0.0.0.255[r5-ospf-1-area-0.0.0.0]network 5.5.5.5 0.0.0.0[r5-ospf-1-area-0.0.0.0][r5-ospf-1-area-0.0.0.0]bgp 300[r5-bgp]router-id 5.5.5.5[r5-bgp]peer 3.3.3.3 as-number 300[r5-bgp]peer 3.3.3.3 conn [r5-bgp]peer 3.3.3.3 connect-interface loopback 0[r5-bgp]peer 4.4.4.4 as-number 300[r5-bgp]peer 4.4.4.4 connect-interface loopback 0[r5-bgp]dis bgp routing-table[r5-bgp]import-route ospf 1[r5-bgp]network 5.5.5.5 32

转载地址:http://tqhl.baihongyu.com/

你可能感兴趣的文章
multipart/form-data与application/octet-stream的区别、application/x-www-form-urlencoded
查看>>
mysql cmake 报错,MySQL云服务器应用及cmake报错解决办法
查看>>
Multiple websites on single instance of IIS
查看>>
mysql CONCAT()函数拼接有NULL
查看>>
multiprocessing.Manager 嵌套共享对象不适用于队列
查看>>
multiprocessing.pool.map 和带有两个参数的函数
查看>>
MYSQL CONCAT函数
查看>>
multiprocessing.Pool:map_async 和 imap 有什么区别?
查看>>
MySQL Connector/Net 句柄泄露
查看>>
multiprocessor(中)
查看>>
mysql CPU使用率过高的一次处理经历
查看>>
Multisim中555定时器使用技巧
查看>>
MySQL CRUD 数据表基础操作实战
查看>>
multisim变压器反馈式_穿过隔离栅供电:认识隔离式直流/ 直流偏置电源
查看>>
mysql csv import meets charset
查看>>
multivariate_normal TypeError: ufunc ‘add‘ output (typecode ‘O‘) could not be coerced to provided……
查看>>
MySQL DBA 数据库优化策略
查看>>
multi_index_container
查看>>
mutiplemap 总结
查看>>
MySQL Error Handling in Stored Procedures---转载
查看>>