Q33Layer 3 Technologies
Refer to the exhibit. OSPF is redistributed into BGP, but not every OSPF route is being redistributed into BGP. Which action resolves this issue?
← → navigate · a answer
Community votes
Discussion · 24
29
The material from cisco says first that: "If you configure the redistribution of OSPF into BGP without keywords, only OSPF intra-area and inter-area routes are redistributed into BGP, by default."
But then it says that in order to distribute ONLY External Type 1 and Type 2 routes, you use the "external" keyword.
So based on that reasoning, I am going with C. Include the word internal external in the redistribute command
https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/5242-bgp-ospf-redis.html
C 6
Selected Answer: C
C is correct
Redistribution of OSPF Internal and External Routes into BGP: In this case, all OSPF routes are redistributed into BGP by using BOTH the internal and external keywords. Reference:
https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/5242-bgp-ospf-redis.html
C 5
Selected Answer: C
C, you need internal and external. if you only specify external, it will only advertise external routes and you'll loose the internal ones
C 4
Selected Answer: C
By default, when redistributing OSPF routes into BGP, only internal routes are included.
If you want to redistribute the external route too, redistribute with the command " redistribute ospf <process_id> match internal external".
BTW: OSPF Process ID is available <1-65535>.
A 4
Selected Answer: A
No need for "internal' keyword
3
Shame you didn't lab it and figure out the answer instead of being a bookworm.
I'm ashamed to say it, but this is the quality of the future cisco network engineers.
So many said the answer is C and you're all wrong and I've been a CCNP for years.
Every question if possible I try and lab and confirm the answer.
This si why we're going down the automation route because of LAZY network engineers.
we have free emulators from GNS3, eve-ng and lots of paid ones and we have people on here guessing and not bettering themselves by labbing.
3
All this confusion... just type in:
#router bgp 65500
#redistribute ospf 1 external
now view the output of "show ip protocols" and see ONLY external routes are redistributed
the answer is C
3
I just lab it and the thing is, if you run the command for the first time with the matching external key word only, it only redistributes the external routes. But if you use the redistribute ospf # with no keyword it will only pass the internal routes, and after doing this you use the command again with the match external key word only, you them will get the external also and it wont remove the internal ones. So if you want to run the command for the first time you need to use both, internal and external.
C 3
Selected Answer: C
C is correct
C 3
Selected Answer: C
C is correct
C 3
Selected Answer: C
C it is, quick lab test: redistribute OSPF internal & external routes to BGP under default VRF example:
router bgp 65006
address-family ipv4
redistribute ospf match internal external
..... that will be saved/converted to the router configuration as "redistribute ospf 1 match internal external 1 external 2"
2
May bad. I labbed it, you only need to add external. A is also correct.
C 2
Selected Answer: C
A will only redistribute external
C will redistribute internal & external
2
When redistributing OSPF routes into BGP, adding the word "external" in the redistribute command usually fixes the issue when not all OSPF routes are being sent into BGP. This is because the "external" keyword tells BGP to redistribute OSPF external routes (routes from other autonomous systems) into BGP. If you leave out "external," only OSPF internal routes (intra-area and inter-area routes) are redistributed by default.
Option B and Option D suggest using a route-map to control the redistribution of OSPF external routes based on specific criteria defined in an access list or prefix list. While these are valid ways to control redistribution, they do not directly solve the problem of missing OSPF routes in BGP. Option C, "include the word internal external in the redistribute command," is not a standard syntax for redistribution and is not typically used in OSPF-to-BGP redistribution.
So, including the "external" keyword in the redistribute command is the most direct way to make sure that OSPF external routes are redistributed into BGP.
1
If the command redistribute ospf is there and the administrator includes external the new line include internal and external 1 external 2, if the command doesn't exists when you apply the command only appears external 1 external 2 if the command already exists the new line only needs the external route for distribution. I probe it on GNS3
1
Even I labbed it. The result is C.
There are some experienced CCNPs in this forum who say vehemently that it is A. They seem to have labbed it too. Just a small question: can the result be platform- and IOS dependent? I used C7200-ADVENTERPRISEK9-M under GNS3.
1
c
https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/5242-bgp-ospf-redis.html
1
Both A and C are correct. Either with "external" only or with "internal external", both would be expanded to " redistribute ospf 1 match internal external 1 external 2". This is a bad question unless both A and C would be considered right
1
The question says that all routes need to be redistributed, so C is the answer since A would only redistribute external routes and leave out the internal ones.
1
Only A is correct
Redistributing routes from OSPF to BGP does not include OSPF external routes by default match external [1 | 2] is required to redistribute OSPF external routes.
1
Actually just labed it and the answer is C :)
1
i labbed this and C worked for me
1
I think this was just a trick to get some people to lab it. He did not give any other answer and the explanation was already valid.
C 1
Selected Answer: C
I mean even without labbing this, I know that by default, if no command is specified, ospf will only redistribute internal routes. If you want it to redistribute external, then you must use the command "external" and if you want both, now you have to specify both "internal external".