exam questions

Exam 350-501 All Questions

View all questions & answers for the 350-501 exam

Exam 350-501 topic 1 question 112 discussion

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


Refer to the exhibit. An engineer is reviewing the BGP configuration. Which routes must be advertised to 10.10.10.1?

  • A. Local routes are permitted, and routes from other ASNs are denied.
  • B. All routes whether local or from other ASNs are denied.
  • C. Local routes are denied, and routes from other ASNs are permitted.
  • D. All routes whether local or from other ASNs are permitted.
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
craterman
Highly Voted 3 years, 3 months ago
Selected Answer: D
D is correct. There is distribute list configured for neighbor. Where do you see any configured access-lists? AS-PATH filtering configures by "neighbor <IP address> filter-list <acl-number> <in | out>"
upvoted 12 times
EdgardoAC
3 years, 3 months ago
What a trick question, agree D is correct. Because an as-path ACL is used, the correct way to filter is using the neighbor FILTER-LIST command. Because this example configuration uses the neighbor DISTRIBUTE-LIST command, the as-path filter does not work and does not filter anything.
upvoted 3 times
...
...
Wrecking_ball
Highly Voted 3 years, 3 months ago
Selected Answer: A
^$ matches an empty AS PATH so it will match all prefixes from the local AS https://networklessons.com/bgp/bgp-regular-expressions-examples
upvoted 8 times
...
Abbribas
Most Recent 8 months, 3 weeks ago
Selected Answer: A
A is correct: The BGP configuration in the exhibit includes the use of an AS-path access list, which influences which routes are advertised to the specified neighbor (10.10.10.1). Here's a breakdown: The access list ip as-path access-list 1 permit ^$ allows routes with an empty AS path, which means it only permits locally originated routes. The command neighbor 10.10.10.1 distribute-list 1 out applies this access list to outbound updates to the neighbor 10.10.10.1, meaning only routes matching the criteria of access list 1 will be advertised. Based on this configuration: Local routes (those originating in the current AS) are permitted. Routes from other ASNs (which have non-empty AS paths) are denied. Thus, the correct answer is A. Local routes are permitted, and routes from other ASNs are denied.
upvoted 2 times
...
HARDCCNP
1 year ago
Selected Answer: A
^$ matches an empty AS PATH so it will match all prefixes from the local AS @Wrecking_ball
upvoted 1 times
...
sushil_bhattacharjee
1 year, 1 month ago
Selected Answer: A
neighbor 10.10.10.1 distribute-list 1 out : You’re applying an AS-path access list (numbered 1) as an outbound filter for the neighbor. The access list permits routes with an empty AS-path (i.e., originating from your AS). ip as-path access-list 1 permit ^$ : Defines an AS-path access-list. In this case, access-list number 1 permits AS paths that match the regular expression "^$", which effectively matches routes originating from the local AS (AS 65001). This access-list is used by the distribute-list to control outbound route advertisements.
upvoted 2 times
...
DUsoo
2 years, 2 months ago
Selected Answer: D
D is correct
upvoted 1 times
...
DUsoo
2 years, 2 months ago
D- is correct
upvoted 1 times
...
Samarjit1983
2 years, 4 months ago
Autonomous system path filters can be configured with the ip as-path access-list and neighbor filter-list commands. The access-list (IP standard) and access-list (IP extended) commands can be used to configure standard and extended access lists for the filtering of advertisements. The route-map (IP) command can be used to filter advertisements. Route maps may be configured with autonomous system filters, prefix filters, access lists and distribute lists. https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_bgp/command/irg-cr-book/bgp-m1.html#wp2056491650
upvoted 1 times
...
Huy01
3 years, 1 month ago
based on IOS regex, option A
upvoted 2 times
...
mkamau
3 years, 1 month ago
D is the correct answer , labbed it out and distribute-list doesnt work with as-path matching, only access-list or prefixes.
upvoted 6 times
...
joanfou
3 years, 3 months ago
No , my bad is not A
upvoted 1 times
...
joanfou
3 years, 3 months ago
A is correct Router1(config)#ip as-path access-list 15 permit ^$ Router1(config)#router bgp 65500 Router1(config-router)#neighbor 192.168.1.5 remote-as 65520 Router1(config-router)#neighbor 192.168.1.5 filter-list 15 out In this case, the filter permits only routes that have an empty AS Path, meaning that the routes must have originated locally within this AS. This filter suppresses any external routing information when forwarding its routing table. So the external networks don't know about any downstream networks that can be reached through this router.
upvoted 4 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