R1 must block incoming BGP prefixes that are subnets of 172.16.0.0/16 with mask lengths less than or equal to /23. Which configuration on R1 accomplishes this?
Choose an answer
Tap an option to check your answer.
Correct answer: ip prefix-list PL-1 deny 172.16.0.0/16 le 23 ip prefix-list PL-1 permit 0.0.0.0/0 le 32 ! router bgp 100 neighbor 192.168.100.2 remote-as 200 neighbor 192.168.100.2 prefix-list PL-1 in.
Why this is the answer
The correct option uses le 23 to match prefixes that are subnets of 172.16.0.0/16 and have a mask length less than or equal to /23. This accurately filters out the specified range. The permit 0.0.0.0/0 le 32 statement at the end is crucial; prefix-lists have an implicit deny at the end, so this explicitly permits all other prefixes not matched by the deny statement. The first incorrect option uses ge 23, which would match prefixes with mask lengths greater than or equal to /23, the opposite of the requirement. The third incorrect option lacks the le or ge keywords, meaning it would only match the exact prefix 172.16.0.0/16, not its subnets. The fourth incorrect option uses an access-list with distribute-list, which is less efficient and flexible for BGP prefix filtering than a prefix-list, and the wildcard mask 0.0.254.255 does not precisely match the required subnet range and mask length criteria.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed