Transcription

CCNPCISCO CERTIFIED NETWORK PROFESSIONALLAB MANUALVER 2.0Page 1 of ll contents are copyright @ 2007-2010All rights reserved.

ACKNOWLEDGEMENTWe can write a 1000 page book, but we can’t find enough words to describe thecredit Mr. Siddiq Ahmed deserves for what is good about this book. Your ability to guideus made the toughest things easy in developing this book. We still refuse to write a bookunless you develop it!!Behind the scenes at Netmetrics is a vast array of talented people – all of whommade it possible to develop the book. People, who provided the right equipment in theright time, people who maintained a friendly atmosphere to finish the work in time. Manythanks to you all for the hard and good work.Thanks to Nizam, Anwar, Afsar, Awadh, Sreenivas and Mr. Prasad for findingbetter ways to describe how the technical pieces fit together, for fixing errors.Thanks to Mr. Abdur Rahman for giving us the time we needed to work on thisbook and by making sure the job was fun.Finally, no acknowledgement section could be complete without acknowledgingourselves, who took all the responsibility and dedication in completing the book.Finally, to GOD, who gives us strength when things are tough, and peace beyondbelief – THANK YOU!!!Page 2 of ll contents are copyright @ 2007-2010All rights reserved.

PAPER 1RoutingBUILDING SCALABLE CISCO INTERNETWORKSBSCI (642–901)Page 3 of ll contents are copyright @ 2007-2010All rights reserved.

Module 1 – EIGRPPage 4 of ll contents are copyright @ 2007-2010All rights reserved.

EIGRP LABS INDEX1. CONFIGURING BASIC EIGRP2. CONFIGURING IP DEFAULT-NETWORK COMMAND3. CONFIGURE ROUTE SUMMARIZATION4. LOAD BALANCING ACROSS EQUAL COST PATH5. LOAD BALANCING ACROSS UNEQUAL COST PATH6. CONFIGURE EIGRP AUTHENTICATION (MD5)7. CONFIGURE EIGRP STUB8. EIGRP REDISTRIBUTION WITH RIPv29. EIGRP REDISTRIBUTION WITH OSPF10. CONFIGURE EIGRP WITH REDISTRIBUTE CONNECTED.11. CONFIGURE EIGRP AND IGRPPage 5 of ll contents are copyright @ 2007-2010All rights reserved.

Lab 1 – Basic EIGRP ConfigurationR1E0R2S 0/2/0S0E0Interface IP Address ConfigurationR1InterfaceS 0/2/0E0IP Address1.1.1.110.1.1.1Subnet Mask255.0.0.0255.0.0.0IP Address1.1.1.220.1.1.1Subnet Mask255.0.0.0255.0.0.0R2InterfaceS0E0Lab Objective:Task 1Configure EIGRP on 2 routers in AS 100. Disable Auto-summary.R1R2Router eigrp 100Network 1.0.0.0Network 10.0.0.0No auto-summaryRouter eigrp 100Network 1.0.0.0Network 20.0.0.0No auto-summaryVerification :Page 6 of ll contents are copyright @ 2007-2010All rights reserved.

R1#show ip routeC 1.0.0.0/8 is directly connected, Serial0/2/0D 20.0.0.0/8 [90/2195456] via 1.1.1.2, 00:43:52, Serial0/2/0C 10.0.0.0/8 is directly connected, FastEthernet0/0R1#show ip eigrp neighborsIP-EIGRP neighbors for process 100H AddressInterfaceHold Uptime SRTT RTO Q Seq(sec)(ms)Cnt Num0 1.1.1.2Se0/2/013 00:45:083552130 0106Page 7 of ll contents are copyright @ 2007-2010All rights reserved.

Lab 9 Lab– IP RIP2 –TriggeredConfiguringip ace IP Address ConfigurationR1InterfaceS1E0IP Address1.1.1.110.1.1.1Subnet Mask255.0.0.0255.0.0.0IP Address1.1.1.22.2.2.130.1.1.1Subnet Mask255.0.0.0255.0.0.0255.0.0.0IP Address2.2.2.230.1.1.1Subnet S 0/2E0Lab Objective:Page 8 of ll contents are copyright @ 2007-2010All rights reserved.

Task 1Configure EIGRP according to the above scenario. Configure R1 ( S0, E0 ), R2 ( S1, S0,E0 ) in EIGRP AS 100 and R3 ( S0/2 ) in EIGRP AS 200. Do not advertise network30.0.0.0 in EIGRP process. R1 wants to send packets to network 30.0.0.0. Use the Ipdefault-network command to accomplish this task. Also disable auto-summary.R1R2Router eigrp 100Network 10.0.0.0Network 1.0.0.0No auto-summaryRouter eigrp 100Network 1.0.0.0Network 20.0.0.0Network 2.0.0.0No auto-summaryIp route 30.0.0.0 255.0.0.0 2.2.2.2Ip default-network 2.0.0.0R3Router eigrp 100Network 2.0.0.0No auto-summary.Verification :R1#show ip routeGateway of last resort is 1.1.1.2 to network 2.0.0.0CD*DC1.0.0.0/8 is directly connected, Serial0/2/02.0.0.0/8 [90/2681856] via 1.1.1.2, 00:00:14, Serial0/2/020.0.0.0/8 [90/2195456] via 1.1.1.2, 00:04:43, Serial0/2/010.0.0.0/8 is directly connected, FastEthernet0/0The output displays network 2.0.0.0 as a D* route in the routing table as this is candidatedefault-route established in R1 to reach network 30.0.0.0.Note: When we ping from R1 to 30.1.1.1 networkR1 # ping 30.1.1.1Result: 100% successPage 9 of ll contents are copyright @ 2007-2010All rights reserved.

Lab 3 – Route Summarization with EIGRPR1R2R3E0S0/2/0S1S0Loopback 1-8S0/2E0E0Interface IP Address ConfigurationR1InterfaceS 0/2/0E0IP Address1.1.1.110.1.1.1Subnet Mask255.0.0.0255.0.0.0IP Address1.1.1.22.2.2.120.1.1.1Subnet Mask255.0.0.0255.0.0.0255.0.0.0IP 72.168.7.1Subnet faceS 0/2E0Loopback 1Loopback 2Loopback 3Loopback 4Loopback 5Loopback 6Loopback 7Loopback 8Lab Objective:Task 1Page 10 of ll contents are copyright @ 2007-2010All rights reserved.

Configure the following Loopback Interfaces on R3 and advertise them under EIGRP:Loopback 1: 172.168.0.1/24Loopback 2: 172.168.1.1/24Loopback 3: 172.168.2.1/24Loopback 4: 172.168.3.1/24Loopback 5: 172.168.4.1/24Loopback 6: 172.168.5.1/24Loopback 7: 172.168.6.1/24Loopback 8: 172.168.7.1/24R3Interface loopback 1Ip address 172.168.0.1 255.255.255.0Interface loopback 2Ip address 172.168.1.1 255.255.255.0Interface loopback 3Ip address 172.168.2.1 255.255.255.0Interface loopback 4Ip address 172.168.3.1 255.255.255.0Interface loopback 5Ip address 172.168.4.1 255.255.255.0Interface loopback 6Ip address 172.168.5.1 255.255.255.0Interface loopback 7Ip address 172.168.6.1 255.255.255.0Interface loopback 8Ip address 172.168.7.1 255.255.255.0Router eigrp 100Network 2.0.0.0Network30.0.0.0Network 172.168.1.0 0.0.0.255Network 172.168.2.0 0.0.0.255Network 172.168.3.0 0.0.0.255Network 172.168.4.0 0.0.0.255Network 172.168.5.0 0.0.0.255Network 172.168.6.0 0.0.0.255Network 172.168.7.0 0.0.0.255Network 172.168.0.0 0.0.0.255No auto-summaryTask 2Page 11 of ll contents are copyright @ 2007-2010All rights reserved.

Configure EIGRP on R1 and R2. Advertise the directly connected networks in EIGRP inAS 100. Disable auto-summary. Also configure route summarization so that only onesummary route is advertised to R1.R1R2Router eigrp 100Network 10.0.0.0Network 1.0.0.0No auto-summaryRouter eigrp 100Network 1.0.0.0Network 20.0.0.0Network 2.0.0.0No auto-summaryInt s0Ip summary-address eigrp 100 172.168.0.0255.255.248.0Verification:R1#show ip routeC 1.0.0.0/8 is directly connected, Serial0/2/0D 2.0.0.0/8 [90/2681856] via 1.1.1.2, 00:00:02, Serial0/2/0D 20.0.0.0/8 [90/2195456] via 1.1.1.2, 00:00:02, Serial0/2/0172.168.0.0/21 is subnetted, 1 subnetsD172.168.0.0 [90/2809856] via 1.1.1.2, 00:00:02, Serial0/2/0C 10.0.0.0/8 is directly connected, FastEthernet0/0D 30.0.0.0/8 [90/2707456] via 1.1.1.2, 00:00:02, Serial0/2/0With route summarization on R2 a summary route is created pointing to null 0R2#show ip routeC 1.0.0.0/8 is directly connected, Serial0C 2.0.0.0/8 is directly connected, Serial1C 20.0.0.0/8 is directly connected, Ethernet0172.168.0.0/16 is variably subnetted, 9 subnets, 2 masksD172.168.4.0/24 [90/2297856] via 2.2.2.2, 00:07:13, Serial1D172.168.5.0/24 [90/2297856] via 2.2.2.2, 00:07:08, Serial1D172.168.6.0/24 [90/2297856] via 2.2.2.2, 00:07:04, Serial1D172.168.7.0/24 [90/2297856] via 2.2.2.2, 00:06:56, Serial1D172.168.0.0/24 [90/2297856] via 2.2.2.2, 00:06:49, Serial1D172.168.0.0/21 is a summary, 00:01:24, Null0D172.168.1.0/24 [90/2297856] via 2.2.2.2, 00:07:33, Serial1D172.168.2.0/24 [90/2297856] via 2.2.2.2, 00:07:25, Serial1D172.168.3.0/24 [90/2297856] via 2.2.2.2, 00:07:18, Serial1D 10.0.0.0/8 [90/2172416] via 1.1.1.1, 00:01:30, Serial0D 30.0.0.0/8 [90/2195456] via 2.2.2.2, 00:08:03, Serial1Page 12 of ll contents are copyright @ 2007-2010All rights reserved.

