【CCNP】BGP联盟配置案例

相关主题
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

【CCNP】BGP联盟配置案例

版本V1.0

密级☑开放☐内部☐机密

类型☐讨论版☐测试版☑正式版

1案例配置拓扑

2案例配置需求

1、如上图所示,IP地址规划方面,R2上有一环回接口loopback 200,地址为200.1.1.1/32,R5上

有一环回接口loopback 100,地址为100.1.1.1/32,路由器互连的接口为172.8.AB.X/24(其中AB为路由器编号叠加,X为路由器编号,如R1连接R2的接口S0/0的地址为172.8.12.1/24)

2、如图所示,联盟AS 100中有两个子AS,它们分别为AS 65501、AS 65502,配置R1与R2行成

联盟iBGP邻居关系,R2与R3之间行成联盟eBGP邻居关系,R3与R4行成联盟iBGP邻居关系,R3与R5形成eBGP邻居关系,采用物理接口配置邻居建立;

SPOTO 全球培训●项目●人才 1

SPOTO 全球 培训 ● 项目 ● 人才

2 3、 将R2的loopback 200、R5的loopback 100接口宣告到相应的BGP 中,观察联盟内部的特征;

3 案例配置思路

1、 R1上的关键配置:

router bgp 65501 /联盟子AS/

no synchronization

bgp log-neighbor-changes

bgp confederation identifier 100 /指定对联盟外呈现的AS/ 雏鹰论坛CCNP

neighbor 172.8.12.2 remote-as 65501

no auto-summary

2、 R2上的关键配置:

router bgp 65501

no synchronization

bgp log-neighbor-changes

bgp confederation identifier 100

bgp confederation peers 65502 /指定联盟内部eBGP 邻居关系的邻居AS/

network 200.1.1.1 mask 255.255.255.255

neighbor 172.8.12.1 remote-as 65501

neighbor 172.8.23.3 remote-as 65502

no auto-summary

3、 R3上的关键配置:

router bgp 65502

no synchronization

bgp log-neighbor-changes

bgp confederation identifier 100

bgp confederation peers 65501

neighbor 172.8.23.2 remote-as 65501

neighbor 172.8.34.4 remote-as 65502

neighbor 172.8.35.5 remote-as 200

no auto-summary

4、 R4上的关键配置:

router bgp 65502

SPOTO 全球 培训 ● 项目 ● 人才

3 no synchronization

bgp log-neighbor-changes

bgp confederation identifier 100

neighbor 172.8.34.3 remote-as 65502

no auto-summary

5、 R5上的关键配置:

router bgp 200

no synchronization

bgp log-neighbor-changes

network 100.1.1.1 mask 255.255.255.255

neighbor 172.8.35.3 remote-as 100

no auto-summary

4 案例检验结果

1、 查看认证后BGP 邻居建立的情况:

R5#show ip bgp

BGP table version is 3, local router ID is 172.8.35.5

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

r RIB-failure, S Stale

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

Network Next Hop Metric LocPrf Weight Path

*> 100.1.1.1/32 0.0.0.0 0 32768 i

*> 200.1.1.1/32 172.8.35.3 0 100 i

/AS PATH 中不包含联盟内部的子AS/

R3#show ip bgp

BGP table version is 3, local router ID is 172.8.35.3

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

r RIB-failure, S Stale

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

雏鹰论坛CCNP

相关文档
最新文档