exam questions

Exam 350-501 All Questions

View all questions & answers for the 350-501 exam

Exam 350-501 topic 1 question 272 discussion

Actual exam question from Cisco's 350-501
Question #: 272
Topic #: 1
[All 350-501 Questions]


Refer to the exhibit. An ISP provides shared VoIP Extranet services to a customer in VRF-100 with these settings:
✑ The VoIP services are hosted in the 198.19.100.0/24 space.
✑ The customer has been assigned the 198.18.1.0/29 IP address block.
✑ VRF-100 is assigned import and export route target 65010:100.
Which configuration must the engineer apply to PE-1 to provision VRF-100 and provide access to the shared services?

  • A. vrf definition VRF-100 rd 172.17.255.1:100 ! address-family ipv4 export map VRF-100-EXPORT import map VRF-100-IMPORT exit-address-family ! route-map VRF-100-EXPORT permit 10 match ip address prefix-list VRF-100-ALLOWED-EXPORT set extcommunity rt 65010:100 65010:2999 route-map VRF-100-EXPORT permit 20 set extcommunity rt 65010:100 ! route-map VRF-100-IMPORT permit 10 match extcommunity VRF-100-RT SHARED-SERVICES ! ip extcommunity-list standard SHARED-SERVICES permit rt 65010:1999 ip extcommunity-list standard VRF-100-RT permit rt 65010:100 ip prefix-list VRF-100-ALLOWED-EXPORT seq 5 permit 198.18.1.0/29
  • B. vrf definition VRF-100 rd 172.17.255.1:100 ! address-family ipv4 export map VRF-100-EXPORT route-target import 65010:100 route-target import 65010:2999 exit-address-family ! route-map VRF-100-EXPORT permit 10 match ip address prefix-list VRF-100-ALLOWED-EXPORT set extcommunity rt 65010:100 65010:1999 route-map VRF-100-EXPORT permit 20 set extcommunity rt 65010:100 ! ip prefix-list VRF-100-ALLOWED-EXPORT seq 5 permit 198.18.1.0/29
  • C. vrf definition VRF-100 rd 172.17.255.1:100 ! address-family ipv4 export map VRF-100-EXPORT route-target import 65010:100 route-target import 65010:1999 exit address-family ! route-map VRF-100-EXPORT permit 10 match ip address prefix-list VRF-100-ALLOWED-EXPORT set extcommunity rt 65010:100 65010:2999 route-map VRF-100-EXPORT permit 20 set extcommunity r 65010:100 ! ip prefix-list VRF-100-ALLOWED-EXPORT seq 5 permit 198.18.1.0/29
  • D. vrf definition VRF-100 rd 172.17.255.1:100 ! address-family ipv4 route-target export 65010:100 route-target export 65010:1999 route-target import 65010:100 route-target import 65010:2999 exit-address-family
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ccie_race
Highly Voted 2 years, 6 months ago
[Option D] export and import opposite to PE3 vrf definition VRF-100 rd 172.17.255.1:100 ! address-family ipv4 route-target export 65010:100 route-target export 65010:1999 route-target import 65010:100 route-target import 65010:2999 exit-address-family
upvoted 6 times
...
cname404
Highly Voted 2 years, 5 months ago
B also seems to be OK, vrf definition VRF-100 rd 172.17.255.1:100 address-family ipv4 export map VRF-100-EXPORT route-target import 65010:100 route-target import 65010:2999 exit-address-family route-map VRF-100-EXPORT permit 10 match ip address prefix-list VRF-100-ALLOWED-EXPORT set extcommunity rt 65010:100 65010:1999 route-map RF-100-EXPORT permit 20 set extcommunity rt 65010:100 ip prefix-list VRF-100-ALLOWED-EXPORT seq 5 permit 198.18.1.0/29 and it adds the shared community only on the 198.18.1.0/29 prefix:
upvoted 5 times
...
AlirezaNetWorld
Most Recent 3 months, 3 weeks ago
Selected Answer: D
D is the most appropriate answer to address this need.
upvoted 1 times
...
rans3001
10 months, 2 weeks ago
Selected Answer: D
We have provide access to the shared services from the VRF100, not saying anything about specific access from 198.18.1.0/29, so should be D, not B.
upvoted 1 times
...
HARDCCNP
1 year, 3 months ago
Selected Answer: D
D. Acho que está correto.
upvoted 2 times
...
Martiian
1 year, 5 months ago
Selected Answer: B
Both B and D work. B is more complete, as it specifics the host network trying to reach shared services, as such... i will go with B.
upvoted 1 times
...
mironto
1 year, 9 months ago
Selected Answer: D
import/export map does not work without route-target import/export. It just refines what gets imported from route-target. https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/mpls/command/mp-cr-book/mp-e1.html#wp2441555563 The import map command associates a route map with the specified VRF. You can use a route map to filter routes that are eligible for import into a VRF, based on the route target extended community attributes of the route. The route map might deny access to selected routes from a community that is on the import list. The import map command does not replace the need for a route-target import in the VRF configuration. You use the import map command to further filter prefixes that match a route-target import statement in that VRF.
upvoted 3 times
rans3001
10 months, 2 weeks ago
Only the import-map does not work without route-target import
upvoted 1 times
...
cocopost
1 year, 1 month ago
I noticed that the import map in B does not account for longer prefixes. It should have had the ge 29 keyword like so: ip prefix-list VRF-100-ALLOWED-EXPORT seq 5 permit 198.18.1.0/29 ge 29. for that reason, I upvote D
upvoted 1 times
...
karen1337
1 year, 7 months ago
While everything you said is correct, answer B doesn't use an import map. Your link shows that export map CAN be used by itself, so B still works.
upvoted 1 times
...
...
thejag
1 year, 11 months ago
Selected Answer: B
Although it doesn't ask us explicitly to only send the 198.18.1.0/29 route to the VoIP Shared Services VRF, it makes sense to do it which we see in B. I have changed my choice to B from D. D will make the connectivity work but will also add other routes into the Shared Services VRF which would not be advised.
upvoted 1 times
...
thejag
1 year, 11 months ago
C. vrf definition VRF-100 rd 172.17.255.1:100 ! address-family ipv4 export map VRF-100-EXPORT route-target import 65010:100 route-target import 65010:1999 exit address-family ! route-map VRF-100-EXPORT permit 10 match ip address prefix-list VRF-100-ALLOWED-EXPORT set extcommunity rt 65010:100 65010:2999 route-map VRF-100-EXPORT permit 20 set extcommunity r 65010:100 ! ip prefix-list VRF-100-ALLOWED-EXPORT seq 5 permit 198.18.1.0/29 D. vrf definition VRF-100 rd 172.17.255.1:100 ! address-family ipv4 route-target export 65010:100 route-target export 65010:1999 route-target import 65010:100 route-target import 65010:2999 exit-address-family
upvoted 1 times
...
thejag
1 year, 11 months ago
B. vrf definition VRF-100 rd 172.17.255.1:100 ! address-family ipv4 export map VRF-100-EXPORT route-target import 65010:100 route-target import 65010:2999 exit-address-family ! route-map VRF-100-EXPORT permit 10 match ip address prefix-list VRF-100-ALLOWED-EXPORT set extcommunity rt 65010:100 65010:1999 route-map VRF-100-EXPORT permit 20 set extcommunity rt 65010:100 ! ip prefix-list VRF-100-ALLOWED-EXPORT seq 5 permit 198.18.1.0/29
upvoted 2 times
...
thejag
1 year, 11 months ago
A. vrf definition VRF-100 rd 172.17.255.1:100 ! address-family ipv4 export map VRF-100-EXPORT import map VRF-100-IMPORT exit-address-family ! route-map VRF-100-EXPORT permit 10 match ip address prefix-list VRF-100-ALLOWED-EXPORT set extcommunity rt 65010:100 65010:2999 route-map VRF-100-EXPORT permit 20 set extcommunity rt 65010:100 ! route-map VRF-100-IMPORT permit 10 match extcommunity VRF-100-RT SHARED-SERVICES ! ip extcommunity-list standard SHARED-SERVICES permit rt 65010:1999 ip extcommunity-list standard VRF-100-RT permit rt 65010:100 ip prefix-list VRF-100-ALLOWED-EXPORT seq 5 permit 198.18.1.0/29
upvoted 1 times
...
1234512345
2 years, 1 month ago
I am stuck here: B - is correct according to the Export Maps configuration and just for 198.18.1.0/29. D - is correct according to the rt export and import policy. Any opinion ? :)
upvoted 1 times
...
mr_warrior
2 years, 2 months ago
Selected Answer: B
B is more accurate and takes into account the mentioned subnet 198.18.1.0/29
upvoted 1 times
...
thejag
2 years, 2 months ago
Selected Answer: D
D is CORRECT ccie_race explains it well, we need export and import opposite to PE3. Also question tells us: "VRF-100 is assigned import and export route target 65010:100." which is only configured on D
upvoted 2 times
...
Samarjit1983
2 years, 3 months ago
Selected Answer: B
B and D both will provide access but D will also provide access to other customer prefixes which are not in int the prefix range which are provided to the customer
upvoted 4 times
cocopost
1 year, 1 month ago
And I would like to point out that the prefix list in Answer B: doesnt account for longer prefixes. ip prefix-list VRF-100-ALLOWED-EXPORT seq 5 permit 198.18.1.0/29 What if the customer published 198.18.1.4/30 into BGP? 198.18.1.1/32?. The prefix would not match and would NOT export RT 65010:1999 The prefix list is missing "ge 29" attribute to permit longer matches. ip prefix-list VRF-100-ALLOWED-EXPORT seq 5 permit 198.18.1.0/29 ge 29 for that reason I vote D and not B
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago