SamplePracticeLab

王朝other·作者佚名  2008-05-19
窄屏简体版  字體: |||超大  

OSPF and BGP Cisco Router Practice

Please refer to the diagram for the router connections. This is only a practice test of course, but please record your time for each section because as you know time & stress will be your enemy when you take the CCIE lab for real. If you approach things logically you will save a lot of time and confusion. The pre-lab document has some suggestions you might want to consider. If you take the time to look at our configurations for the labs you will notice that we try to use logical addressing in all our configurations for all protocols. We highly recommend you use logic in all your network addressing. This will make troubleshooting and configuration much easier.

This lab has heavy emphasis on OSPF and light emphasis on BGP.

Cisco Router Lab Configuration Tasks

Section One - 15 mins

1. Configure a IP host list for a reverse telnet session into each router. This is done on R2 the Cisco 2511.

2. Configure the Cisco IOS so that it will not try and resolve hosts (i.e. typos) via DNS.

3. Turn off logging to the console.

---You will find that items 2 & 3 will save you time. You may have to turn them back on for troubleshooting or to complete configurations.

Section Two - 5 hours

At the end of this exercise please verify connectivity to all ports. Also verify that all IP routes appear in the routing tables.

Task One

1. Configure R7 as a frame-relay switch.

2. Connect R1, R2, R3, and R5 over the frame-relay. Configure R1 using subinterfaces. Configure R2, R3, and R5 without using subinterfaces. Use only one PVC on R2, R3, and R5. The recommended DLCI numbers 102,201,103,301,105, and 501 are indicated on the drawing.

Task Two

1. R1, R3, and R5 should share network 10.10.X.X 255.255.0.0 on their frame-relay interfaces.

2. R1 and R2 should share network 10.20.X.X 255.255.0.0 on their frame-relay interfaces.

3. R1 should have network 10.1.X.X with a 9-bit subnet mask on its Ethernet interface. (The mask should be 255.255.128.0) Use subnet-zero here.

4. R2 should have network 137.20.20.0 with a 24-bit mask on its Ethernet interface. R2's Ethernet interface is already set at 137.20.20.1/24 and should always be left that way.

5. R3 should have network 10.3.X.X with an 8-bit subnet mask on its token-ring interface. (The mask should be 255.255.0.0)

6. Use network 11.1.X..X 255.255.0.0 between R5 & R6.

7. Use your discretion for the rest of the addressing. It may, however, make sense to read to whole lab before you arbitrarily assign addresses

Task Three

1. Configure OSPF area 0 on the frame-relay interfaces between R1, R3, and R5.

2. Put R1's Ethernet in area 1

3. Put R3's serial 1, and all of router R4 in area 3. Make area 3 a totally-stubby area.

4. Put R5 and R6's Ethernet in area 4. make this area a NSSA (not-so-stubby-area) Make the default OSPF cost 20.

5. Configure R6's serial 1 and R7 for EIGRP.

6. Put R2's serial 0 and R1's S0.1 in OSPF area 5.

7. Redistribute all routes so that you can see all routes from everywhere. Make sure you can ping everywhere..

8. Summarize the routes from EIGRP so that all the networks appear as one route to the rest of the OSPF routers.

9. When you redistribute EIGRP into OSPF make these routes appear as type-1 external routes.

10. Configure a default route on R1 and configure such that all other OSPF routers see it a a default route.

11. Configure a loopback on R1 at 192.168.1.1 255.255.255.0. Don't put this route in any routing tables. make sure you can ping the loopback from other OSPF routers.

12. Create two loopbacks on R3 with networks that could contain at most 30 hosts. Put the loopbacks in one area and summarize such that one route appears for both loopbacks.

13. Put the Ethernet on R2 in area 10.

14. Configure simple password authentication in OSPF area 4.

15. Change the OSPF hello interval on R5 to 20 seconds.

16. Use the IP OSPF priority command on R5 to make it become the DR for area 4.

Section Three - 2 hours

Task One

1. Put R4 in BGP AS 1 and R3 in BGP AS 2. Create two static routes to null0 using a class A address with a 24-bit mask on R4 and inject into BGP such that R3 can see it. Use loopbacks as the update source on both R3 and R4. Create loopbacks if necessary.

2. Filter one of the static routes with a route-map statement on R4.

3. Configure BGP on R4 such that the subnetted class A route is seen. For example, the BGP route on R3 could be 41.1.1.0 not 41.0.0.0.

4. Configure a second loopback on R4 at 200.200.200.1/24 and enable RIP on this router for this network. Inject this route and the previous one with a metric of 5.

5. Configure routers R2, R1, and R5 in BGP AS 3.

6. Create a static route on R2 20.1.1.0 255.255.255.0 null0. Inject this route into BGP.

Configuration File for R1

Current configuration:

!

version 11.2

no service password-encryption

no service udp-small-servers

no service tcp-small-servers

!

hostname r1

!

!

ip subnet-zero

no ip domain-lookup

!

interface Loopback0

ip address 192.168.1.1 255.255.255.0

!

interface Ethernet0

ip address 10.1.0.1 255.255.128.0

!

interface Serial0

no ip address

encapsulation frame-relay

ip ospf priority 200

bandwidth 2000

no fair-queue

clockrate 2000000

frame-relay lmi-type ansi

!

interface Serial0.1 point-to-point

ip address 10.20.1.2 255.255.0.0

ip ospf network broadcast

ip ospf priority 200

bandwidth 2000

frame-relay interface-dlci 102

!

interface Serial0.2 multipoint

ip address 10.10.1.1 255.255.0.0

ip ospf network point-to-multipoint

ip ospf priority 200

bandwidth 2000

frame-relay map ip 10.10.1.3 103 broadcast

frame-relay map ip 10.10.1.5 105 broadcast

!

interface Serial1

no ip address

shutdown

!

router ospf 1

network 10.10.1.1 0.0.0.0 area 0

network 10.1.0.1 0.0.0.0 area 1

network 10.20.1.2 0.0.0.0 area 5

default-information originate always

area 5 virtual-link 172.168.32.1

!

router bgp 3

no synchronization

neighbor 10.10.1.3 remote-as 2

neighbor 10.10.1.5 remote-as 3

neighbor 10.10.1.5 route-reflector-client

neighbor 10.20.1.1 remote-as 3

neighbor 10.20.1.1 route-reflector-client

!

no ip classless

no logging console

!

!

line con 0

line aux 0

line vty 0 4

login

!

end

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航