



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
CCNA 200 - 301 OSPF EXAM QUESTIONS AND ANSWERS
Typology: Exams
1 / 7
This page cannot be seen from the preview
Don't miss anything!




Which statements are correct about OSPF? A. OSPF can use hierarchical routing to reduce router load. B. OSPFV2 supports both IPV4 and IPV6 routes. C. OSPFV3 does not support IPV4 routes. D. OSPF performs automatic route summarization. - Correct Answers -1. Answers A and C are correct. OSPFV2 and v3 can be configured as multi-area to reduce router load. Answer B is wrong; OSPFV2 supports only IPV4 routing, just as OSPFV supports only IPV6 routing. Answer D is wrong because OSPF supports only manual summarization. How is the OSPF router ID determined? Choose all that apply. A. The highest IP address on any physical or virtual interface at the moment of OSPF startup B. The first interface to be activated for OSPF on the router C. The lowest IP address on any physical or virtual interface at the moment of OSPF startup D. The last interface to be activated for OSPF on the router E. Manually using the router-id command - Correct Answers -Answers A and E are correct. The physical interface with the highest IP will be chosen as the router ID- unless there is a loopback interface, in which case the highest IP on any loopback will be chosen- unless the router-id command is used, in which case the specified IP will be used as the router ID. Who developed OSPF? When? - Correct Answers -The Open Shortest Path First (OSPF) protocol was developed by the Internet Engineering Task Force (IETF) in 1988 as a more scalable solution than RIP. What are the characteristics of OSPF? - Correct Answers -OSPF is an open standard Is not Cisco proprietary It uses the Shortest Path First (SPF) algorithm developed by Edgar Dijkstra. It is a link-state routing protocol, which means that it sends updates only when there is a change in the network instead of sending routing updates, it sends LSA instead How does OSPF work? - Correct Answers -OSPF is a polite protocol. Unlike chatty RIP, which broadcasts out its entire routing table every 30 seconds regardless of whether other routers want to hear it, OSPF takes a more refined approach to routing. First, OSPF sends out hello messages to neighboring routers to announce itself as an OSPF
router and discover who its neighbor routers are. Routers have to agree on certain parameters (such as timers and being on a common subnet) before they can become neighbors. After its neighbor routers are discovered, the router determines whether it should exchange routes with those neighbors. (If they decide to do so, they become adjacent.) If they are adjacent, they begin to exchange information about networks (links) it knows about, using messages called link state advertisements (LSAS). After exchanging all routes, the routers send out updates only when there is a change, and they send information only for that affected link, not the entire routing table. Routers take the LSAS heard from other routers topology database in EIGRP). Routers then run the SPF algorithm to and place those routes in its link-state database (similar to the best route to a destination and place that route in the routing table. How's the best path calculated on OSPF? - Correct Answers -OSPF uses a metric call cost, which Cisco defines as 10^8 / Bandwidth. If you had a 100Mbps link, the cost would OSPF uses a metric call cost, which Cisco be 1 because 100,000,000 / 100,000,000 = 1. Here are some other common costs: 10Mbps: 10 1.544Mbps (T1): 64 64Kbps: 1562 How to calculate the cost for faster links? - Correct Answers -The bandwidth costs are based on a bandwidth reference of 100Mb. If you have faster links in your enterprise, such as Gigabit Ethernet, you can change what OSPF bases its cost on by using the auto-cost reference-bandwidth command. For example, to change your OSPF to use 10^8 / Bandwidth (1,000,000 or Gb) How to change the cost of a link in OSPF? - Correct Answers -Router (config- router)#auto-cost reference-bandwidth 1000 How does OSPF routes packets to their destination? - Correct Answers -The SPF algorithm places each router as the root of a tree and calculates the shortest path from itself to each destination. shortest path then gets put into the routing table and is used to route packets to their destination. What's hierarchical Routing? - Correct Answers -An important concept to grasp with OSPF is that it is a hierarchical protocol. Hierarchical routing protocols break up your autonomous system into multiple areas and summarize routes between areas. If summarized wisely, you can cut down a significant portion of routing updates by advertising only the summarized route. What are the benefits of route summarization? - Correct Answers -•Less processing on routers: Fewer networks to advertise and store in the database, less calculations for route changes. •Instability hidden from other routers: If a single network goes down in area 2, it will not affect the routers in area 0 and area 1. •Fast convergence: Because fewer routes are sent to area 0, the routers in areas 0 and 1 can converge faster.
How are the LSA exchanged once the DR and BDR are assigned? - Correct Answers - The Mocha router is the DR, and the Latte router is the BDR. Instead of all 5 routers sending LSAS to each other, they send out messages only to the DR and BDR. Messages are sent to the multicast address of 224.0.0.6; both the DR and BDR belong to this multicast group address. What's the multicast address of all routers running OSPF? - Correct Answers -224.0.0. How to activate OSPF on your interface and advertise your networks? - Correct Answers -network <ip_address> <wildcard_mask> area <area-id> Router1 (config) #router ospf 100 Router1 (config-router) #network 10.0.0.0 0.255.255.255 area 0 Router1 (config-router) #network 192.168.1.0 0.0.0. Router2 (config) # router ospf 200 Router2 (config-router) #network 10.0.0.0 0.255.255.255 area 0 Router2 (config-router) #network 172.16.0.0 0.0.255.255 area 0
Int g0/0/ ip ospf priority 100 What are the differences between OSPFv2 and OSPFv3? - Correct Answers -•OSPFV does not support IPV6 routes and OSPFV3 does not support IPV4 routes. Therefore, if you have a dual-stack router (one which uses both IPV4 and IPV6 addressing), you must run both versions of OSPF. •The characteristics and behavior of OSPFV3 are the same as for OSPFV2. There are some differences in the details of the LSA structure, but that level of detail (the actual guts of the LSA) is well beyond the scope of CCNA. Which commands can you use to troubleshoot OSPF? - Correct Answers -•sh ip protocols •sh ip ospf interface •sh ip ospf neighbor •sh ip ospf neighbor det •debug ip ospf events •sh ip route ospf •sh ip ospf interface brief •sh ip ospf rib What does need to happen for neighbor routers to establish an relationship? - Correct Answers -•Timers must be the same on both routers. OSPF uses Hello timers that define how often they send out Hello messages and Dead timers that define how long after a router stops hearing a Hello message does it declare its neighbor as down. •Interfaces connecting the two routers must be in the same area. •Password authentication, if being used, must be the same. •Type of area must be the same. What's the default Administrative Distance of BGP (external routes [eBGP])? - Correct Answers - Whats the default Administrative Distance of IS-IS? - Correct Answers - What's the defaul Administrative Distance of EIGRP (external routes)? - Correct Answers - What's efault Administrative Distance of IGRP - Correct Answers - What's the default Administrative Distance of BGP ( internal routes [iBGP])? - Correct Answers - What's the default Administrative Distance of DHCP default route? - Correct Answers - 254
bandwidth to 40 Gbps or even 100 Gbps to be ready for future upgrades to use 40- Gbps links, or even 100-Gbps links. (For example, use the auto-cost reference- bandwidth 100000 command, meaning 100,000 Mbps or 100 Gbps.) That causes 100- Gbps links to have an OSPF cost of 1, 40-Gbps links to have a cost of 4, 10-Gbps links to have a cost of 10, and 1-Gbps links to have a cost of 100.