路由器反射器RR配置_第1页
路由器反射器RR配置_第2页
路由器反射器RR配置_第3页
路由器反射器RR配置_第4页
路由器反射器RR配置_第5页
已阅读5页,还剩5页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、路由器反射器(RR)配置一、 路由器基本配置R1>enableR1#conf tR1(config)#int lo 0R1(config-if)#exitR1(config)#int s0/0R1(config-if)#clock rate 128000R1(config-if)#no shutdownR1(config-if)#endR1#R2>enableR2#conf tR2(config)#int lo 0R2(config-if)#exitR2(config)#int s0/0R2(config-if)#no shutdownR2(config-if)#exitR2(co

2、nfig)#int s0/1R2(config-if)#clock rate 128000R2(config-if)#no shutdownR2(config-if)#endR2#R3>enableR3#conf tR3(config)#int lo 0R3(config-if)#exitR3(config)#int s0/0R3(config-if)#no shutdownR3(config-if)#exitR3(config)#int s0/1R3(config-if)#clock rate 128000R3(config-if)#no shutdownR3(config-if)#e

3、ndR3#R4>enableR4#conf tR4(config)#int lo 0R4(config-if)#exitR4(config)#int s0/0R4(config-if)#no shutdownR4(config-if)#exitR4(config)#exitR4#二、 对路由器进行配置R1#conf tR1(config)#router eigrp 1R1(config-router)#no auto-summaryR1(config-router)#exitR1(config)#router bgp 100R1(config-router)#no synchroniza

4、tionR1(config-router)#no auto-summaryR1(config-router)#neighbor 2.2.2.2 remote-as 100R1(config-router)#neighbor 2.2.2.2 update-source lo 0R1(config-router)#endR1#R2#conf tR2(config)#router eigrp 1R2(config-router)#no auto-summaryR2(config-router)#exiR2(config)#router bgp 100R2(config-router)#no sync

5、hronizationR2(config-router)#no auto-summaryR2(config-router)#neighbor 1.1.1.1 remote-as 100R2(config-router)#neighbor 1.1.1.1 update-source lo 0R2(config-router)#neighbor 1.1.1.1 route-reflector-client /配置RR客户端R2(config-router)#neighbor 3.3.3.3 remote-as 100R2(config-router)#neighbor 3.3.3.3 update

6、-source lo 0R2(config-router)#neighbor 3.3.3.3 route-reflector-clientR2(config-router)#endR2#R3#conf tR3(config)#router eigrp 1R3(config-router)#no auto-summaryR3(config-router)#exitR3(config)#router bgp 100R3(config-router)#no synchronizationR3(config-router)#no auto-summaryR3(config-router)#neighb

7、or 2.2.2.2 remote-as 100R3(config-router)#neighbor 2.2.2.2 update-source lo 0R3(config-router)#neighbor 2.2.2.2 next-hop-selfR3(config-router)#neighbor 34.34.34.4 remote-as 200R3(config-router)#endR3#R4#conf tR4(config)#router bgp 200R4(config-router)#no synchronizationR4(config-router)#no auto-summ

8、aryR4(config-router)#neighbor 34.34.34.3 remote-as 100R4(config-router)#endR4#三、 查看路由表R1#sh ip routeCodes: 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 e

9、xternal 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 routeGateway of last resort is not set 1.0.0.0/24 is subnetted, 1 subnetsC 1

10、.1.1.0 is directly connected, Loopback0 2.0.0.0/24 is subnetted, 1 subnetsD 2.2.2.0 90/2297856 via 12.12.12.2, 00:22:09, Serial0/0 3.0.0.0/24 is subnetted, 1 subnetsD 3.3.3.0 90/2809856 via 12.12.12.2, 00:15:34, Serial0/0 4.0.0.0/24 is subnetted, 1 subnetsB 4.4.4.0 200/0 via 3.3.3.3, 00:00:04 23.0.0

11、.0/24 is subnetted, 1 subnetsD 23.23.23.0 90/2681856 via 12.12.12.2, 00:22:09, Serial0/0 12.0.0.0/24 is subnetted, 1 subnetsC 12.12.12.0 is directly connected, Serial0/0R1#R2#sh ip routeCodes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF

12、 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 download

13、ed static routeGateway of last resort is not set 1.0.0.0/24 is subnetted, 1 subnetsD 1.1.1.0 90/2297856 via 12.12.12.1, 00:14:16, Serial0/0 2.0.0.0/24 is subnetted, 1 subnetsC 2.2.2.0 is directly connected, Loopback0 3.0.0.0/24 is subnetted, 1 subnetsD 3.3.3.0 90/2297856 via 23.23.23.3, 00:07:40, Se

14、rial0/1 4.0.0.0/24 is subnetted, 1 subnetsB 4.4.4.0 200/0 via 3.3.3.3, 00:02:25 23.0.0.0/24 is subnetted, 1 subnetsC 23.23.23.0 is directly connected, Serial0/1 12.0.0.0/24 is subnetted, 1 subnetsC 12.12.12.0 is directly connected, Serial0/0R2#R3#sh ip routeCodes: C - connected, S - static, R - RIP,

15、 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, * - can

16、didate default, U - per-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is not set 34.0.0.0/24 is subnetted, 1 subnetsC 34.34.34.0 is directly connected, Serial0/1 1.0.0.0/24 is subnetted, 1 subnetsD 1.1.1.0 90/2809856 via 23.23.23.2, 00:07:48, Serial0/0 2.0.0.0

