bgp对等体组

简介:

wKiom1NY0kSxds2TAABkBmbQzPk779.jpg

R1#show run 
Building configuration... 

Current configuration : 1507 bytes 

version 12.4 
service timestamps debug datetime msec 
service timestamps log datetime msec 
no service password-encryption 

hostname R1 

boot-start-marker 
boot-end-marker 


no aaa new-model 


ip cef 
no ip domain lookup 




!          













!  




interface Loopback0 
ip address 1.1.1.1 255.255.255.0 

interface FastEthernet0/0 
no ip address 
shutdown 
duplex half 

interface Serial1/0 
ip address 12.0.0.1 255.255.255.0 
serial restart-delay 0 

interface Serial1/1 
no ip address 
shutdown 
serial restart-delay 0 

interface Serial1/2 
no ip address 
shutdown 
serial restart-delay 0 

interface Serial1/3 
no ip address 
shutdown 
serial restart-delay 0 

interface Serial1/4 
no ip address 
shutdown 
serial restart-delay 0 

interface Serial1/5 
no ip address 
shutdown 
serial restart-delay 0 

interface Serial1/6 
no ip address 
shutdown 
serial restart-delay 0 

interface Serial1/7 
no ip address 
shutdown 
serial restart-delay 0 

router ospf 1 
log-adjacency-changes 
network 0.0.0.0 255.255.255.255 area 0 
!          
router bgp 123 
no synchronization 
bgp log-neighbor-changes 
neighbor libo peer-group 
neighbor libo remote-as 123 
neighbor libo update-source Loopback0 
neighbor 2.2.2.2 peer-group libo 
neighbor 3.3.3.3 peer-group libo 
no auto-summary 


no ip http server 
no ip http secure-server 






control-plane 


!          



gatekeeper 
shutdown 


line con 0 
exec-timeout 0 0 
logging synchronous 
stopbits 1 
line aux 0 
stopbits 1 
line vty 0 4 


end 

R2#show run 
Building configuration... 

Current configuration : 1517 bytes 

version 12.4 
service timestamps debug datetime msec 
service timestamps log datetime msec 
no service password-encryption 

hostname R2 

boot-start-marker 
boot-end-marker 


no aaa new-model 


ip cef 
no ip domain lookup 




!          













!  




interface Loopback0 
ip address 2.2.2.2 255.255.255.0 

interface FastEthernet0/0 
no ip address 
shutdown 
duplex half 

interface Serial1/0 
ip address 12.0.0.2 255.255.255.0 
serial restart-delay 0 

interface Serial1/1 
ip address 23.0.0.2 255.255.255.0 
serial restart-delay 0 

interface Serial1/2 
no ip address 
shutdown 
serial restart-delay 0 

interface Serial1/3 
no ip address 
shutdown 
serial restart-delay 0 

interface Serial1/4 
no ip address 
shutdown 
serial restart-delay 0 

interface Serial1/5 
no ip address 
shutdown 
serial restart-delay 0 

interface Serial1/6 
no ip address 
shutdown 
serial restart-delay 0 

interface Serial1/7 
no ip address 
shutdown 
serial restart-delay 0 

router ospf 1 
log-adjacency-changes 
network 0.0.0.0 255.255.255.255 area 0 

router bgp 134 
no synchronization 
bgp log-neighbor-changes 
neighbor libo peer-group 
neighbor libo remote-as 123 
neighbor libo update-source Loopback0 
neighbor 1.1.1.1 peer-group libo 
neighbor 3.3.3.3 peer-group libo 
no auto-summary 


no ip http server 
no ip http secure-server 






control-plane 



!          


gatekeeper 
shutdown 


line con 0 
exec-timeout 0 0 
logging synchronous 
stopbits 1 
line aux 0 
stopbits 1 
line vty 0 4 


end 

R3#show run 
Building configuration... 

Current configuration : 1517 bytes 

version 12.4 
service timestamps debug datetime msec 
service timestamps log datetime msec 
no service password-encryption 

hostname R3 

boot-start-marker 
boot-end-marker 


no aaa new-model 


ip cef 
no ip domain lookup 




!          













!  




interface Loopback0 
ip address 3.3.3.3 255.255.255.0 

interface FastEthernet0/0 
no ip address 
shutdown 
duplex half 

interface Serial1/0 
ip address 23.0.0.3 255.255.255.0 
serial restart-delay 0 

interface Serial1/1 
ip address 34.0.0.3 255.255.255.0 
serial restart-delay 0 

interface Serial1/2 
no ip address 
shutdown 
serial restart-delay 0 

interface Serial1/3 
no ip address 
shutdown 
serial restart-delay 0 

interface Serial1/4 
no ip address 
shutdown 
serial restart-delay 0 

interface Serial1/5 
no ip address 
shutdown 
serial restart-delay 0 

interface Serial1/6 
no ip address 
shutdown 
serial restart-delay 0 

interface Serial1/7 
no ip address 
shutdown 
serial restart-delay 0 

router ospf 1 
log-adjacency-changes 
network 0.0.0.0 255.255.255.255 area 0 

