Chapter 4 - OSPF, BGP, and Route Manipulation Flashcards
In OSPF, where does summarization of internal routes occur?
- Backbone router
- Designated router
- ABR
- ASBR
C.
In OSPF, summarization of internal routes is performed on the ABRs.
Which BGP metric is used to influence the path of outbound traffic?
- AS_Path
- Origin
- MED
- Weight
D.
Weight is assigned locally on a router to specify a preferred path if multiple paths exist out of a router for a destination.
What is an ASBR?
- Area border router
- Autonomous system boundary router
- Auxiliary system border router
- Area system border router
B.
OSPF defines the ASBR as the router that injects external routes into the OSPF autonomous system.
What is the OSPFv2 link-state advertisement (LSA) type for autonomous system external LSAs?
- Type 1
- Type 2
- Type 3
- Type 4
- Type 5
E. OSPFv2 Type 5 LSAs are autonomous system external LSAs.
-
LSA Type 1 - Router LSA
- Each router in an area will generate a type 1 LSA - one for each area it is connected to. It contains the routers RID and all the routers IP addresses for interfaces attached to the specific area. It is not flooded beyond the area in which it was originated.
- The show ip ospf database router command will show the type 1 LSAs in a routers LSDB.
-
LSA Type 2 - Network LSA
- The Designated Router (DR), on shared segment, originates type 2 LSAs containing the interface IP address of the DR and a list of the DRs connected neighbors in the area. The type 2 LSA is only propagated in the area it is originated in and only by the DR.
- The show ip ospf database network command will show the type 2 LSAs in the routers LSDB.
-
LSA Type 3 - Summary LSA
- The summary LSA is originate by an Area Border Router (ABR) and advertises a prefix from one area into another. It will advertise the destination prefixes from a non-backbone area into the backbone including the metric from the ABR to the destination. It will do this for each prefix known, but it can instructed to replace the individual prefixes with a less-specific summary address and thus the ABR is one of the few places, in an OSPF network, that allows for network summarization.
- The show ip ospf database summary command will show the type 3 LSAs in the routers LSDB.
-
LSA Type 4 - ASBR Summary LSA
- Originated by an ABR, this type of LSA contains the host address of an Autonomous System Border Router (ASBR) in an area and the cost to reach it from the ABR. This is sent along with the LSA type 5 to allow routers outside the area, of the ASBR, to find a path to the ASBR, redistributing an external route into OSPF. This is not needed for routers in the same area as the ASBR due to the presence of the type 1 and 2 LSAs.
- The show ip ospf database asbr-summary command will show the type 4 LSAs in the routers LSDB.
-
LSA Type 5 - AS-External LSA
- The type 5 LSA is originated by an ASBR and contains the E1 or E2 external route information for a prefix redistributed into the OSPF process from another AS (for example BGP, EIGRP or maybe just a connected interface, to name but a few options). Routers not residing in the same area as the ASBR will need an ABR to originate a type 4 LSA containing the information needed to compute the SPF tree to the ASBR.
- The show ip ospf database external command will show the type 5 LSAs in the routers LSDB.
-
LSA Type 6 - Group Membership
- Used in Multicast OSPF. The feature is unsupported in Cisco IOS (as far as I know).
-
LSA Type 7 - NSSA External
- The type 7 LSA is flooded in an area by an ASBR in a Not-So-Stubby-Area (NSSA). An ABR will convert the type 7 LSA into a type 5 LSA for other areas. The type 7 LSA allows other routers in the same NSSA area to learn the external routes advertised by the ASBR as one of the features of an NSSA type area is to filter out type 5 LSAs.
- The show ip ospf database nssa-external command will show the type 5 LSAs in the routers LSDB.
What address do you use to multicast to the OSPFv2 designated router (DR)?
- 224.0.0.1
- 224.0.0.5
- 224.0.0.6
- 224.0.0.10
C.
OSPFv2 routers use 224.0.0.6 to communicate with DRs.
OSPF Type 1 LSAs are flooded ______.
- to the OSPF area
- to the OSPF domain
- from the area to the OSPF backbone
- through the virtual link
A.
Type 1 LSAs (router LSAs) are forwarded to all routers within an OSPF area.
What OSPFv3 LSA carries address prefixes?
- Network LSA
- Summary LSA
- Interarea-router LSA
- Intra-area-prefix LSA
D. Intra-area-prefix LSAs carry IPv6 prefixes associated with a router, a stub network, or an associated transit network segment.
OSPFv3 LSA types:
- Router LSA—Type-1 LSA, originated by all routers. This LSA describes the collected states of the router’s interfaces to an area, and is flooded throughout a single area only.
- Network LSA—Type-2 LSA, originated for broadcast and NBMA networks by the DR. This LSA contains the list of routers connected to the network, and is flooded throughout a single area only.
- Inter-Area-Prefix LSA—Type-3 LSA, originated by ABRs and flooded throughout the LSA’s associated area. Each Inter-Area-Prefix LSA describes a route with IPv6 address prefix to a destination outside the area, yet still inside the AS.
- Inter-Area-Router LSA—Type-4 LSA, originated by ABRs and flooded throughout the LSA’s associated area. Each Inter-Area-Router LSA describes a route to ASBR.
- AS External LSA—Type-5 LSA, originated by ASBRs, and flooded throughout the AS, except stub areas and Not-So-Stubby Areas (NSSAs). Each AS External LSA describes a route to another AS. A default route can be described by an AS External LSA.
- NSSA LSA—Type-7 LSA, originated by ASBRs in NSSAs and flooded throughout a single NSSA. NSSA LSAs describe routes to other ASs.
- Link LSA—Type-8 LSA. A router originates a separate Link LSA for each attached link. Link LSAs have link-local flooding scope. Each Link LSA describes the IPv6 address prefix of the link and Link-local address of the router.
- Intra-Area-Prefix LSA—Type-9 LSA. Each Intra-Area-Prefix LSA contains IPv6 prefix information on a router, stub area, or transit area information, and has area flooding scope. It was introduced because Router LSAs and Network LSAs contain no address information.
- Grace LSA—Type-11 LSA, generated by a GR restarter at reboot and transmitted on the local link. The GR restarter describes the cause and interval of the reboot in the Grace LSA to notify its neighbors that it performs a GR operation.
What protocol do you use to exchange IP routes between autonomous systems?
- IGMP
- eBGP
- EIGRP
- OSPF
B.
You use External Border Gateway Protocol (eBGP) to exchange routes between autonomous systems.
Where should routes be summarized?
- On the core routers
- On the distribution routers
- On the access routers
- None of the above
B.
It is a best practice to summarize routes on the distribution routers toward the core.
What is the administrative distance of External BGP routes?
- 20
- 100
- 110
- 200
A.
The administrative distance of eBGP routes is 20. The administrative distance of Internal BGP (iBGP) routes is 200.
What kind of information is sent in an OSPF LSA?
In OSPF, each router sends link-state advertisements (LSAs) about itself and its links to all other routers in the area.
Note that it does not send routing tables but rather sends link-state information about its interfaces.
Then, each router individually calculates the best routes to the destination by running the SPF algorithm. Each OSPF router in an area maintains an identical database describing the area’s topology. The routing table at each router is individually constructed using the local copy of this database to construct a shortest-path tree.
T/F: OSPFv2 is a classful routing protocol that permits the use of VLSM.
False.
OSPFv2 is a classless routing protocol that permits the use of VLSM.
T/F: With Cisco routers, OSPF also supports equal-cost multipath load balancing and neighbor authentication.
True
OSPF uses multicast addresses to communicate between routers. OSPF uses IP protocol number ___.
OSPF uses multicast addresses to communicate between routers. OSPF uses IP protocol 89.
The metric that OSPFv2 uses is called _____. It is an unsigned 16-bit integer in the range 1 to ________.
The metric that OSPFv2 uses is cost. It is an unsigned 16-bit integer in the range 1 to 65,535.
T/F: OSPF performs a summation of the costs to reach a destination; the lowest cost is the preferred path.
True.
Table 4-2 shows some sample interface metrics.

OSPF uses _____ packets for neighbor discovery.
OSPF uses Hello packets for neighbor discovery.
True or false: A router needs to have all its interfaces in Area 0 to be considered an OSPF backbone router.
False. A router with one or more interfaces in Area 0 is considered an OSPF backbone router.
True or false: OSPF and IS-IS use a designated router in multiaccess networks.
True
Which multicast addresses do OSPFv2 routers use?
224.0.0.5 for ALLSPFRouters and 224.0.0.6 for ALLDRouters.
Which multicast addresses do OSPFv3 routers use?
FF02::5 for ALLSPFRouters and FF02::6 for ALLDRouters.
- What is the Cisco administrative distance of OSPF?
- The administrative distance of OSPF is 110.
Which OSPFv2 router type generates the OSPF Type 3 LSA?
OSPF ABRs generate the Type 3 summary LSA for ABRs.
Which OSPFv2 router type generates the OSPF Type 2 LSA?
OSPF DRs generate Type 2 network LSAs.













