当前位置:主页   - 电脑 - 认证考试 - Cisco
SamplePracticeLab
来源:linux宝库,设计前沿收集   作者:未知   更新时间:2009-02-05
收藏此页】    【字号    】    【打印】    【关闭
  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
  
  
其它资源
来源声明

版权与免责声明
1、本站所发布的文章仅供技术交流参考,本站不主张将其做为决策的依据,浏览者可自愿选择采信与否,本站不对因采信这些信息所产生的任何问题负责。
2、本站部分文章来源于网络,其版权为原权利人所有。由于来源之故,有的文章未能获得作者姓名,署“未知”或“佚名”。对于这些文章,有知悉作者姓名的请告知本站,以便及时署名。如果作者要求删除,我们将予以删除。除此之外本站不再承担其它责任。
3、本站部分文章来源于本站原创,本站拥有所有权利。
4、如对本站发布的信息有异议,请联系我们,经本站确认后,将在三个工作日内做出修改或删除处理。
请参阅权责声明