Lab 4 – Load balancing across Equal Cost PathR1R2S0S0E0E0S1S1Interface IP Address ConfigurationR2InterfaceS0S1E0IP Address2.2.2.11.1.1.120.1.1.1Subnet Mask255.0.0.0255.0.0.0255.0.0.0IP Address1.1.1.22.2.2.230.1.1.1Subnet b Objective:Task 1Configure EIGRP AS 100 as per the above scenario and verify load balancing using thetraceroute command on R3 :R2R3Router eigrp 100Network 20.0.0.0Router eigrp 100Network 1.0.0.0Page 13 of ll contents are copyright @ 2007-2010All rights reserved.

Network 1.0.0.0Network 2.0.0.0No auto-summaryNetwork 30.0.0.0Network 2.0.0.0No auto-summaryVerification:R3#show ip routeC 1.0.0.0/8 is directly connected, Serial1C 2.0.0.0/8 is directly connected, Serial0D 20.0.0.0/8 [90/2195456] via 1.1.1.1, 00:07:42, Serial1[90/2195456] via 2.2.2.1, 00:07:42, Serial0C 30.0.0.0/8 is directly connected, Ethernet0First Traceroute packet going via 1.1.1.1R3#traceroute 20.1.1.1Type escape sequence to abort.Tracing the route to 20.1.1.11 1.1.1.1 32 msec2.2.2.1 20 msec *Second Traceroute packet going via 2.2.2.1R3#traceroute 20.1.1.1Type escape sequence to abort.Tracing the route to 20.1.1.11 2.2.2.1 20 msec1.1.1.1 28 msec *Page 14 of ll contents are copyright @ 2007-2010All rights reserved.

Lab 5 – Load balancing across Unequal CostPath(Scenario Based On Lab 4)Interface IP Address ConfigurationR2InterfaceS0S1E0IP Address2.2.2.11.1.1.120.1.1.1Subnet Mask255.0.0.0255.0.0.0255.0.0.0IP Address1.1.1.22.2.2.230.1.1.1Subnet b Objective:Task 1Configure EIGRP AS 100 as per the above scenario. Make the links unequal cost pathsusing the bandwidth command in interface mode and verify load balancing.Use the variance command to gain load balancingR1Router eigrp 100Network 20.0.0.0Network 1.0.0.0Network 2.0.0.0No auto-summaryR2Router eigrp 100Network 1.0.0.0Network 30.0.0.0Network 2.0.0.0Variance 2No auto-summaryInterface S 0Bandwidth 800The variance multiplier set in the variance command when multiplied by the successorFD, must be greater than the feasible successor FD. Thus the feasible successors whoseFD is less than the above calculated value are installed in the routing table.Page 15 of ll contents are copyright @ 2007-2010All rights reserved.

Verification:With out the variance command:R2#sh ip eigrp topologyP 1.0.0.0/8, 1 successors, FD is 2169856via Connected, Serial1P 2.0.0.0/8, 1 successors, FD is 3712000via Connected, Serial0via 1.1.1.2 (2681856/2169856), Serial1P 20.0.0.0/8, 1 successors, FD is 281600via Connected, Ethernet0P 30.0.0.0/8, 1 successors, FD is 2195456via 1.1.1.2 (2195456/281600), Serial1via 2.2.2.2 (3737600/281600), Serial0The output displays 2 routes installed in the topology table with 2 different costs.R2#show ip routeCCCD1.0.0.0/8 is directly connected, Serial12.0.0.0/8 is directly connected, Serial020.0.0.0/8 is directly connected, Ethernet030.0.0.0/8 [90/2195456] via 1.1.1.2, 00:01:42, Serial1With the variance command:R2#show ip routeCCCD1.0.0.0/8 is directly connected, Serial12.0.0.0/8 is directly connected, Serial020.0.0.0/8 is directly connected, Ethernet030.0.0.0/8 [90/2195456] via 1.1.1.2, 00:00:04, Serial1[90/3737600] via 2.2.2.2, 00:00:04, Serial0The output displays 2 routes installed in the routing table.Page 16 of ll contents are copyright @ 2007-2010All rights reserved.

