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.
What is included in an OSPFv2 Type 1 Router LSA?
Included are the router’s links, interfaces, link states, and costs.
True or false: The router with the lowest priority is selected as the OSPF DR.
False. The router with the highest priority is selected as the OSPF designated router.
True or false: You use iBGP to exchange routes between different autonomous systems.
False. You use eBGP to exchange routes between different autonomous systems.
True or false: eBGP and iBGP redistribute automatically on a router if the BGP peers are configured with the same autonomous system number.
True.
eBGP routes have an administrative distance of ____, and iBGP routes have an administrative distance of ____.
20, 200.
Match each routing protocol with its description.
- EIGRP
- OSPFv2
- RIPv2
- BGP
- Distance vector protocol used at the edge of the network
- IETF link-state protocol used in the network core
- Hybrid protocol used in the network core
- Path vector protocol
i = C
ii = B
iii = A
iv = D
Which routing protocol do you use in the core of a large enterprise network that supports VLSM for a network with a mix of Cisco and non-Cisco routers?
OSPF. Although RIPv2 and EIGRP support VLSM, RIPv2 is no longer recommended. EIGRP is not supported on non-Cisco router.
What is the benefit of designing for stub areas?
You do not need to flood external LSAs into the stub area, and not doing this flooding reduces LSA traffic.
What constraint does the OSPF network design have for traffic traveling between areas?
All traffic from one area must travel through Area 0 (the backbone) to get to another area.
How is OSPFv3 identified as the upper-layer protocol in IPv6?
OSPFv3 is identified as IPv6 Next Header 89.
Which routing protocol or protocols are recommended for large enterprise networks?
- RIPv2
- OSPFv2
- EIGRP
- IS-IS
- A and B
- B and C
- B and D
- A, B, C, and D
F. EIGRP and OSPFv2 are recommended for large enterprise networks.
What OSPFv3 LSA has LS type 0x0008?
- Router LSA
- Interarea-router LSA
- Link LSA
- Intra-area-prefix LSA
C. Link LSAs are flooded to the local link.
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.
Which routing protocol or protocols have fast convergence for IPv4 networks?
- BGP
- OSPFv2
- EIGRP
- RIPv2
- B and C
- B, C, and D
- A, B, and C
E. EIGRP and OSPFv2 have fast convergence.
Which routing protocol or protocols have fast convergence for IPv6 networks?
- RIPng
- OSPFv3
- EIGRP for IPv6
- RIPv2
- MP-BGP
- B and C
- B, C, and D
- B, C, and E
F. EIGRP for IPv6 and OSPFv3 have fast convergence for IPv6 networks.
2A retail chain has about 800 stores that connect to the headquarters and a backup location. The company wants to limit the amount of routing traffic on the WAN links. What routing protocol or protocols are recommended?
- RIPv1
- RIPv2
- OSPFv2
- EIGRP
- IS-IS
- BGP
- B, C, and D
- C and D
- C, D, and E
H. RIPv1 and RIPv2 generate periodic routing traffic. IS-IS is used in SP networks. BGP is used for external networks.
If OSPF is enabled on all routers in Figure 4-26 with the default metrics unchanged, what path is taken?
- Path 1
- Path 2
- Unequal-cost load balancing with Path 1 and Path 2
- Equal-cost load balancing with Path 1 and Path 2
B.
From Router A, the OSPF cost for Path 1 is 10^8 / 256 kbps = 390. The OSPF cost for Path 2 is (10^8 / 1536 kbps) + (10^8 / 1024 kbps) + (10^8 / 768 kbps) = 65 + 97 + 130 = 292. OSPF selects Path 2 because it has a lower cost.
Identify the OSPF router types shown in Figure 4-27.
- Router A = _______
- Router B = _______
- Router C = _______
- Router D = _______
- Router E = _______
- Router F = _______
Router A = internal
Router B = ABR
Router C = backbone
Router D = ASBR
Router E = ABR
Router F = internal.
Match each BGP attribute with its description.
- Local preference
- MED
- Autonomous system path
- Next hop
- IP address
- Indicates the path used to exit the autonomous system
- Tells external BGP peers the preferred path into the autonomous system
- List of ASNs
i = B
ii = C
iii = D
iv = A
Which Cisco feature can you use instead of local preference to influence the selected path to external BGP routers?
Weight. Weight is Cisco specific and configured locally and is not exchanged in BGP updates.
On the other hand, the local preference attribute attribute is exchanged between iBGP peers and is configured at the gateway router.
What is the purpose of route reflectors?
Route reflectors reduce the number of iBGP logical mesh connections.
When BGP confederations are used, which number do external peers see?
External peers see the the external AS. The internal private AS numbers in the sub-ASes are used only within the confederation.
To reduce the number of IBGP peerings there are two techniques:
- Confederations
- Route Reflector
With ____________, all routers peer with each other within each private autonomous system. With __________, client routers peer only with the reflector.
BGP confederations, route reflectors.
Which of the following is the order of attributes that BGP uses to select a best path?
- Origin, lowest IP, autonomous system path, weight, local preference, MED
- Weight, local preference, originate, AS path, origin code, MED, path, lowest IP
- Lowest IP, autonomous system path, origin, weight, MED, local preference
- Weight, origin, local preference, autonomous system path, MED, lowest IP
B. The correct order of BGP path selection is weight, local preference, originate (locally originated routes), autonomous system path, ORIGIN Code (IGP > EGP > Incomplete), MED, Path(external over internal) and lowest IP address(RID).
“We Love Oranges AS Oranges Mean Pure Refreshment”
What of the following should be used to summarize the networks 10.150.80.0/23, 10.150.82.0/24, 10.150.83.0/24, and 10.150.84.0/22?
- 10.150.80.0/23, 10.150.82.0/23, and 10.150.84.0/22
- 10.150.80.0/22 and 10.150.84/22
- 10.150.80.0/21
- 10.150.80.0/20
C.
Which of the following best describes route summarization?
- Grouping contiguous addresses to advertise a large Class A network
- Grouping noncontiguous addresses to advertise a larger network
- Grouping contiguous addresses to advertise a larger network
- Grouping Internet addresses
C.
Which OSPF area allows redistribution of external routes while preventing propagation of Type 5 LSAs?
- Area 0
- Stub area
- Not-so-stubby area
- ABR
- Area 1 over a virtual link
C.