5.2 层次化RR

图片[1]-5.2 层次化RR-大赛人网
图5-2 层次化RR器网络拓扑

1.接5.1配置R4、R5的OSPF

[R4]ospf 1 router-id 4.4.4.4
[R4-ospf-1]area 0
[R4-ospf-1-area-0.0.0.0]network 45.1.1.0 0.255.255.255

[R5]ospf 1 router-id 5.5.5.5 
[R5-ospf-1]area 0
[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]network 45.1.1.0 0.255.255.255

2.配置R4、R5的IBGP,指定R4为路由反射器,client为R5

[R4]bgp 234 
[R4-bgp]peer 5.5.5.5 as-number 234
[R4-bgp]peer 5.5.5.5 connect-interface LoopBack 0
[R4-bgp]peer 5.5.5.5 reflect-client
[R5]bgp 234
[R5-bgp]router-id 5.5.5.5
[R5-bgp]peer 4.4.4.4 as-number 234
[R5-bgp]peer 4.4.4.4 connect-interface LoopBack 0

3.R5查看BGP路由信息

[R5]display bgp routing-table
 *>i  1.1.1.1/32         2.2.2.2         0          100        0      100i

[R5]display bgp routing-table 1.1.1.1
 BGP local router ID : 5.5.5.5
 Local AS number : 234
 Paths:   1 available, 1 best, 1 select
 BGP routing table entry information of 1.1.1.1/32:
 From: 4.4.4.4 (4.4.4.4)
 Route Duration: 00h01m52s  
 Relay IP Nexthop: 45.1.1.4
 Relay IP Out-Interface: GigabitEthernet0/0/1
 Original nexthop: 2.2.2.2
 Qos information : 0x0
 AS-path 100, origin igp, MED 0, localpref 100, pref-val 0, valid, internal, best, select, active, pre 255, IGP cost 3
 Originator:  2.2.2.2
 Cluster list: 4.4.4.4, 33.33.33.33
 Not advertised to any peer yet
© 版权声明
THE END
喜欢就支持一下吧
点赞7 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称

    请登录后查看评论内容