exam questions

Exam 300-410 All Questions

View all questions & answers for the 300-410 exam

Exam 300-410 topic 1 question 397 discussion

Actual exam question from Cisco's 300-410
Question #: 397
Topic #: 1
[All 300-410 Questions]



Refer to the exhibit. AS 111 must not be used as a transit AS, but ISP-1 is getting ISP-2 routes from AS 111. Which configuration stops Customer AS from being used as a transit path on ISP-1?

  • A. ip as-path access-list 1 permit.*
  • B. ip as-path access-list 1 permit_111_
  • C. ip as-path access-list 1 permit ^$
  • D. ip as-path access-list 1 permit ^111$
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
HungarianDish_111
Highly Voted 2 years ago
Selected Answer: D
-solution C) if applied on customer edge -solution D) if applied on ISP1 -> in this case it is -from neighbor 192.168.11.111, receive only the routes originated from AS 111 (and no Internet routes) At the end: clear ip bgp x.x.x.x soft in https://community.cisco.com/t5/routing/bgp-using-as-path-filtering/td-p/1251694 https://www.ciscopress.com/articles/article.asp?p=169556
upvoted 16 times
d740f62
1 year, 1 month ago
Makes sense. Very tricky one.
upvoted 2 times
...
...
Keegom
Highly Voted 1 year, 1 month ago
Selected Answer: D
_111$ - match prefixes originating in AS 111 ^111$ - match prefixes originated and sent from AS 111 ^111_ - match prefixes learned from AS 111 _111_ - match prefixes that transited AS 111 Correct answer is D
upvoted 9 times
...
[Removed]
Most Recent 10 months ago
Selected Answer: D
D is correct on customer edge: ^$ on ISP1: ^111$
upvoted 3 times
...
[Removed]
10 months, 1 week ago
Selected Answer: D
D is correct
upvoted 1 times
...
[Removed]
10 months, 2 weeks ago
Selected Answer: D
D is correct
upvoted 1 times
...
Broekie
12 months ago
Selected Answer: C
BGP Filtering Lab 2 (Prevent Transit AS) By default, BGP will advertise all prefixes to EBGP (External BGP) neighbors. This means that if you are multi-homed (connected to two or more ISPs) that you might become a transit AS https://learningnetwork.cisco.com/s/article/BGP-Zero-to-Hero-Part-8-BGP-filtering-methods Filter-list with AS PATH access-list R1(config)#ip as-path access-list 1 permit ^$ R1(config-router)#neighbor 192.168.12.2 filter-list 1 out R1(config-router)#neighbor 192.168.13.3 filter-list 1 out The ^$ regular expression ensures that we will only advertise locally originated prefixes. We will have to apply this filter to both ISPs' neighbors.
upvoted 3 times
...
ZamanR
1 year, 5 months ago
D is correct answer
upvoted 2 times
...
MJM1973
1 year, 6 months ago
D is the Correct Answer. Because the question is about what can be done on the ISP-1 router so that it allows routes that originated in AS 111 ip as-path access-list 1 permit ^111$ - ^ matches beginging of the string 111 - is the string $ matches end of the string
upvoted 3 times
...
aqwsdfghjklp
1 year, 6 months ago
Why not "B"?
upvoted 1 times
...
Muste
1 year, 10 months ago
Selected Answer: D
since the router doing the configuration is the ISP the correct sintax would be *111$
upvoted 3 times
...
Malasxd
2 years ago
Selected Answer: C
C is right. The local routes stills do not have it's own AS in NLRI AS-Path attribute. I am sure it's C. you can check it in BGP table, just look the local routes there and you are going to see none ASN.
upvoted 1 times
HungarianDish_111
2 years ago
Configuration applied on ISP-1: "ip as-path access-list 1 permit ^$" = solution "C" means receive only networks originating in the local AS (AS 100) and no Internet routes. So, no routes from AS111 are received, which is not the intended result.
upvoted 1 times
inteldarvid
1 year, 10 months ago
my friend you are worng , because the configuration is apply in ISP, not customer
upvoted 2 times
...
...
...
Typovy
2 years, 1 month ago
Selected Answer: C
C is correct anwer
upvoted 3 times
...
sasasan12345
2 years, 2 months ago
Selected Answer: D
D is correct.
upvoted 3 times
...
Titini
2 years, 3 months ago
Selected Answer: D
The correct configuration to prevent Customer AS 111 from being used as a transit path on ISP-1 is option D: ip as-path access-list 1 permit ^111$. This configuration creates an access-list named "1" that permits only AS paths that consist of only AS 111. The "^" character matches the beginning of the AS path, the "$" character matches the end of the AS path, and the digits "111" match the AS number. Any other AS path, including those that pass through AS 111, will not match this access-list.
upvoted 4 times
Titini
2 years, 3 months ago
Also the configuration will be applied in ISP1 not customer edge.
upvoted 1 times
...
...
ellen_AA
2 years, 4 months ago
Given answer is correct! ISP-1 should receive from edge router (AS 111) only its locally originated route. To do that using regex, we use ^$.
upvoted 4 times
...
shoo83
2 years, 4 months ago
Answer D Supposed to be -> ip as-path access-list 1 permit ^111$
upvoted 2 times
Hermin
2 years, 3 months ago
The question is refer to configuration stops Customer AS from being used as a transit path on "ISP-1" not on CE
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 ...