Lab 6 – EIGRP AuthenticationR1E0R2S1S0E0Interface IP Address ConfigurationR1InterfaceS1E0IP Address2.2.2.120.1.1.1Subnet Mask255.0.0.0255.0.0.0IP Address2.2.2.230.1.1.1Subnet Mask255.0.0.0255.0.0.0R2InterfaceS0E0Lab Objective:Task 1Configure MD5 authentication for the links. Use cisco123 as the key-string with a key-idof 1.R1R2Int S1Ip authentication mode eigrp 100 md5Ip authentication key-chain eigrp 100 chain1Int S 0Ip authentication mode eigrp 100 md5Ip authentication key-chain eigrp 100 chain 2Key chain chain1Key 1Key-string cisco123Key chain chain 2Key 1Key-string cisco123Page 17 of ll contents are copyright @ 2007-2010All rights reserved.

VerificationWith EIGRP Authentication:R2#show ip eigrp neighborsIP-EIGRP neighbors for process 100H AddressInterfaceHold Uptime SRTT RTO Q Seq(sec)(ms)Cnt Num0 2.2.2.2Se114 00:00:244024002Verify authentication by using debug EIGRP packetsR2#debug eigrp packets*Mar 1 02:52:50.895: EIGRP: Sending HELLO on Ethernet0*Mar 1 02:52:50.899: AS 100, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0*Mar 1 02:52:53.219: EIGRP: received packet with MD5 authentication, key id 1*Mar 1 02:52:53.223: EIGRP: Received HELLO on Serial1 nbr 2.2.2.2*Mar 1 02:52:53.223: AS 100, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0 pWith authentication mismatch:R2#show ip eigrp neighborsIP-EIGRP neighbors for process 100-----------NIL---------------R2#debug eigrp packets*Mar 1 02:58:05.895: EIGRP: Sending HELLO on Serial1*Mar 1 02:58:05.895: AS 100, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0*Mar 1 02:58:06.347: EIGRP: Sending HELLO on Ethernet0*Mar 1 02:58:06.351: AS 100, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0*Mar 1 02:58:08.471: EIGRP: pkt key id 1, authentication mismatch*Mar 1 02:58:08.475: EIGRP: Serial1: ignored packet from 2.2.2.2, opcode 5 (invalidauthentication)Page 18 of ll contents are copyright @ 2007-2010All rights reserved.

Lab 7 – Configuring EIGRP STUBR1R2R3E0S0S1/0S1Loopback 0 - 3S1/0E 0/0E0Interface IP Address ConfigurationR1InterfaceS0E0IP Address2.2.2.110.1.1.1Subnet Mask255.0.0.0255.0.0.0IP Address2.2.2.23.3.3.120.1.1.1Subnet Mask255.0.0.0255.0.0.0255.0.0.0IP 8.2.1172.168.3.1Subnet 5.255.255.0255.255.255.0R2InterfaceS 1/0S1E 0/0R3InterfaceS 1/0E0Loopback 0Loopback 1Loopback 2Loopback 3Page 19 of ll contents are copyright @ 2007-2010All rights reserved.

Lab Objective:Task 1Configure EIGRP AS 100 as per the above scenario on R1, R2 and R3. Disable autosummary. Only one summary route must be advertised to R2 and R1R1R2Router eigrp 100Network 2.0.0.0Network 10.0.0.0No auto-summaryRouter eigrp 100Network 2.0.0.0Network 3.0.0.0Network 20.0.0.0No auto-summaryR3Router eigrp 100Network 3.0.0.0Network 30.0.0.0Network 172.168.0.0No auto-summaryInterface s 1/0Ip summary-address eigrp 100 172.168.0.0255.255.252.0Verification:Without configuring stub in R3:R2#show ip routeCCC2.0.0.0/8 is directly connected, Serial1/03.0.0.0/8 is directly connected, Serial1/120.0.0.0/8 is directly connected, Ethernet0/0172.168.0.0/22 is subnetted, 1 subnetsD172.168.0.0 [90/20640000] via 3.3.3.2, Serial1/1D 10.0.0.0/8 [90/20537600] via 2.2.2.1, Serial1/0D 30.0.0.0/8 [90/20537600] via 3.3.3.2, Serial1/1The output displays directly connected routes, summary route and Eigrp routes.Page 20 of ll contents are copyright @ 2007-2010All rights reserved.

