??斗地主捕鱼电竞提现秒到 广告位招租 - 15元/月全站展示
??支付宝搜索579087183领大额红包 ??伍彩集团官网直营彩票
??好待遇→招代理 ??伍彩集团官网直营彩票
??络茄网 广告位招租 - 15元/月全站展示
BGP反射综合实验案例

转载   2011-07-18   浏览量:893


 

r1#show running-config

Building configuration...

 

Current configuration : 1032 bytes

!

version 12.3

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname r1

!

boot-start-marker

boot-end-marker

!

!

memory-size iomem 5

no aaa new-model

ip subnet-zero

!

!

no ip domain lookup

!

!

ip cef

ip ips po max-events 100

no ftp-server write-enable

interface Loopback1

 ip address 1.1.1.1 255.255.255.0

!

interface Serial0/0

 ip address 192.168.1.1 255.255.255.0

 serial restart-delay 0

!

interface Serial0/1

 no ip address

 shutdown

 serial restart-delay 0

!

interface Serial0/2

 no ip address

 shutdown

 serial restart-delay 0

!

interface Serial0/3

 no ip address

 shutdown

 serial restart-delay 0

!

router bgp 100

 no synchronization

 bgp router-id 1.1.1.1

 bgp log-neighbor-changes

 network 1.1.1.0 mask 255.255.255.0

 neighbor 192.168.1.2 remote-as 200

 no auto-summary

!

ip http server

no ip http secure-server

ip classless

control-plane

line con 0

line aux 0

line vty 0 4

 login

!

!

End

 

 

 

 

 

 

 

r2#show running-config

Building configuration...

 

Current configuration : 1233 bytes

!

version 12.3

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname r2

!

boot-start-marker

boot-end-marker

!

!

memory-size iomem 5

no aaa new-model

ip subnet-zero

!

!

no ip domain lookup

!

!

ip cef

ip ips po max-events 100

no ftp-server write-enable

interface Loopback2

 ip address 2.2.2.2 255.255.255.0

!

interface Serial0/0

 ip address 192.168.1.2 255.255.255.0

 serial restart-delay 0

!

interface Serial0/1

 ip address 192.168.2.1 255.255.255.0

 serial restart-delay 0

!

interface Serial0/2

 no ip address

 shutdown

 serial restart-delay 0

!

interface Serial0/3

 no ip address

 shutdown

 serial restart-delay 0

!

router eigrp 1

 network 2.2.2.0 0.0.0.255

 network 192.168.2.0

 no auto-summary

!

router bgp 200

 no synchronization

 bgp router-id 2.2.2.2

 bgp log-neighbor-changes

 network 2.2.2.0 mask 255.255.255.0

 neighbor 3.3.3.3 remote-as 200

 neighbor 3.3.3.3 update-source Loopback2

 neighbor 3.3.3.3 next-hop-self

 neighbor 192.168.1.1 remote-as 100

 no auto-summary

!

ip http server

no ip http secure-server

ip classless

control-plane

line con 0

line aux 0

line vty 0 4

 login

End

 

 

 

 

 

 

 

r3#show running-config

Building configuration...

 

Current configuration : 2019 bytes

!

version 12.3

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname r3

!

boot-start-marker

boot-end-marker

!

!

memory-size iomem 5

no aaa new-model

ip subnet-zero

!

!

no ip domain lookup

!

!

ip cef

ip ips po max-events 100

no ftp-server write-enable

interface Loopback3

 ip address 3.3.3.3 255.255.255.0

!

interface Serial0/0

 ip address 192.168.4.1 255.255.255.0

 serial restart-delay 0

!

interface Serial0/1

 ip address 192.168.2.2 255.255.255.0

 serial restart-delay 0

!

interface Serial0/2

 ip address 192.168.5.1 255.255.255.0

 serial restart-delay 0

!

interface Serial0/3

 ip address 192.168.3.1 255.255.255.0

 serial restart-delay 0

!

interface Serial1/0

 ip address 192.168.6.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

!

router eigrp 1

 network 3.3.3.0 0.0.0.255

 network 192.168.2.0

 network 192.168.3.0

 network 192.168.4.0

 network 192.168.5.0

 no auto-summary

!