17、/24 is subnetted, 1 subnetsD 2.2.2.0 90/2297856 via 23.23.23.2, 00:07:48, Serial0/0 3.0.0.0/24 is subnetted, 1 subnetsC 3.3.3.0 is directly connected, Loopback0 4.0.0.0/24 is subnetted, 1 subnetsB 4.4.4.0 20/0 via 34.34.34.4, 00:03:26 23.0.0.0/24 is subnetted, 1 subnetsC 23.23.23.0 is directly conne

18、cted, Serial0/0 12.0.0.0/24 is subnetted, 1 subnetsD 12.12.12.0 90/2681856 via 23.23.23.2, 00:07:49, Serial0/0R3#R4#sh ip routeCodes: 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

19、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 routeGateway of last resort is not set 34.0.0.0/2

20、4 is subnetted, 1 subnetsC 34.34.34.0 is directly connected, Serial0/0 1.0.0.0/24 is subnetted, 1 subnetsB 1.1.1.0 20/0 via 34.34.34.3, 00:00:50 4.0.0.0/24 is subnetted, 1 subnetsC 4.4.4.0 is directly connected, Loopback0R4#四、 测试R2#sh ip bgp neiBGP neighbor is 1.1.1.1, remote AS 100, internal link B

21、GP state = Established, up for 00:04:40 Last read 00:00:39, hold time is 180, keepalive interval is 60 seconds Neighbor capabilities: Route refresh: advertised and received(old & new) Address family IPv4 Unicast: advertised and received Message statistics: InQ depth is 0 OutQ depth is 0 Sent Rcv

22、d Opens: 2 2 Notifications: 0 0 Updates: 2 2 Keepalives: 29 29 Route Refresh: 0 0 Total: 33 33 Default minimum time between advertisement runs is 5 seconds For address family: IPv4 Unicast BGP table version 9, neighbor version 9/0 Output queue sizes : 0 self, 0 replicated Index 2, Offset 0, Mask 0x4

23、 Route-Reflector Client 2 update-group member Sent Rcvd Prefix activity: - - Prefixes Current: 1 1 (Consumes 48 bytes) Prefixes Total: 2 1 Implicit Withdraw: 1 0 Explicit Withdraw: 0 0 Used as bestpath: n/a 1 Used as multipath: n/a 0 Outbound Inbound Local Policy Denied Prefixes: - - Total: 0 0 Numb

24、er of NLRIs in the update sent: max 1, min 0 Connections established 2; dropped 1 Last reset 00:05:19, due to RR client config changeConnection state is ESTAB, I/O status: 1, unread input bytes: 0Connection is ECN DisabledLocal host: 2.2.2.2, Local port: 11002Foreign host: 1.1.1.1, Foreign port: 179

25、Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes)Event Timers (current time is 0x2272C0):Timer Starts Wakeups NextRetrans 8 0 0x0TimeWait 0 0 0x0AckHold 6 0 0x0SendWnd 0 0 0x0KeepAlive 0 0 0x0GiveUp 0 0 0x0PmtuAger 0 0 0x0DeadWait 0 0 0x0iss: 220836448 snduna: 220836769 sndnxt: 2

26、20836769 sndwnd: 16064irs: 2855413144 rcvnxt: 2855413378 rcvwnd: 16151 delrcvwnd: 233SRTT: 197 ms, RTTO: 984 ms, RTV: 787 ms, KRTT: 0 msminRTT: 28 ms, maxRTT: 300 ms, ACK hold: 200 msFlags: active open, nagleIP Precedence value : 6Datagrams (max data segment is 536 bytes):Rcvd: 12 (out of order: 0),

27、 with data: 6, total data bytes: 233Sent: 10 (retransmit: 0, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 8, total data bytes: 320R2#BGP neighbor is 3.3.3.3, remote AS 100, internal link BGP state = Established, up for 00:05:58 Last read 00:00:57, hold time is 180, keepalive i

28、nterval is 60 seconds Neighbor capabilities: Route refresh: advertised and received(old & new) Address family IPv4 Unicast: advertised and received Message statistics: InQ depth is 0 OutQ depth is 0 Sent Rcvd Opens: 2 2 Notifications: 0 0 Updates: 2 2 Keepalives: 20 20 Route Refresh: 0 0 Total:

29、24 24 Default minimum time between advertisement runs is 5 seconds For address family: IPv4 Unicast BGP table version 9, neighbor version 9/0 Output queue sizes : 0 self, 0 replicated Index 2, Offset 0, Mask 0x4 Route-Reflector Client 2 update-group member Sent Rcvd Prefix activity: - - Prefixes Cur

30、rent: 2 1 (Consumes 48 bytes) Prefixes Total: 2 1 Implicit Withdraw: 0 0 Explicit Withdraw: 0 0 Used as bestpath: n/a 1 Used as multipath: n/a 0 Outbound Inbound Local Policy Denied Prefixes: - - Total: 0 0 Number of NLRIs in the update sent: max 0, min 0 Connections established 2; dropped 1 Last re

31、set 00:06:33, due to RR client config changeConnection state is ESTAB, I/O status: 1, unread input bytes: 0Connection is ECN DisabledLocal host: 2.2.2.2, Local port: 11001Foreign host: 3.3.3.3, Foreign port: 179Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes)Event Timers (current time is 0x23680C):Timer Starts Wakeups NextRetrans 11 0 0x0TimeWait 0 0 0x0AckHold 8 3 0x0SendWnd 0 0 0x0KeepAlive 0 0 0x0GiveUp 0 0 0x0PmtuAger 0 0 0x0DeadWait 0

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论