Task 2 :Configure Eigrp Stub on R3, preventing R3 to send any routes to R2, but R2 receivesroutes from R1.R3Router eigrp 100Eigrp stub receive-onlyVerification:R2#show ip routeCCCD2.0.0.0/8 is directly connected, Serial1/03.0.0.0/8 is directly connected, Serial1/120.0.0.0/8 is directly connected, Ethernet0/010.0.0.0/8 [90/20537600] via 2.2.2.1, Serial1/0The output displays only network 10.0.0.0 (eigrp route) coming from R1 but no eigrproutes from R3.Task 3 :Configure Eigrp Stub on R3, allowing R3 to send only connected routes to R2, but R2receives any routes from R1.R3Router eigrp 100Eigrp stub connectedVerification:R2#show ip routeCCCDDDDD2.0.0.0/8 is directly connected, Serial1/03.0.0.0/8 is directly connected, Serial1/120.0.0.0/8 is directly connected, Ethernet0/0172.168.0.0/24 is subnetted, 4 subnets172.168.0.0 [90/20640000] via 3.3.3.2, Serial1/1172.168.1.0 [90/20640000] via 3.3.3.2, Serial1/1172.168.2.0 [90/20640000] via 3.3.3.2, Serial1/1172.168.3.0 [90/20640000] via 3.3.3.2, Serial1/110.0.0.0/8 [90/20537600] via 2.2.2.1, Serial1/0Page 21 of ll contents are copyright @ 2007-2010All rights reserved.

D 30.0.0.0/8 [90/20537600] via 3.3.3.2, Serial1/1The output displays only connected eigrp routes from R3 to R2, but receives all routesfrom R1.Task 4 :Configure Eigrp Stub on R3, allowing only summary routes from R3 to R2, but R2receives any routes from R1.R3Router eigrp 100Eigrp stub summaryVerification:R2#show ip routeCCC2.0.0.0/8 is directly connected, Serial1/03.0.0.0/8 is directly connected, Serial1/120.0.0.0/8 is directly connected, Ethernet0/0172.168.0.0/22 is subnetted, 1 subnetsD172.168.0.0 [90/20640000] via 3.3.3.2, Serial1/1D 10.0.0.0/8 [90/20537600] via 2.2.2.1, Serial1/0The output displays only summary route from R3, and also all routes from R1.Task 5 :Configure Eigrp Stub on R3, allowing connected and summary routes from R3 to R2, butR2 receives any routes from R1.R3Router eigrp 100Eigrp stubVerification:R2#show ip routeC2.0.0.0/8 is directly connected, Serial1/0Page 22 of ll contents are copyright @ 2007-2010All rights reserved.

CC3.0.0.0/8 is directly connected, Serial1/120.0.0.0/8 is directly connected, Ethernet0/0172.168.0.0/22 is subnetted, 1 subnetsD172.168.0.0 [90/20640000] via 3.3.3.2, Serial1/1D 10.0.0.0/8 [90/20537600] via 2.2.2.1, Serial1/0D 30.0.0.0/8 [90/20537600] via 3.3.3.2, Serial1/1The output displays both connected and summary routes from R3 , as the command eigrpstub defaults to ”eigrp stub connected summary”.Task 6 :R1R2R3E0S0S1/0S1/1Loopback 0 - 3S1/0E0E 0/0FA0/0FA 0/1R4Interface IP Address ConfigurationR1InterfaceS0E0IP Address2.2.2.110.1.1.1Subnet Mask255.0.0.0255.0.0.0IP Address2.2.2.23.3.3.120.1.1.1Subnet Mask255.0.0.0255.0.0.0255.0.0.0R2InterfaceS 1/0S1/1E 0/0Page 23 of ll contents are copyright @ 2007-2010All rights reserved.

R3InterfaceS 1/0E0Loopback 0Loopback 1Loopback 2Loopback 3IP 8.2.1172.168.3.1Subnet 5.255.255.0255.255.255.0IP Address30.1.1.240.1.1.1Subnet Mask255.0.0.0255.0.0.0R4InterfaceFa 0/0Fa 0/1Lab Objective:Configure EIGRP in AS 100 on R1, R2, R3. Advertise only interface fa0/0 on R4 inEIGRP AS 100. Configure static route in R3 to reach network 40.0.0.0 via 30.1.1.1.Redistribute the static route in EIGRP AS 100.R3Ip route 40.0.0.0 255.0.0.0 30.1.1.2Router eigrp 100Redistribute static metric 10 10 10 10 10Eigrp stub staticVerification:R2#show ip routePage 24 of ll contents are copyright @ 2007-2010All rights reserved.

