Sie sind auf Seite 1von 6

Configuring and Verifying EIGRP

Implement EIGRP on 2621A: 2621A#conf t Enter configuration commands, one per line. End with CNTL/Z. 2621A(config)#router eigrp 100 2621A(config-router)#network 172.16.0.0 2621A(config-router)#^Z 2621A# 2. Implement EIGRP on 2501A: 2501A#conf t Enter configuration commands, one per line. End with CNTL/Z. 2501A(config)#router eigrp 100 2501A(config-router)#network 172.16.0.0 2501A(config-router)#exit 2501A# Enhanced IGRP (EIGRP) and Open Shortest Path First (OSPF) Implement EIGRP on 2501B: 2501B#conf t Enter configuration commands, one per line. End with CNTL/Z. 2501B(config)#router eigrp 100 2501B(config-router)#network 172.16.0.0 2501B(config-router)#^Z 2501B#

4.Implement EIGRP on 2501C: 2501C#conf t Enter configuration commands, one per line. End with CNTL/Z. 2501C(config)#router eigrp 100 2501C(config-router)#network 172.16.0.0 2501C(config-router)#^Z 2501C# 5. Display the topology table for 2501B: 2501B#show ip eigrp topology 6. Display the routing table on the 2501B router: 2501B#show ip route 7. Display the neighbor table on the 2501B router: 2501B#show ip eigrp neighbor

Enabling the OSPF Process


1. Enable OSPF process 100 on 2621A: 2621A#conf t Enter configuration commands, one per line. End with CNTL/Z. 2621A(config)#router ospf 100 2621A(config-router)#^Z 2. Enable OSPF process 101 on 2501A: 2501A#conf t Enter configuration commands, one per line. End with CNTL/Z. 2501A(config)#router ospf 101

2501A(config-router)#^Z 3. Enable OSPF process 102 on 2501B: 2501B#conf t Enter configuration commands, one per line. End with CNTL/Z. 2501B(config)#router ospf 102 2501B(config-router)#^Z 4. Enable OSPF process 103 on 2501C: 2501C#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#router ospf 103 2501C(config-router)#^Z

Configuring OSPF Neighbors


1. Configure the network between 2621A and 2501A. Assign it to area 0: 2621A#conf t Enter configuration commands, one per line. End with CNTL/Z. 2621A(config)#router ospf 100 2621A(config-router)#network 172.16.10.1 0.0.0.0 area 0 2621A(config-router)#^Z 2621A# 2. Configure the networks on the 2501A router. Assign them to area 0: 2501A#conf t Enter configuration commands, one per line. End with CNTL/Z.

2501A(config)#router ospf 101 2501A(config-router)#network 172.16.10.2 0.0.0.0 area 0 2501A(config-router)#network 172.16.20.1 0.0.0.0 area 0 2501A(config-router)#^Z 2501A# 3. Configure the networks on the 2501B router. Assign them to area 0: 2501B#conf t Enter configuration commands, one per line. End with CNTL/Z. 2501B(config)#router ospf 102 2501B(config-router)#network 172.16.20.2 0.0.0.0 area 0 Enhanced IGRP (EIGRP) and Open Shortest Path First (OSPF) 2501B(config-router)#network 172.16.30.1 0.0.0.0 area 0 2501B(config-router)#network 172.16.40.1 0.0.0.0 area 0 2501B(config-router)#^Z 2501B# 4. Configure the networks on the 2501C router. Assign them to area 0: 2501C#conf t Enter configuration commands, one per line. End with CNTL/Z. 2501C(config)#router ospf 103 2501C(config-router)#network 172.16.40.2 0.0.0.0 area 0 2501C(config-router)#network 172.16.50.1 0.0.0.0 area 0 2501C(config-router)#^Z 2501C#

Verifying OSPF Operation


1. Execute a show ip ospf neighbors command from the 2621 router and view the results: 2621A#sho ip ospf neig 2. Execute a show ip route command to verify that all other routers are learning all routes: 2621A#sho ip route

OSPF DR and BDR Elections


In this lab, youll watch the DR and BDR elections on your test network by forcing and verifying the election process. Youre going to start by using Figure 7.12 to build your network. The more routers you have the better, but you need at least three routers connected via a LAN segment to complete this lab. FIGURE 7.12 Lab_A EO OSPF hands-on lab network diagram Lab_B EO Lab_C EO In this lab, I am using 2500 series routers, but you can use any type of router with any type of LAN interface. Or you can use the Sybex or RouterSim software products instead of real routers. 1. First, connect the network together as shown in Figure 7.12. Create an IP scheme for the networksomething simple like 10.1.1.1/24, 10.1.1.2/24, and 10.1.1.3/24 will work great. 2. Now configure OSPF, and place all routers into area 0. Only the Ethernet LAN interface needs to be configured in this lab because, as you know, elections dont take place on serial connections. 3. Next, type show ip ospf interface e0 on each router to verify Area ID, DR, BDR information, and the Hello and Dead timers of the interface connected to the LAN network 5

4. By looking at the show ip ospf interface e0 output, determine which router is the DR and which router is the BDR. 5. Now verify the network type of your router. Because the connection is on an Ethernet LAN, the network type is BROADCAST. If you were viewing a serial connection, youd want a point-to-point network. 6. Here you have to set the priority for the router. The priority of all routers, by default, is 1. If you were to change the priority to 0, the router would never participate in the election process for the LAN. (Remember that elections do not occur on serial point-to-point links.) 7. Now you need to decide which router will be the new DR. 8. Next, enable the debugging process that allows you to see the DR and BDR election take place. Type debug ip ospf adjacency on all your routers. Try to open more than one console connection by telnetting into the other routers. Remember to use the terminal monitor command on the Telnet session or you wont see any debugging output. 9. Here, set the priority of the new DR Ethernet 0 interface to 3 by typing ip ospf priority 3. 10. Next, shut down the Ethernet interface of the DR router and bring it back up with the no shutdown command. Obviously, if youre telnetted into that router, youll lose your session at this point. 11. Heres where the election should take place and the router you picked to be the DR should now actually be the DR. 12. Finally, type show ip ospf interface e0 to verify the DR and BDR information on each router. The priority of a routers interface can be set all the way up to 255, which means it will always be the DR of the area. You can then set a router in your test network with a higher priority and see that the priority takes precedence over.

Das könnte Ihnen auch gefallen