router bgp 200

 no synchronization

 bgp router-id 3.3.3.3

 bgp log-neighbor-changes

 network 3.3.3.0 mask 255.255.255.0

 neighbor 2.2.2.2 remote-as 200

 neighbor 2.2.2.2 update-source Loopback3

 neighbor 2.2.2.2 route-reflector-client

 neighbor 2.2.2.2 next-hop-self

 neighbor 4.4.4.4 remote-as 200

 neighbor 4.4.4.4 update-source Loopback3

 neighbor 4.4.4.4 next-hop-self

 neighbor 5.5.5.5 remote-as 200

 neighbor 5.5.5.5 update-source Loopback3

 neighbor 5.5.5.5 next-hop-self

 neighbor 6.6.6.6 remote-as 200

 neighbor 6.6.6.6 update-source Loopback3

 neighbor 6.6.6.6 route-reflector-client

 neighbor 6.6.6.6 next-hop-self

 neighbor 192.168.6.2 remote-as 300

 no auto-summary

!

ip http server

no ip http secure-server

ip classless

control-plane

line con 0

line aux 0

line vty 0 4

 login

!

!

End

 

 

 

 

 

 

 

 

r4#show running-config

Building configuration...

 

Current configuration : 1152 bytes

!

version 12.3

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname r4

!

boot-start-marker

boot-end-marker

!

!

memory-size iomem 5

no aaa new-model

ip subnet-zero

!

!

no ip domain lookup

!

!

ip cef

ip ips po max-events 100

no ftp-server write-enable

interface Loopback4

 ip address 4.4.4.4 255.255.255.0

!

interface Serial0/0

 no ip address

 shutdown

 serial restart-delay 0

!

interface Serial0/1

 no ip address

 shutdown

 serial restart-delay 0

!

interface Serial0/2

 no ip address

 shutdown

 serial restart-delay 0

!

interface Serial0/3

 ip address 192.168.3.2 255.255.255.0

 serial restart-delay 0

!

router eigrp 1

 network 4.4.4.0 0.0.0.255

 network 192.168.3.0

 no auto-summary

!

router bgp 200

 no synchronization

 bgp router-id 4.4.4.4

 bgp log-neighbor-changes

 network 4.4.4.0 mask 255.255.255.0

 neighbor 3.3.3.3 remote-as 200

 neighbor 3.3.3.3 update-source Loopback4

 no auto-summary

!

ip http server

no ip http secure-server

ip classless

control-plane

line con 0

line aux 0

line vty 0 4

 login

!

!

End

 

 

 

 

 

 

r5#show running-config

Building configuration...

 

Current configuration : 1152 bytes

!

version 12.3

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname r5

!

boot-start-marker

boot-end-marker

!

!

memory-size iomem 5

no aaa new-model

ip subnet-zero

!

!

no ip domain lookup

!

!

ip cef

ip ips po max-events 100

no ftp-server write-enable

interface Loopback5

 ip address 5.5.5.5 255.255.255.0

!

interface Serial0/0

 ip address 192.168.4.2 255.255.255.0

 serial restart-delay 0

!

interface Serial0/1

 no ip address

 shutdown

 serial restart-delay 0

!

interface Serial0/2

 no ip address

 shutdown

 serial restart-delay 0

!

interface Serial0/3

 no ip address

 shutdown

 serial restart-delay 0

!

router eigrp 1

 network 5.5.5.0 0.0.0.255

 network 192.168.4.0

 no auto-summary

!

router bgp 200

 no synchronization

 bgp router-id 5.5.5.5

 bgp log-neighbor-changes

 network 5.5.5.0 mask 255.255.255.0

 neighbor 3.3.3.3 remote-as 200

 neighbor 3.3.3.3 update-source Loopback5

 no auto-summary

!

ip http server

no ip http secure-server

ip classless

control-plane

line con 0

line aux 0

line vty 0 4

 login

!

!

End

 

 

 

 

 

 

 

 

 

 

r6#show running-config

Building configuration...

 

Current configuration : 1152 bytes

!

version 12.3

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname r6

!

boot-start-marker

boot-end-marker

!

!

memory-size iomem 5

no aaa new-model

ip subnet-zero

!

!

no ip domain lookup

!

!

ip cef

ip ips po max-events 100

no ftp-server write-enable

interface Loopback6

 ip address 6.6.6.6 255.255.255.0

!

interface Serial0/0

 no ip address

 shutdown

 serial restart-delay 0

!

interface Serial0/1

 no ip address

 shutdown

 serial restart-delay 0

!

interface Serial0/2

 ip address 192.168.5.2 255.255.255.0

 serial restart-delay 0

!

interface Serial0/3

 no ip address

 shutdown

 serial restart-delay 0

!

router eigrp 1

 network 6.6.6.0 0.0.0.255

 network 192.168.5.0

 no auto-summary

!