C 2.0.0.0/8 is directly connected, Serial1/0C 3.0.0.0/8 is directly connected, Serial1/1C 20.0.0.0/8 is directly connected, Ethernet0/0D EX 40.0.0.0/8 [170/256514560] via 3.3.3.2, Serial1/1D 10.0.0.0/8 [90/20537600] via 2.2.2.1, Serial1/0The output displays only directly connected of R1, R2 and redistributed static route fromR3, but blocking connected routes and summary routes from R3.The output also displays the redistributed route as an external EIGRP route with AD 170Page 25 of ll contents are copyright @ 2007-2010All rights reserved.

Lab 8– Redistribute EIGRP with RIPv2R1R2R3S0S0S1S0E0E0Loopback 0E0Interface IP Address ConfigurationR1InterfaceS0E0IP Address1.1.1.110.1.1.1Subnet Mask255.0.0.0255.0.0.0IP Address1.1.1.22.2.2.120.1.1.140.1.1.1Subnet Mask255.0.0.0255.0.0.0255.0.0.0255.0.0.0IP Address2.2.2.230.1.1.1Subnet Mask255.0.0.0255.0.0.0R2InterfaceS0S1E0Loopback 0R3InterfaceS0E0Task 1Configure EIGRP AS 100 on R1 ( S0, E0 ), R2 ( S0, E0 ) and RIPv2 on R2 ( S1,Loopback 0 ) and R3 ( S0, E0 ) as per the above scenario. Mutually redistribute bothprotocols.Page 26 of ll contents are copyright @ 2007-2010All rights reserved.

R1R3Router eigrp 100Network 1.0.0.0Network 10.0.0.0No auto-summaryRouter ripVersion 2Network 2.0.0.0Network 30.0.0.0No auto-summaryR2Router eigrp 100Network 1.0.0.0Network 20.0.0.0No auto-summaryRedistribute rip metric 10 10 10 10 10Router ripVersion 2Network 2.0.0.0Network 40.0.0.0No auto-summaryRedistribute eigrp 100 metric 10Verification :R1#show ip routeC 1.0.0.0/8 is directly connected, Serial0/2/0D EX 2.0.0.0/8 [170/256514560] via 1.1.1.2, 00:01:24, Serial0/2/0D 20.0.0.0/8 [90/2195456] via 1.1.1.2, 00:12:18, Serial0/2/0D EX 40.0.0.0/8 [170/256514560] via 1.1.1.2, 00:01:24, Serial0/2/0C 10.0.0.0/8 is directly connected, FastEthernet0/0D EX 30.0.0.0/8 [170/256514560] via 1.1.1.2, 00:01:24, Serial0/2/0R2#show ip routeCCCCDR1.0.0.0/8 is directly connected, Serial02.0.0.0/8 is directly connected, Serial120.0.0.0/8 is directly connected, Ethernet040.0.0.0/8 is directly connected, Loopback010.0.0.0/8 [90/2172416] via 1.1.1.1, 00:14:29, Serial030.0.0.0/8 [120/1] via 2.2.2.2, 00:00:15, Serial1Page 27 of ll contents are copyright @ 2007-2010All rights reserved.

R3#show ip routeRCRRRC1.0.0.0/8 [120/10] via 2.2.2.1, 00:00:23, Serial02.0.0.0/8 is directly connected, Serial020.0.0.0/8 [120/10] via 2.2.2.1, 00:00:23, Serial040.0.0.0/8 [120/1] via 2.2.2.1, 00:00:23, Serial010.0.0.0/8 [120/10] via 2.2.2.1, 00:00:23, Serial030.0.0.0/8 is directly connected, Ethernet0The output displays that RIP routes are advertised in R1 EIGRP AS 100 as ‘D EX’routes. EIGRP routes are advertised in RIP as ‘R’ routes.Page 28 of ll contents are copyright @ 2007-2010All rights reserved.

Lab 9 – Redistributing EIGRP with OSPFR1R2R3S0S0S1S0E0E0E0Interface IP Address ConfigurationR1InterfaceS0E0IP Address1.1.1.110.1.1.1Subnet Mask255.0.0.0255.0.0.0IP Address1.1.1.22.2.2.120.1.1.1Subnet Mask255.0.0.0255.0.0.0255.0.0.0IP Address2.2.2.230.1.1.1Subnet S0E0Task 1:Configure EIGRP AS 100 on R1 ( S0, E0 ), R2 ( S0 ) and OSPF area 0 on R2 ( S1, E0 ),R3 ( S0 ) and OSPF area 1 on R3 ( E0 ) as per the above scenario. Mutually redistributeboth protocols.R1R3Router ospf 1Page 29 of ll contents are copyright @ 2007-2010All rights reserved.

