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>"
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.
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.
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.
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
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
...
This section is not available anymore. Please use the main Exam Page.350-501 Exam Questions
Log in to ExamTopics
Sign in:
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.
craterman
Highly Voted 3 years, 3 months agoEdgardoAC
3 years, 3 months agoWrecking_ball
Highly Voted 3 years, 3 months agoAbbribas
Most Recent 8 months, 3 weeks agoHARDCCNP
1 year agosushil_bhattacharjee
1 year, 1 month agoDUsoo
2 years, 2 months agoDUsoo
2 years, 2 months agoSamarjit1983
2 years, 4 months agoHuy01
3 years, 1 month agomkamau
3 years, 1 month agojoanfou
3 years, 3 months agojoanfou
3 years, 3 months ago