第1段:设置被动接口 R3#sh ip route eigrp D 192.1.1.0/24[90/40640000]via 201.1.13.1,00:01:40,Serial1 D 192.1.2.0/24[90/409600]via 200.1.12.1,00:03:36,Ethernet0 R3#sh ip eigrp neighbor IP-EIGRP neighbors for PRocess 200 H Address Interface Hold Uptime SRTT RTO Q Seq Type (sec) (ms) Cnt Num 1 201.1.13.1 Se1 10 00:01:51 810 4860 0 10 2 201.1.23.1 Se0 12 00:34:57 224 1344 0 23 0 200.1.1.2 Et0 12 00:38:57 12 200 0 24 R3#sh Enter configuration commands,one per line.End with CNTL/Z. R3(config)#router eigrp 200 R3(config-router)#passive-interface s1 R3(config-router)#^Z R3#sh 01:40:23:%SYS-5-CONFIG_I:Configured from console by console R3:sh ip route eigrp D 192.1.2.0/24[90/409600]via 200.1.12.1,00:04:16,Ethernet0 R3#sh ip eigr neighbor IP-EIGRP neighbor IP-EIGRP neighbors for process 200 H Address Interface Hold Uptime SRTT RTO Q Seq Type (sec) (ms) Cnt Num 2 201.1.13.1 Se0 11 00:35:35 149 894 0 28 0 200.1.1,2 Et0 11 00:39:36 11 200 0 27 R3#sh ip protocol Routing Protocol is "eigrp 200" Outgoing update filter list for all interfaces is Incoming update filter list for all interfaces is Default networks flagged in outgoing updates Default networks accepted from incoming updates EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0 EIGRP maximum hopcount 100 EIGRP maximum metric variance 1 Redistributing: eigrp 200 Automatic network summarization is not in effect Routing for Networks: 200.1.1.0 201.1.13.0/30 201.1.23.0/30 Passive lnterface(s): Serial1 Routing Information Sources: Gateway Distance Last Update 201.1.13.1 90 00:02:39 200.1.1.2 90 00:00:27 201.1.23.1 90 00:00:27 Distance: internal 90 external 170 第2段:设置不等度量值负载均衡 R3# R3#sh ip eigrp topology IP-EIGRP Topology Table for AS(200)/ID(201.1.23.2) Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply, r - reply Status, s - sia Status P 192.1.2,0/24, 1 sUCcessors, PD is 409600 via 200.1.1.2(409600/128256),Ethernet0 P201.1.13.1/30,1 successors,FD is 40512000 via Connected, Serial1 P 200.1,1.0/24, 1 successors,FD is 281600) via Connected,Ethernet0 P201.1,23.0/30,1 successors,FD is 1792000 via Connected, Setial0 R3#conf t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#router eigrp 200 R3(config-router)#variance 5 R3(config-router)#no passive-int si R3(config-router)#^Z R3#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - external, 0 - 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, E - EGP i - IS-IS, 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 route Gateway of last resort is not set 201.1.23.0/30 is subnetted, i subnets C 201.1.23.01s directly connected, Serial0 C 200.1.1.0/24 is directly connected, Ethernet0 201.1.13.0/30 is subnetted, 1 subnets C 201.1.13.0 is directly connected, Serial1 D 192.1.2.0/24[90/1920000]via 201.1.13.2,00:00:43, Serial1 D 192.1.2.0/24[90/409600]via 200.1.1.2,00:00:43, Ethernet0 R3#cle ip route * R3#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, 0 - 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, E - EGP i - IS-IS, 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 route Gateway of last resort is not set 201.1.23.0/30 is subnetted, 1 subnets C 201.1.23.01s directly connected, Serial0 C 200.1.1.0/24 is directly connected, Ethemet0 201.1.13.0/30 is subnetted, 1 subnets C 201.1.13.01s directly connected. Serial 1 D 192.1.1.0/24[90/1920000]via 201.1.13.1,00:00:02,Serial1 D 192.1.2.0/24[90/409600]via 200.1.1.2,00:00:02,Ethernet0 [90/1920000]via 201.1.23.1,00:00:02,Serial0 R3# Term_Server>2 [Resuming connection 2 to R2 ... ] R2#sh ip eigrp topology IP-EIGRP Topology Table for AS(200)/ID( 192.1.2.2) Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply, r - reply Status, s - sia Status
P 192.1.1.0/24,1 successors,FD is 1945600 via 200.1.1.3(1945600/1920000),Ethernet0 via 201.1.23.2(2432000/1920000),Serial0 P 192.1.2.0/24, 1 successors, FD is 128256 via Connected, Loopback0 P 201.1.13.0/30, 1 successors, FD is 1817600 via 200.1.1.3(1817600/1792000),Ethernet0 via 201.1.23.2(234000/1792000),Serial0 P 200.1.1.0/24, 1 successors, FD is 281600 via Connected, Ethemet0 P 201.1.23.0/30, 1 successors, FD is 1792000 via Connected, Serial0 R2#sh ip route ei 201.1.13.0/30 is subnetted, 0 subnets D 201.1.13.0[90/1817600]via 200.1.1.3,00:05:12,Ethernet0 D 192.1.1.0/24[90/1945600]via 200.1.1.3,00:05:12,Ethernet0 R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#router eigrp 200 R2(config-router)#variance 5 R2(ccmfig-router)#^Z R2#cle ip route * R2#sh ip route eigrp 201.1.13.0/30 is subnetted, 1 subnets D 201.1.13.0 [90/1817600] via 200.1.1.3, 00:00:05, Ethernet0 [90/2304000] via 201.1.23.2, 00:00:05, Serial0 D 192.1.1.0/24 [90/1945600] via 200.1.1.3, 00:00:05,Ethernet0 [90/2432000] via 201.1.23.2, 00:00:05, Serial0 R2# R2#conft Enter configuration commands, one per line. End with CNTL/Z. R2(config)#router eigrp 200 R2(config-router)#maximum-paths 1 R2(config-router)#^Z R2#sh ip route eigrp 201.1.13.0/30 is subnetted, 1 subnets D 201.1.13.0 [90/1817600] via 200.1.1.3,00;00:06, Ethern