Network 2.2.2.2 0.0.0.0 area 0Network 30.0.0.0 0.255.255.255 area 1Router eigrp 100Network 1.0.0.0Network 10.0.0.0No auto-summaryR2Router eigrp 100Network 1.0.0.0No auto-summaryRedistribute ospf 1 metric 10 10 10 10 10Router ospf 1Network 2.2.2.1 0.0.0.0 area 0Network 20.0.0.0 0.255.255.255 area 0Redistribute eigrp 100 metric 10 subnetsVerification :R1#show ip route1.0.0.0/8 is directly connected, Serial0/2/0D EX 2.0.0.0/8 [170/256514560] via 1.1.1.2, 00:00:57, Serial0/2/0D EX 20.0.0.0/8 [170/256514560] via 1.1.1.2, 00:00:57, Serial0/2/0C 10.0.0.0/8 is directly connected, FastEthernet0/0D EX 30.0.0.0/8 [170/256514560] via 1.1.1.2, 00:00:57, Serial0/2/0R2#show ip routeC 1.0.0.0/8 is directly connected, Serial0C 2.0.0.0/8 is directly connected, Serial1C 20.0.0.0/8 is directly connected, Ethernet0D 10.0.0.0/8 [90/2172416] via 1.1.1.1, 00:11:11, Serial0O IA 30.0.0.0/8 [110/74] via 2.2.2.2, 00:00:42, Serial1R3#show ip routeO E2 1.0.0.0/8 [110/10] via 2.2.2.1, 00:01:05, Serial0C 2.0.0.0/8 is directly connected, Serial0O 20.0.0.0/8 [110/74] via 2.2.2.1, 00:01:05, Serial0O E2 10.0.0.0/8 [110/10] via 2.2.2.1, 00:01:05, Serial0C 30.0.0.0/8 is directly connected, Ethernet0Page 30 of ll contents are copyright @ 2007-2010All rights reserved.

Lab 10 – Configuring EIGRP with RedistributeConnectedR1E0R2S0S0E0Interface IP Address ConfigurationR1InterfaceS0E0IP Address1.1.1.110.1.1.1Subnet Mask255.0.0.0255.0.0.0IP Address1.1.1.220.1.1.1Subnet Mask255.0.0.0255.0.0.0R2InterfaceS0E0Task 1 :Configure EIGRP AS 100 and do not advertise network 10.0.0.0 and network 20.0.0.0and redistribute network 10.0.0.0 and 20.0.0.0 into EIGRP.R1R2Router eigrp 100Network 1.0.0.0No auto-summaryRedistribute connected metric 10 10 10 10 10Router eigrp 100Network 1.0.0.0No auto-summaryRedistribute connected metric 10 10 10 10 10Verification :R1#show ip routeC 1.0.0.0/8 is directly connected, Serial0/2/0D EX 20.0.0.0/8 [170/256514560] via 1.1.1.2, 00:00:40, Serial0/2/0Page 31 of ll contents are copyright @ 2007-2010All rights reserved.

C10.0.0.0/8 is directly connected, FastEthernet0/0R2#show ip routeC 1.0.0.0/8 is directly connected, Serial0C 20.0.0.0/8 is directly connected, Ethernet0D EX 10.0.0.0/8 [170/256514560] via 1.1.1.1, 00:00:33, Serial0The output displays ‘D EX’ routes for both networks 10.0.0.0 and 20.0.0.0 in the routingtables.Page 32 of ll contents are copyright @ 2007-2010All rights reserved.

Module 2 – OSPFPage 33 of ll contents are copyright @ 2007-2010All rights reserved.

OSPF LAB INDEX1. CONFIGURING OSPF IN SINGLE AREA2. CONFIGURING OSPF IN MULTIPLE AREA3. CONFIGURING ABR AND ASBR4. CONFIGURE STUB5. CONFIGURE TOTAL STUB6. CONFIGURE NSSA7. CONFIGURE NSSA TOTAL STUB8. OSPF ROUTE SUMMARIZATION9. OSPF VIRTUAL LINK10. CONFIGURING OSPF AUTHENTICATION11. OSPF ON BROADCAST MULTIACCESS12. OSPF OVER FRAME-RELAY POINT-TO-POINT (SUB-INTERFACE)13. OSPF OVER FRAME-RELAY POINT-TO-MULTIPOINT (PHYSICALINTERFACE)Page 34 of ll contents are copyright @ 2007-2010All rights reserved.

