中国IT动力,最新最全的IT技术教程
最新100篇 | 推荐100篇 | 专题100篇 | 排行榜 | 搜索 | 在线API文档 | 网通镜像
首 页 | 程序开发 | 操作系统 | 软件应用 | 图形图象 | 网络应用 | 精文荟萃 | 教育认证 | 硬件维护 | 未整理篇 | 站长教程
ASP JS PHP工程 ASP.NET 网站建设 UML J2EESUN .NET VC VB VFP 网络维护 数据库 DB2 SQL2000 Oracle Mysql
服务器 Win2000 Office C DreamWeaver FireWorks Flash PhotoShop 上网宝典 CorelDraw 协议大全 网络安全 微软认证
硬件维护  CPU  主板  硬盘  内存  显卡  显示器  键盘鼠标  声卡音箱  打印机  机箱电源  BIOS  网卡  C#  Java  Delphi  vs.net2005
  当前位置:> 网络应用 > 协议大全 > 其它技术
聚合BGP
作者:佚名 时间:2007-08-01 20:55 出处:ChinaITLab  责编:月夜寒箫
              摘要:聚合BGP
R6 ----- R3 ------ R5

R6 的AS 65530

R3的AS 1

R5的AS 2

聚合172.16.0.0/24到172.16.3.0/24

R6的配置

interface Serial1

ip address 172.17.1.2 255.255.255.0

!

router bgp 65530

bgp log-neighbor-changes

neighbor 172.17.1.1 remote-as 1

!

R3的配置

interface Serial0

ip address 10.1.1.1 255.255.255.0

no ip route-cache

no ip mroute-cache

clockrate 500000

!

interface Serial1

ip address 172.17.1.1 255.255.255.0

no ip route-cache

no ip mroute-cache

clockrate 500000

!

interface BRI0

no ip address

no ip route-cache

no ip mroute-cache

shutdown

!

router bgp 1

bgp log-neighbor-changes

aggregate-address 172.16.0.0 255.255.252.0

neighbor 10.1.1.2 remote-as 2

neighbor 172.17.1.2 remote-as 65530

!

R5的配置

!

interface Loopback0

ip address 172.16.0.1 255.255.255.0

!

interface Loopback1

ip address 172.16.1.1 255.255.255.0

!

interface Loopback2

ip address 172.16.2.1 255.255.255.0

!

interface Loopback3

ip address 172.16.3.1 255.255.255.0

!

interface Ethernet0

no ip address

no ip mroute-cache

shutdown

no cdp enable

!

interface Serial0

ip address 10.1.1.2 255.255.255.0

no ip mroute-cache

!

!

router bgp 2

bgp log-neighbor-changes

network 172.16.0.0 mask 255.255.255.0

network 172.16.1.0 mask 255.255.255.0

network 172.16.2.0 mask 255.255.255.0

network 172.16.3.0 mask 255.255.255.0

neighbor 10.1.1.1 remote-as 1

在R3上使用sh ip bgp

R3#sh ip bgp

BGP table version is 6, local router ID is 192.168.0.80

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal

Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path

*> 172.16.0.0/24 10.1.1.2 0 0 2 i

*> 172.16.0.0/22 0.0.0.0 32768 i

*> 172.16.1.0/24 10.1.1.2 0 0 2 i

*> 172.16.2.0/24 10.1.1.2 0 0 2 i

*> 172.16.3.0/24 10.1.1.2 0 0 2 i
关闭本页
 
首页 | 投资与合作 | 服务条款 | 隐私政策 | 收藏本站 | 设为首页 | 新用户注册 | 免责声明 | 使用帮助
Copyright ©2005-2008 chinaitpower.com All rights reserved. www.chinaitpower.com 版权所有