350-501 · Question #332
While an engineer deploys a new Cisco device to redistribute routes from OSPF to BGP, they notice that not all OSPF routes are getting advertised into BGP. Which action must the engineer perform so…
The correct answer is D. Configure the keywords internal and external in the redistribution entry. When redistributing OSPF routes into BGP, the redistribute ospf command by default only includes internal OSPF routes. To ensure external OSPF routes (OE1, OE2) are also advertised, the internal and external keywords must be explicitly added to the redistribution entry.
Question
While an engineer deploys a new Cisco device to redistribute routes from OSPF to BGP, they notice that not all OSPF routes are getting advertised into BGP. Which action must the engineer perform so that the device allows O, OIA, OE1, and OE2 OSPF routes into other protocols?
Options
- AConfigure the device to pass only O and E2 routes through it.
- BConfigure the synchronization keyword in the global BGP configuration.
- CConfigure the keyword nssa in the redistribution entry.
- DConfigure the keywords internal and external in the redistribution entry.
How the community answered
(23 responses)- A4% (1)
- B9% (2)
- C4% (1)
- D83% (19)
Why each option
When redistributing OSPF routes into BGP, the `redistribute ospf` command by default only includes internal OSPF routes. To ensure external OSPF routes (OE1, OE2) are also advertised, the `internal` and `external` keywords must be explicitly added to the redistribution entry.
This option proposes to pass only O and E2 routes, which does not meet the requirement to include OIA and OE1 routes, and it misrepresents the redistribution mechanism.
The `synchronization` keyword in BGP relates to ensuring iBGP learned routes are present in the IGP before being advertised to eBGP. It has no bearing on which OSPF route types are initially redistributed into BGP.
The `nssa` keyword is used in OSPF area configuration to designate a Not So Stubby Area and is not a parameter for controlling route types during the `redistribute ospf` process into another protocol.
By default, when OSPF routes are redistributed into another routing protocol like BGP, only intra-area (O) and inter-area (OIA) OSPF routes are included. To ensure OSPF external type 1 (OE1) and external type 2 (OE2) routes are also advertised, the `internal` and `external` keywords must be explicitly configured in the redistribution entry, typically using `redistribute ospf <process-id> match internal external`.
Concept tested: OSPF route redistribution to BGP
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_bgp/configuration/xe-3s/irg-xe-3s-book/bgp-redist-opt.html
Topics
Community Discussion
No community discussion yet for this question.