router bgp 123 
no synchronization 
bgp log-neighbor-changes 
neighbor libo peer-group 
neighbor libo remote-as 123 
neighbor libo update-source Loopback0 
neighbor 1.1.1.1 peer-group libo 
neighbor 2.2.2.2 peer-group libo 
no auto-summary 


no ip http server 
no ip http secure-server 






control-plane 



!          


gatekeeper 
shutdown 


line con 0 
exec-timeout 0 0 
logging synchronous 
stopbits 1 
line aux 0 
stopbits 1 
line vty 0 4 


end 

R1#show ip route 
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP 
      D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area  
      N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 
      E1 - OSPF external type 1, E2 - OSPF external type 2 
      i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 
      ia - IS-IS inter area, * - candidate default, U - per-user static route 
      o - ODR, P - periodic downloaded static route 

Gateway of last resort is not set 

    1.0.0.0/24 is subnetted, 1 subnets 
C       1.1.1.0 is directly connected, Loopback0 
    2.0.0.0/32 is subnetted, 1 subnets 
O       2.2.2.2 [110/65] via 12.0.0.2, 00:04:13, Serial1/0 
    3.0.0.0/32 is subnetted, 1 subnets 
O       3.3.3.3 [110/129] via 12.0.0.2, 00:04:13, Serial1/0 
    23.0.0.0/24 is subnetted, 1 subnets 
O       23.0.0.0 [110/128] via 12.0.0.2, 00:04:13, Serial1/0 
    12.0.0.0/24 is subnetted, 1 subnets 
C       12.0.0.0 is directly connected, Serial1/0 

R1#show ip bgp summary  
BGP router identifier 1.1.1.1, local AS number 123 
BGP table version is 1, main routing table version 1 

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd 
2.2.2.2         4   123       0       0        0    0    0 never    Active 
3.3.3.3         4   123      15      15        1    0    0 00:08:01       

R2#show ip bgp summary  
BGP router identifier 2.2.2.2, local AS number 134 
BGP table version is 1, main routing table version 1 

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd 
1.1.1.1         4   123       0       0        0    0    0 never    Idle 
3.3.3.3         4   123       0       0        0    0    0 never    Idle 


R3# show ip bgp summary  
BGP router identifier 3.3.3.3, local AS number 123 
BGP table version is 1, main routing table version 1 

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd 
1.1.1.1         4   123      12      12        1    0    0 00:08:42        0 
2.2.2.2         4   123       0       0        0    0    0 never    Active 













本文转自zhang25yun51CTO博客,原文链接:http://blog.51cto.com/1585654/1402024 ,如需转载请自行联系原作者


相关文章
|
关系型数据库 MySQL Apache
window下修改MySQL密码
window下修改MySQL密码
467 6
|
开发工具 git
Gitlab/GitHub:迁移代码,并保留历史记录
Gitlab/GitHub:迁移代码,并保留历史记录
Gitlab/GitHub:迁移代码,并保留历史记录
|
运维 Linux 测试技术
【运维】chrony配置服务器时间同步
集群服务中,时间的问题很重要,但凡某个节点跟其余节点时间岔开了,就会显示错误!
1501 0
【运维】chrony配置服务器时间同步
|
7月前
|
SQL 安全 数据格式
PEP 750 t-string 深度解析:与 f-string 的差异与进化
Python 3.14 即将引入的 t-string(模板字符串)是字符串处理的重大革新。作为 f-string 的继任者,t-string 通过延迟渲染机制重新定义了字符串模板处理方式。本文从核心机制(即时求值 vs 延迟渲染)、技术特性(语法到语义进化)、应用场景(安全敏感场景、复杂模板系统等)及性能兼容性等方面深入解析,展示其在安全框架、代码生成等领域的广阔前景。开发者可根据需求选择 f-string 或 t-string,实现更高效、可控的字符串处理。
264 13
|
10月前
|
Java 关系型数据库 MySQL
ssm027学校运动会信息管理系统(文档+源码)_kaic
本文介绍了基于B/S结构的学校运动会信息管理系统开发过程。该系统采用JSP技术和MySQL数据库,确保了系统的安全性和稳定性。系统界面友好、操作简便,涵盖系统概述、分析、设计、数据库设计和测试等环节,实现了学校运动会信息管理的重要功能。经过测试,系统运行稳定,操作便捷,具备全面的功能、良好的可扩展性和维护性,有效提升了运动会信息管理的效率和准确性。关键词:学校运动会信息管理;B/S结构;JSP技术;MYSQL数据库。
|
Linux API C++
c++多线程——互斥锁
c++多线程——互斥锁
|
JavaScript 前端开发 Shell
使用vitepress搭建自己的静态个人博客 || 个人知识库
使用vitepress搭建自己的静态个人博客 || 个人知识库
337 0
|
人工智能 搜索推荐
如何利用AIGC技术实现个性化定制的绘画作品?
【4月更文挑战第30天】如何利用AIGC技术实现个性化定制的绘画作品?
571 1
|
存储 Java API
Netty指南
Netty指南
345 2
|
存储 缓存
uniapp存储讲解
uniapp存储讲解
357 4