router bgp 200

 no synchronization

 bgp router-id 6.6.6.6

 bgp log-neighbor-changes

 network 6.6.6.0 mask 255.255.255.0

 neighbor 3.3.3.3 remote-as 200

 neighbor 3.3.3.3 update-source Loopback6

 no auto-summary

!

ip http server

no ip http secure-server

ip classless

control-plane

line con 0

line aux 0

line vty 0 4

 login

End

 

 

 

 

 

 

 

 

r7#show running-config

Building configuration...

 

Current configuration : 1032 bytes

!

version 12.3

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname r7

!

boot-start-marker

boot-end-marker

!

!

memory-size iomem 5

no aaa new-model

ip subnet-zero

!

!

no ip domain lookup

!

!

ip cef

ip ips po max-events 100

no ftp-server write-enable

interface Loopback7

 ip address 7.7.7.7 255.255.255.0

!

interface Serial0/0

 ip address 192.168.6.2 255.255.255.0

 serial restart-delay 0

!

interface Serial0/1

 no ip address

 shutdown

 serial restart-delay 0

!

interface Serial0/2

 no ip address

 shutdown

 serial restart-delay 0

!

interface Serial0/3

 no ip address

 shutdown

 serial restart-delay 0

!

router bgp 300

 no synchronization

 bgp router-id 7.7.7.7

 bgp log-neighbor-changes

 network 7.7.7.0 mask 255.255.255.0

 neighbor 192.168.6.1 remote-as 200

 no auto-summary

!

ip http server

no ip http secure-server

ip classless

control-plane

line con 0

line aux 0

line vty 0 4

 login

!

!

End

 

 

验证:

分别在各个路由器上使用show ip bgp show ip route 命令查看

R1:

 

R2:

 

 

 

R3:

 

 

R4:

 

 

R5:

 

 

R6:

 

 

R7:

 

 

 

本文出自 “IT梦-齐-分享” 博客

 

转载自:https://www.2cto.com/px/201107/96485.html

招聘 不方便扫码就复制添加关注:程序员招聘谷,微信号:jobs1024


上一篇:

路由和交换类CCIE考前实验练习设备要求
  ThelabexamtestsanyfeaturethatcanbeconfiguredontheequipmentandtheIOSversionsindicatedbelow.YoumayseemorerecentIOSversionsinstalledinthelab,butyouwillnotbetest
CCIE LAB 实验计划
  一IGP  参考volume1和allinone。重点放在OSPF,EIGRP,RIP2和新加的ISIS上。注意几种协议间的重分布。eigrp要用多种方法实现负载平衡。ospf用frame-realy作主链路,isdn作备份(考试时不能用packup)
CCIE实验笔记之-第3章 WAN协议(帧中继)之六
3.7实验5:配置帧中继流量整形及OSPF的配置
CCIE实验笔记之-第3章 WAN协议(帧中继)之二
3.2帧中继的配置第1步  在接口或子接口进行帧中继封装Router(config-if)#encapsulaionframe-relay[cisco|ietf]Cisco是默认封装,符合RFC1490orcisco设备时使用。第三方时用ietf。第
路由交换类CCIE考前实验练习设备要求
ThelabexamtestsanyfeaturethatcanbeconfiguredontheequipmentandtheIOSversionsindicatedbelow.YoumayseemorerecentIOSversionsinstalledinthelab,butyouwillnotbetestedon
BGP对等体组-network学习笔记
在实际应用中大部分的BGP配置是比较复杂的,对等体组是简化配置的一种方法.配置的基本步骤:1使用neighborpeer-group-namepeer-group来创建BGP对等体组.2使用neighborpeer-group-name给对等体加上希望的参
BGP路由反射-network学习笔记
提供了在大型I-BGP实现中I-BGP全网状连接问题的一个简单解决方案。详细介绍RFC1966文档。实验拓扑:R1-------R7--------R3分别用串口连接配置如下:R7:hostnamer7interfaceLoopbac
CCIE实验笔记之 第2章 WAN协议(PPP)-4
2.2.5PPP的LAPB和LQM两种方法加强PPP链路质量:平衡式链路接入过程(LAPB)数字模式协商  pppreliablelink链路质量监控(LQM)  pppqualityLQM发送链路质量报告(LQR)代替keepalive
CCIE实验笔记之- 第1章 WAN协议(HDLC)
第1章WAN协议(HDLC)1.1HDLC协议概述高级数据链路控制(HDLC)是一种高效协议,Cisco版的HDLC协议和各厂商均不兼容,主要有以下特点:与其它厂商不兼容快速,高效支持keepalive机