Lab 1 – Configuring OSPF in a Single AreaR1R2R3S0S0S1S0E0E0E0Interface IP Address ConfigurationR1InterfaceS0E0IP Address1.1.1.110.1.1.1Subnet Mask255.0.0.0255.0.0.0IP Address1.1.1.22.2.2.120.1.1.1Subnet Mask255.0.0.0255.0.0.0255.0.0.0IP Address2.2.2.230.1.1.1Subnet S0E0Lab Objective:Configure the Interface IP addresses based on the above tablePage 35 of ll contents are copyright @ 2007-2010All rights reserved.

Task 1Configure OSPF in Area 0. Advertise all networks on all routers.R1R2Router ospf 1Network 1.1.1.1 0.0.0.0 area 0Network 10.0.0.0 0.255.255.255 area 0Router ospf 1Network1.1.1.2 0.0.0.0 area 0Network 2.2.2.1 0.0.0.0 area 0Network 20.0.0.0 0.255.255.255 area 0R3Router ospf 1Network 2.2.2.2 0.0.0.0 area 0Network 30.0.0.0 0.255.255.255 area 0Verification :R1 # show ip routeCOOCO1.0.0.0/8 is directly connected, Serial0/2/02.0.0.0/8 [110/128] via 1.1.1.2, 00:03:58, Serial0/2/020.0.0.0/8 [110/74] via 1.1.1.2, 00:03:58, Serial0/2/010.0.0.0/8 is directly connected, FastEthernet0/030.0.0.0/8 [110/138] via 1.1.1.2, 00:03:58, Serial0OSPF routes are displayed as “O” routes in the routing table.R1 # show ip ospf neighborNeighbor ID30.1.1.110.1.1.1Pri State0 FULL/ 0 FULL/ -Dead Time Address00:00:32 2.2.2.200:00:33 1.1.1.1InterfaceSerial1Serial0The symbol indicated by a dash [-] represents that the neighbor is on the serial interfaceand DR and BDR are not used on point-to-point interfaces.R1 # show ip ospfRouting Process "OSPF 1" with ID 10.1.1.1---output omitted--This command displays the OSPF router-id.Page 36 of ll contents are copyright @ 2007-2010All rights reserved.

Task 2Configure OSPF in Area 0. Advertise all networks on all routers. Hard Code the Routerid based on the following Loop back ip address:R1 Loopback 0 6.6.6.6R2 Loopback 0 7.7.7.7R3 Loopback 0 8.8.8.8R1R2int loopback 0ip address 6.6.6.6 255.255.255.255Router ospf 1Network 6.6.6.6 0.0.0.0 area 0int loopback 0ip address 7.7.7.7 255.255.255.255Router ospf 1Network 7.7.7.7 0.0.0.0 area 0R3int loopback 0ip address 8.8.8.8 255.255.255.255Router ospf 1Network 8.8.8.8 0.0.0.0 area 0Verification:R1# show ip ospfRouting Process "OSPF 1" with ID 6.6.6.6---output omitted--This output displays that router-id chosen is 6.6.6.6 as it is the loopback address.Repeat the same on router2 with loopback address as 7.7.7.7 and on router 3 withloopback as 8.8.8.8 and verify using show ip OSPF commandTask 3Configure OSPF in Area 0. Advertise all networks on all routers. Hard Code the Routerid based on the following :R1 3.3.3.3R2 4.4.4.4R3 5.5.5.5Page 37 of ll contents are copyright @ 2007-2010All rights reserved.

R1R2Router ospf 1Router-id 3.3.3.3Network 1.1.1.1 0.0.0.0 area 0Network 10.0.0.0 0.255.255.255 area 0Network 6.6.6.6 0.0.0.0 area 0Router ospf 1Router-id 4.4.4.4Network 1.1.1.2 0.0.0.0 area 0Network 2.2.2.1 0.0.0.0 area 0Network 20.0.0.0 0.255.255.255 area 0Network 7.7.7.7 0.0.0.0 area 0R3Router ospf 1Router-id 5.5.5.5Network 2.2.2.2 0.0.0.0 area 0Network 30.0.0.0 0.255.255.255 area 0Network 8.8.8.8 0.0.0.0 area 0Verification :R1#show ip ospfRouting Process "ospf 1" with ID 3.3.3.3This output displays that 3.3.3.3 router-id takes preference over physical and loopbackinterface.

CISCO CERTIFIED NETWORK PROFESSIONAL LAB MANUAL VER 2.0 . Page 2 of 315 NETMETRIC-SOLUTIONS . BUILDING SCALABLE CISCO INTERNETWORKS BSCI (642–901) Page 4 of 315 NETMETRIC-SOLUTIONS . Interface IP Address Configuration R1 I